]> git.pld-linux.org Git - packages/python-pygtkglext.git/commitdiff
- updated deps auto/th/python-pygtkglext-1_1_0-2
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Mon, 3 Sep 2007 12:44:12 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added examples subpackage

Changed files:
    python-pygtkglext.spec -> 1.17

python-pygtkglext.spec

index b2688cb1e5ed4fde8217495e9033d5bb9ed84d43..5b9d0f1d38dadac9b8be8c678f28caadea2a01bd 100644 (file)
@@ -8,13 +8,15 @@ Group:                Libraries/Python
 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
@@ -32,7 +34,7 @@ Summary:      Development files for Python bindings for GtkGLExt
 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.
@@ -40,22 +42,39 @@ Development files for Python bindings for GtkGLExt.
 %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
@@ -73,3 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_datadir}/pygtk/2.0/defs/*.defs
 %{_pkgconfigdir}/*.pc
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
This page took 0.057316 seconds and 4 git commands to generate.