packages: nautilus-python/nautilus-python.spec - updated to 1.0 - new nauti...

lisu lisu at pld-linux.org
Thu Apr 21 21:35:03 CEST 2011


Author: lisu                         Date: Thu Apr 21 19:35:03 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.0
- new nautilus extensions dir
- according to NEWS, extensions are now stored in /usr/share/nautilus-python/extensions and should be arch-independent
- updated deps

---- Files affected:
packages/nautilus-python:
   nautilus-python.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/nautilus-python/nautilus-python.spec
diff -u packages/nautilus-python/nautilus-python.spec:1.13 packages/nautilus-python/nautilus-python.spec:1.14
--- packages/nautilus-python/nautilus-python.spec:1.13	Sat Jan 22 20:43:38 2011
+++ packages/nautilus-python/nautilus-python.spec	Thu Apr 21 21:34:58 2011
@@ -2,14 +2,14 @@
 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.6.1
-Release:	4
+Version:	1.0
+Release:	1
 License:	GPL v2+
 Group:		Libraries
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/0.6/%{name}-%{version}.tar.bz2
-# Source0-md5:	fa56dadfa98b7b3d29408d57f01756a5
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/nautilus-python/1.0/%{name}-%{version}.tar.bz2
+# Source0-md5:	64ceb67b6b167c2d17ac46f23ec70828
 URL:		http://www.gnome.org/
-BuildRequires:	nautilus-devel >= 2.24.0
+BuildRequires:	nautilus-devel >= 3.0.0
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
 BuildRequires:	python-gnome-devel
@@ -42,7 +42,7 @@
 %prep
 %setup -q
 
-sed -i 's/codegen.py/codegen.pyc/' configure
+%{__sed} -i 's/codegen.py/codegen.pyc/' configure
 
 %build
 %configure
@@ -50,7 +50,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/python
+install -d $RPM_BUILD_ROOT%{_datadir}/nautilus-python/extensions
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
@@ -60,10 +60,10 @@
 cp examples/{README,*.py} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 # to devel, but we have none
-rm $RPM_BUILD_ROOT%{_pkgconfigdir}/nautilus-python.pc
+%{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/nautilus-python.pc
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus{-python,/extensions-2.0}/*.la
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -71,10 +71,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%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
+%attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-python.so
+%dir %{_datadir}/nautilus-python/extensions
 
 %files examples
 %defattr(644,root,root,755)
@@ -86,6 +84,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2011/04/21 19:34:58  lisu
+- updated to 1.0
+- new nautilus extensions dir
+- according to NEWS, extensions are now stored in /usr/share/nautilus-python/extensions and should be arch-independent
+- updated deps
+
 Revision 1.13  2011/01/22 19:43:38  glen
 - unpackage devel to base
 
================================================================

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



More information about the pld-cvs-commit mailing list