]> git.pld-linux.org Git - packages/backintime.git/commitdiff
- don't use utf-8 characters in main %description
authorsparky <sparky@pld-linux.org>
Sun, 17 Jan 2010 23:41:25 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- gather locale files using %find_lang
- BR: gettext-devel, which
- don't package files under %{_docdir} directly

Changed files:
    backintime.spec -> 1.2

backintime.spec

index a130751f4a738923667ddc6bd4d149aebdb8fa06..ad1d4c3e5731c827c7916e1b5259eea957b29170 100644 (file)
@@ -11,8 +11,10 @@ Group:               Applications/Archiving
 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
@@ -20,14 +22,14 @@ BuildArch:  noarch
 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).
 
@@ -42,14 +44,14 @@ Requires:   python-pygtk-glade
 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).
 
@@ -62,14 +64,14 @@ Requires:   backintime
 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).
 
@@ -109,44 +111,41 @@ cd ../kde4
        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
This page took 0.089631 seconds and 4 git commands to generate.