Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37708076
en ru br
ALT Linux repos
S:1.0.0-alt1.1
5.0: 0.12-alt1
4.1: 0.10-alt0.M41.1

Group :: System/Libraries
RPM: libgoocanvas

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 0.10
%define oname goocanvas
%def_disable static
%define _gtk_docdir %_datadir/gtk-doc/html

Name: lib%oname
Version: %ver_major
Release: alt0.M41.1
Summary: A new canvas widget for GTK+ that uses cairo for drawing

Group: System/Libraries
License: LGPLv2+
Url: http://sourceforge.net/projects/%oname
Source: %gnome_ftp/%name/%ver_major/%oname-%version.tar.bz2

BuildPreReq: rpm-build-gnome
# From configure.in
BuildPreReq: libgtk+2-devel >= 2.10.0
BuildPreReq: glib2-devel >= 2.10.0
BuildPreReq: libcairo-devel >= 1.4.0

# Automatically added by buildreq on Sun Aug 10 2008

BuildRequires: gcc-c++ gtk-doc

BuildRequires: rpm-build-compat >= 0.95

%description
GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
drawing. It has a model/view split, and uses interfaces for canvas items and
views, so you can easily turn any application object into canvas items.

%package devel
Group: Development/C
Summary: A new canvas widget for GTK+ that uses cairo for drawing
Requires: %name = %version-%release

%description devel
GooCanvas is a new canvas widget for GTK+ that uses the cairo 2D library for
drawing. It has a model/view split, and uses interfaces for canvas items and
views, so you can easily turn any application object into canvas items.

These are the files used for development.

%prep
%setup -q -n %oname-%version

%build
%configure %{subst_enable static}
%make_build


%install
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang %oname

%post -p %post_ldconfig
%postun -p %post_ldconfig

%files -f %oname.lang
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%_libdir/%name.so.*

%files devel
%_includedir/%oname-1.0
%_libdir/%name.so
%_pkgconfigdir/*.pc
%doc %_gtk_docdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin