%define name fwbackups %define version 1.43.4 #define pre rc6 %define rel 2 Summary: Feature-rich user backup program Name: %{name} Version: %{version} Release: %mkrel %{?pre:0.%{pre}.}%{rel} Group: Archiving/Backup License: GPLv2+ URL: http://www.diffingo.com/oss/fwbackups/ Source: http://www.diffingo.com/downloads/fwbackups/%{name}-%{version}%{?pre:%{pre}}.tar.bz2 Source1: fwbackups-po.tar.gz Patch0: fwbackups-desktop.patch Patch1: fwbackups-glade.patch Patch2: fwbackups-runapp.patch BuildRoot: %{_tmppath}/%{name}-root BuildArch: noarch BuildRequires: imagemagick BuildRequires: intltool BuildRequires: xsltproc BuildRequires: python-devel Requires: pygtk2.0 Requires: pygtk2.0-libglade Requires: python-pycrypto Requires: python-paramiko Requires: python-notify Requires: tar Requires: rsync %description fwbackups is a feature-rich user backup program that allows you to backup your documents anytime, anywhere. It offers a simple but powerful interface that permits you to perform backups with ease, supporting scheduled backups and backing up to remote computers. %prep %setup -q -n %{name}-%{version}%{?pre:%{pre}} -a1 %apply_patches %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std # icon theme spec install -d -m755 %{buildroot}%{_iconsdir}/hicolor/{scalable,48x48,32x32,16x16}/apps mv %{buildroot}%{_datadir}/pixmaps/%{name}.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/ for i in 16x16 32x32 48x48; do convert %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg -resize ${i} %{buildroot}%{_iconsdir}/hicolor/${i}/apps/%{name}.png done %find_lang %{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog README TODO %{_bindir}/%{name} %{_bindir}/%{name}-* %{_datadir}/%{name} %{_datadir}/applications/fwbackups.desktop %{_iconsdir}/hicolor/*/apps/%{name}.* %{python_sitelib}/%{name} %{_localedir}/* %changelog * Mon Oct 10 2011 ÐлекÑÐ°Ð½Ð´Ñ ÐазанÑев <kazancas@mandriva.org> 1.43.4-2mdv2012.0 + Revision: 703996 - made fwbackups translatable - add russian translate - fix desktop file for Russian - fix glade file for missing translatable part and runapp for nontranslated part * Tue Mar 08 2011 Jani Välimaa <wally@mandriva.org> 1.43.4-1 + Revision: 642930 - new version 1.43.4 * Sun Oct 31 2010 Funda Wang <fwang@mandriva.org> 1.43.3-0.rc6.1mdv2011.0 + Revision: 590923 - new version 1.43.3 r6 * Sun Oct 31 2010 Funda Wang <fwang@mandriva.org> 1.43.3-0.rc5.2mdv2011.0 + Revision: 590878 - BR python-devel - rebuild for py 2.7 * Wed Sep 01 2010 Anssi Hannula <anssi@mandriva.org> 1.43.3-0.rc5.1mdv2011.0 + Revision: 575154 - initial Mandriva release