SPECS: duplicity.spec - up to 0.5.06 - some cleaning - %find_lang macro add...

duddits duddits at pld-linux.org
Wed Jan 14 23:00:36 CET 2009


Author: duddits                      Date: Wed Jan 14 22:00:36 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.5.06
- some cleaning
- %find_lang macro added
- more %files

---- Files affected:
SPECS:
   duplicity.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/duplicity.spec
diff -u SPECS/duplicity.spec:1.14 SPECS/duplicity.spec:1.15
--- SPECS/duplicity.spec:1.14	Mon Aug  4 13:37:59 2008
+++ SPECS/duplicity.spec	Wed Jan 14 23:00:31 2009
@@ -2,12 +2,12 @@
 Summary:	Untrusted/encrypted backup using rsync algorithm
 Summary(pl.UTF-8):	Wykonywanie szyfrowanych kopii zapasowych przy użyciu algorytmu rsync
 Name:		duplicity
-Version:	0.4.11
+Version:	0.5.06
 Release:	1
 License:	GPL
 Group:		Applications/Archiving
 Source0:	http://savannah.nongnu.org/download/duplicity/%{name}-%{version}.tar.gz
-# Source0-md5:	8891bb4fa2b5d3f053e6f2c4a91782f2
+# Source0-md5:	7363d8f1be770e0296c78badbffaa4b4
 URL:		http://www.nongnu.org/duplicity/
 BuildRequires:	librsync-devel
 BuildRequires:	python-devel >= 2.2.1
@@ -51,16 +51,23 @@
 rm -rf $RPM_BUILD_ROOT
 python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
+# Remove *.py files. We don't package them.
+find $RPM_BUILD_ROOT%{py_sitedir}/%{name} -type f -name '*.py' -print0 | xargs -0 rm -f
+
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc CHANGELOG README
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*.1*
 %dir %{py_sitedir}/duplicity
+%dir %{py_sitedir}/duplicity/backends
 %{py_sitedir}/duplicity/*.py[co]
+%{py_sitedir}/duplicity/backends/*.py[co]
 %attr(755,root,root) %{py_sitedir}/duplicity/*.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -69,6 +76,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2009/01/14 22:00:31  duddits
+- up to 0.5.06
+- some cleaning
+- %find_lang macro added
+- more %files
+
 Revision 1.14  2008/08/04 11:37:59  zbyniu
 - up to 0.4.11
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/duplicity.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list