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
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).
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).
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).
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