SPECS: goocanvas.spec - updated to 0.13 - added examples subpackage
megabajt
megabajt at pld-linux.org
Fri Feb 13 11:12:45 CET 2009
Author: megabajt Date: Fri Feb 13 10:12:45 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.13
- added examples subpackage
---- Files affected:
SPECS:
goocanvas.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/goocanvas.spec
diff -u SPECS/goocanvas.spec:1.10 SPECS/goocanvas.spec:1.11
--- SPECS/goocanvas.spec:1.10 Thu Nov 13 19:34:52 2008
+++ SPECS/goocanvas.spec Fri Feb 13 11:12:40 2009
@@ -2,16 +2,17 @@
Summary: Cairo/GTK+ Canvas
Summary(pl.UTF-8): Płótno Cairo/GTK+
Name: goocanvas
-Version: 0.12
+Version: 0.13
Release: 1
License: LGPL v2
Group: X11/Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/goocanvas/0.12/goocanvas-0.12.tar.bz2
-# Source0-md5: 5c66fc1d494d5612539464167e3f35bc
-URL: http://sourceforge.net/projects/goocanvas/
+Source0: http://ftp.gnome.org/pub/GNOME/sources/goocanvas/0.13/%{name}-%{version}.tar.bz2
+# Source0-md5: 0f10b2dfb760e03b2b5cf945ad05dbd6
+URL: http://live.gnome.org/GooCanvas
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.7
-BuildRequires: cairo-devel
+BuildRequires: cairo-devel >= 1.4.0
+BuildRequires: gettext-devel
BuildRequires: glib2-devel >= 1:2.10.0
BuildRequires: gtk+2-devel >= 2:2.10.0
BuildRequires: gtk-doc >= 1.8
@@ -38,7 +39,7 @@
Summary(pl.UTF-8): Pliki nagłówkowe goocanvas
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: cairo-devel
+Requires: cairo-devel >= 1.4.0
Requires: glib2-devel >= 1:2.10.0
Requires: gtk+2-devel >= 2:2.10.0
@@ -72,6 +73,17 @@
%description apidocs -l pl.UTF-8
Dokumentacja API goocanvas.
+%package examples
+Summary: Example programs using goocanvas library
+Summary(pl.UTF-8): Przykładowe programy używające biblioteki goocanvas
+Group: X11/Development/Libraries
+
+%description examples
+Example programs using goocanvas library.
+
+%description examples -l pl.UTF-8
+Przykładowe programy używające biblioteki goocanvas.
+
%prep
%setup -q
@@ -88,10 +100,17 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# prepare and install examples
+%{__make} clean -C demo
+rm -rf demo/.deps
+rm -f demo/Makefile*
+cp demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%find_lang %{name}
%clean
@@ -121,12 +140,20 @@
%defattr(644,root,root,755)
%{_gtkdocdir}/goocanvas
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2009/02/13 10:12:40 megabajt
+- updated to 0.13
+- added examples subpackage
+
Revision 1.10 2008/11/13 18:34:52 arekm
- up to 0.12
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/goocanvas.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list