SPECS: nautilus-python.spec - updated to 0.5.1 - added TODO - removed -dir....

megabajt megabajt at pld-linux.org
Tue Oct 7 22:07:27 CEST 2008


Author: megabajt                     Date: Tue Oct  7 20:07:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.5.1
- added TODO
- removed -dir.patch and -api.patch
- added -libpython-soname.patch to make it use versioned libpython library

---- Files affected:
SPECS:
   nautilus-python.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/nautilus-python.spec
diff -u SPECS/nautilus-python.spec:1.5 SPECS/nautilus-python.spec:1.6
--- SPECS/nautilus-python.spec:1.5	Fri Oct  3 19:45:12 2008
+++ SPECS/nautilus-python.spec	Tue Oct  7 22:07:22 2008
@@ -1,23 +1,26 @@
 # $Revision$, $Date$
+# TODO:
+# - package examples
+#
 Summary:	Python bindings for GNOME 2's nautilus
 Summary(pl.UTF-8):	Wiązania Pythona dla nautilusa z GNOME 2
 Name:		nautilus-python
-Version:	0.5.0
-Release:	2
-License:	LGPL
+Version:	0.5.1
+Release:	1
+License:	GPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/0.5/%{name}-%{version}.tar.bz2
-# Source0-md5:	f46cd826d74f62ef7bba5b258c1d415a
-Patch0:		%{name}-dir.patch
-Patch1:		%{name}-api.patch
+# Source0-md5:	83136937cdb790a2ee5823e96de20acf
+Patch0:		%{name}-libpython-soname.patch
 URL:		http://www.gnome.org/
-BuildRequires:	nautilus-devel >= 2.8
+BuildRequires:	nautilus-devel >= 2.24.0
+BuildRequires:	pkgconfig
 BuildRequires:	python-devel
 BuildRequires:	python-gnome-devel
-BuildRequires:	python-gnome-vfs >= 2.12.0
 BuildRequires:	python-pygtk-devel
 BuildRequires:	sed >= 4.0
 Requires:	python-gnome-gconf
+Requires:	python-pygtk-gtk
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,7 +34,7 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+
 sed -i 's/codegen.py/codegen.pyc/' configure
 
 %build
@@ -43,10 +46,10 @@
 install -d $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/python
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT \
-	NAUTILUS_LIBDIR=%{_libdir}
+	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus{-python,/extensions-2.0}/*.la
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,8 +57,9 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%{_libdir}/nautilus-python
-%attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/*.so
+%dir %{_libdir}/nautilus-python
+%attr(755,root,root) %{_libdir}/nautilus-python/nautilus.so
+%attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-python.so
 %dir %{_libdir}/nautilus/extensions-2.0/python
 %{_pkgconfigdir}/nautilus-python.pc
 
@@ -65,6 +69,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008/10/07 20:07:22  megabajt
+- updated to 0.5.1
+- added TODO
+- removed -dir.patch and -api.patch
+- added -libpython-soname.patch to make it use versioned libpython library
+
 Revision 1.5  2008/10/03 17:45:12  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nautilus-python.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list