Author: megabajt Date: Mon Sep 3 12:44:17 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - updated deps - added examples subpackage
---- Files affected: SPECS: python-pygtkglext.spec (1.16 -> 1.17) ---- Diffs: ================================================================ Index: SPECS/python-pygtkglext.spec diff -u SPECS/python-pygtkglext.spec:1.16 SPECS/python-pygtkglext.spec:1.17 --- SPECS/python-pygtkglext.spec:1.16 Sun Sep 2 23:32:37 2007 +++ SPECS/python-pygtkglext.spec Mon Sep 3 14:44:12 2007 @@ -9,13 +9,15 @@ Source0: http://dl.sourceforge.net/gtkglext/pygtkglext-%{version}.tar.bz2 # Source0-md5: 720b421d3b8514a40189b285dd91de57 URL: http://gtkglext.sourceforge.net/ -BuildRequires: automake +BuildRequires: autoconf >= 2.54 +BuildRequires: automake >= 1:1.7 BuildRequires: gtkglext-devel >= 1.0.0 +BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: python-devel >= 2.2 -BuildRequires: python-pygtk-devel >= 2.0.0 +BuildRequires: python-pygtk-devel >= 2:2.6.0 %pyrequires_eq python-modules -Requires: python-pygtk-gtk >= 2.0.0 +Requires: python-pygtk-gtk >= 2:2.6.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautoreqdep libGL.so.1 libGLU.so.1 @@ -33,7 +35,7 @@ Summary(pl.UTF-8): Pliki programistyczne wiązań Pythona do GtkGLExt Group: Development/Languages/Python Requires: %{name} = %{version}-%{release} -Requires: python-pygtk-devel >= 2.0.0 +Requires: python-pygtk-devel >= 2:2.6.0 %description devel Development files for Python bindings for GtkGLExt. @@ -41,22 +43,39 @@ %description devel -l pl.UTF-8 Pliki programistyczne wiązań Pythona do GtkGLExt. +%package examples +Summary: Example programs for PyGtkGLExt +Summary(pl.UTF-8): Przykładowe programy do PyGtkGLExt +Group: Development/Languages/Python + +%description examples +Example programs for PyGtkGLExt. + +%description examples -l pl.UTF-8 +Przykładowe programy do PyGtkGLExt. + %prep %setup -q -n pygtkglext-%{version} %build cp -f /usr/share/automake/config.* . +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure - %{__make} %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ pythondir=%{py_sitedir} +cp examples/*.{png,py} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + rm -f $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/gtk/g[dt]kgl/*.{la,py} %clean @@ -75,12 +94,20 @@ %{_datadir}/pygtk/2.0/defs/*.defs %{_pkgconfigdir}/*.pc +%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 <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.17 2007/09/03 12:44:12 megabajt +- updated deps +- added examples subpackage + Revision 1.16 2007/09/02 21:32:37 aflinta - make it finally working (thx Megabajt), rel 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pygtkglext.spec?r1=1.16&r2=1.17&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
