packages: backintime/backintime.spec - don't use utf-8 characters in main %...

sparky sparky at pld-linux.org
Mon Jan 18 00:41:31 CET 2010


Author: sparky                       Date: Sun Jan 17 23:41:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't use utf-8 characters in main %description
- gather locale files using %find_lang
- BR: gettext-devel, which
- don't package files under %{_docdir} directly

---- Files affected:
packages/backintime:
   backintime.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/backintime/backintime.spec
diff -u packages/backintime/backintime.spec:1.1 packages/backintime/backintime.spec:1.2
--- packages/backintime/backintime.spec:1.1	Mon Jan 18 00:09:33 2010
+++ packages/backintime/backintime.spec	Mon Jan 18 00:41:25 2010
@@ -12,8 +12,10 @@
 Source0:	http://backintime.le-web.org/download/backintime/%{name}-%{version}_src.tar.gz
 Patch0:		%{name}_kde4_makefile.patch
 URL:		http://backintime.le-web.org
+BuildRequires:	gettext-devel
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	which
 Requires:	crondaemon
 Requires:	python
 Requires:	rsync
@@ -21,14 +23,14 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Back In Time is a simple backup tool for Linux inspired from “flyback
-project” and “TimeVault”. The backup is done by taking snapshots of a
+Back In Time is a simple backup tool for Linux inspired from "flyback
+project" and "TimeVault". The backup is done by taking snapshots of a
 specified set of directories. Currently there are two GUI available:
 GNOME and KDE 4 (>= 4.1).
 
 %description -l pl.UTF-8
 Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
-Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
+Linuksem, zainspirowane narzędziami "flyback project" i "TimeVault".
 Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
 dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
 
@@ -43,14 +45,14 @@
 Suggests:	meld
 
 %description gnome
-Back In Time is a simple backup tool for Linux inspired from “flyback
-project” and “TimeVault”. The backup is done by taking snapshots of a
+Back In Time is a simple backup tool for Linux inspired from "flyback
+project" and "TimeVault". The backup is done by taking snapshots of a
 specified set of directories. Currently there are two GUI available:
 GNOME and KDE 4 (>= 4.1).
 
 %description gnome -l pl.UTF-8
 Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
-Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
+Linuksem, zainspirowane narzędziami "flyback project" i "TimeVault".
 Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
 dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
 
@@ -63,14 +65,14 @@
 Requires:	python-PyKDE4
 
 %description kde4
-Back In Time is a simple backup tool for Linux inspired from “flyback
-project” and “TimeVault”. The backup is done by taking snapshots of a
+Back In Time is a simple backup tool for Linux inspired from "flyback
+project" and "TimeVault". The backup is done by taking snapshots of a
 specified set of directories. Currently there are two GUI available:
 GNOME and KDE 4 (>= 4.1).
 
 %description kde4 -l pl.UTF-8
 Back In Time to proste narzędzie do tworzenia kopii zapasowych pod
-Linuksem, zainspirowane narzędziami “flyback project” i “TimeVault”.
+Linuksem, zainspirowane narzędziami "flyback project" i "TimeVault".
 Kopia jest wykonywana dla wskazanych katalogów. Aktualnie dostępne są
 dwie wersje GUI: GNOME i KDE 4 (>= 4.1).
 
@@ -110,55 +112,56 @@
 	LIBDIR=/%{_lib} \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cd ..
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES LICENSE README TODO TRANSLATIONS VERSION
+%doc AUTHORS CHANGES LICENSE README TODO TRANSLATIONS VERSION common/debian_specific/copyright
 %attr(755,root,root) %{_bindir}/backintime
+%dir %{_datadir}/backintime
+%dir %{_datadir}/backintime/common
 %{_datadir}/backintime/common/*
-%{_docdir}/backintime-common/*
+%dir %{_datadir}/backintime/plugins
 %{_datadir}/backintime/plugins/usercallbackplugin.py
-%{_datadir}/locale/
 %{_mandir}/man1/backintime.1*
-%dir %{_docdir}/backintime-common
-%dir %{_datadir}/backintime
-%dir %{_datadir}/backintime/plugins
-%dir %{_datadir}/backintime/common
 
 %files gnome
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/backintime-gnome
 %{_datadir}/backintime/plugins/gnomeplugin.py
+%dir %{_datadir}/backintime/gnome
 %{_datadir}/backintime/gnome/*
 %{_datadir}/gnome/help/backintime/
+%dir %{_datadir}/omf/backintime
 %{_datadir}/omf/backintime/backintime-C.omf
 %{_desktopdir}/backintime-gnome*.desktop
-%{_docdir}/backintime-gnome/
 %{_mandir}/man1/backintime-gnome.1*
-%dir %{_datadir}/omf/backintime
-%dir %{_datadir}/backintime/gnome
 
 %files kde4
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/backintime-kde4
 %{_datadir}/backintime/plugins/kde4plugin.py
+%dir %{_datadir}/backintime/kde4
 %{_datadir}/backintime/kde4/*
-%{_desktopdir}/kde4/*
-%{_docdir}/backintime-kde4/*
-%{_docdir}/kde/HTML/en/backintime/*
-%dir %{_docdir}/backintime-kde4
 %dir %{_docdir}/kde/HTML/en/backintime
-%dir %{_datadir}/backintime/kde4
+%{_docdir}/kde/HTML/en/backintime/*
+%{_desktopdir}/kde4/backintime-kde4*.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
-
 $Log$
-Revision 1.1  2010/01/17 23:09:33  qwiat
-initial
+Revision 1.2  2010/01/17 23:41:25  sparky
+- don't use utf-8 characters in main %description
+- gather locale files using %find_lang
+- BR: gettext-devel, which
+- don't package files under %{_docdir} directly
 
+Revision 1.1  2010/01/17 23:09:33  qwiat
+- initial
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/backintime/backintime.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list