]> git.pld-linux.org Git - packages/python-pygtk.git/commitdiff
Autocreating of PyGTK.pth.
authorwrobell <wrobell@pld-linux.org>
Sun, 18 Jul 1999 12:49:29 +0000 (12:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Upgrade to 0.6.1 of pygtk.

Changed files:
    python-pygtk.spec -> 1.8

python-pygtk.spec

index ca7f33a0e4cd9fabdf704d03413297414bac3d96..06129183daa91efa8b6daa7d859a4162801b511f 100644 (file)
@@ -1,27 +1,29 @@
-Summary: Python -> GTK interface 
-Name: python-pygtk
-Version: 0.5.9
-Release: 1
-Copyright: distributable
-Packager: Oliver Andrich <oli@andrich.net>
-Group: Development/Languages/Python
-Source0: pygtk-0.5.9.tar.gz 
-Source1: PyGTK.pth
-Icon: linux-python-paint-icon.gif
-BuildRoot:     /tmp/%{name}-%{version}-root
-Requires: python >= 1.5, gtk+ >= 1.1.9, imlib >= 1.8
+Summary:     Interfejs GTK+ dla jêzyka Python
+Summary(pl): GTK+ interface for Python language
+Name:        python-pygtk
+Version:     0.6.1
+Release:     1
+Copyright:   distributable
+Group:       Development/Languages/Python
+Source:      pygtk-%{version}.tar.gz 
+#Icon:        linux-python-paint-icon.gif
+BuildRoot:      /tmp/%{name}-%{version}-root
+Requires:    python >= 1.5, gtk+ >= 1.2.1, imlib >= 1.8
 
 %description
-This archive contains modules that allow you to use gtk in Python
+This archive contains modules that allow you to use gtk+ in Python
 programs.  At present, it is a fairly complete set of bindings.
 Despite the low version number, this peice of software is quite
 useful, and is usable to write moderately complex programs.  (see the
 examples directory for some examples of the simpler programs you could
 write).
 
+%description -l pl
+#
+
                                                
 %prep
-%setup -n pygtk-0.5.9
+%setup -n pygtk-%{version}
 
 %build
 ./configure %{_target_platform}
@@ -30,14 +32,19 @@ make OPT="$RPM_OPT_FLAGS"
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK
-install -m 644 $RPM_SOURCE_DIR/PyGTK.pth $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages
+echo %{_libdir}/python1.5/site-packages/PyGTK \
+       > $RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK.pth
 make pyexecdir=$RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK \
        pythondir=$RPM_BUILD_ROOT%{_libdir}/python1.5/site-packages/PyGTK install
+       
+       
+gzip -9nf COPYING ChangeLog README
+tar czf examples.tar.gz examples
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%doc COPYING Changelog README examples
+%doc {COPYING,ChangeLog,README,examples.tar}.gz
 %{_libdir}/python1.5/site-packages/PyGTK.pth
 %{_libdir}/python1.5/site-packages/PyGTK
This page took 0.032821 seconds and 4 git commands to generate.