Summary: Front-end for making snapshots of a set of directories Name: timevault Version: 0.7.5 Release: %mkrel 8 Source: %name-%version.tar.bz2 # make it using existing macros: Patch0: timevault-init-mdv.patch # make it chkconfig aware: Patch1: timevault-init-chkconfig.patch Patch2: timevault-0.7.5-recognize-py2.7.patch URL: https://wiki.ubuntu.com/TimeVault License: GPL Group: System/Configuration/Other BuildRoot: %{_tmppath}/%name-root %py_requires -d BuildRequires: gnome-common intltool BuildRequires: gnome-python-devel nautilus-python pygtk2.0-devel python-notify python-dbus dbus-devel Requires: nautilus-python Requires: python-dbus Requires: python-notify Requires: python-gamin python-sqlite2 Requires(post): rpm-helper Requires(preun): rpm-helper %description TimeVault is a simple front-end for making snapshots of a set of directories. Snapshots are a copy of a directory structure or file at a certain point in time. Restore functionality is integrated into Nautilus - previous versions of a file or directory that has a snapshot can be accessed by examining the properties and selecting the 'Previous Versions' tab. Snapshots are protected from accidental deletion or modification since they are read-only by default. The super-user can delete intermediate snapshots to save space, but files and directories that existed before or after the deletion will still be accessible. %prep %setup -q %patch0 -p0 %patch1 -p0 %patch2 -p0 [[ -x ./configure ]] || ./autogen.sh %build %configure2_5x %make %install rm -rf %buildroot %makeinstall_std mkdir -p %buildroot%_libdir/nautilus/extensions-2.0 mv %buildroot%_prefix/lib/nautilus/extensions-1.0/* %buildroot%_libdir/nautilus/extensions-2.0 %clean rm -rf %buildroot %post %_post_service %name %preun %_preun_service %name %files %defattr(-,root,root,755) %_bindir/* %_datadir/applications/timevault.desktop %_datadir/timevault %config(noreplace) /etc/dbus-1/system.d/timevault.conf /etc/init.d/timevault %config(noreplace) /etc/logrotate.d/timevault.logrotate %_iconsdir/hicolor/14x14/apps/timevault.png %_iconsdir/hicolor/22x22/apps/timevault.png %_iconsdir/hicolor/32x32/apps/timevault.png %_iconsdir/hicolor/scalable/apps/timevault.svg %py_platsitedir/TimeVault #gw this dir is arch dependant: %_libdir/nautilus/extensions-2.0/python/timevault-nautilus.py %changelog * Tue Nov 02 2010 Ahmad Samir <ahmadsamir@mandriva.org> 0.7.5-8mdv2011.0 + Revision: 592229 - rediff P2 to make it detect python 2.7 + Michael Scherer <misc@mandriva.org> - rebuild for python 2.7 * Fri Aug 13 2010 Ahmad Samir <ahmadsamir@mandriva.org> 0.7.5-7mdv2011.0 + Revision: 569370 - add requires on python-gamin and python-sqlite2 (mdv#60623) - remove the %%*_icon_cache bits, handled by rpm filetriggers * Sun Sep 20 2009 Thierry Vignaud <tv@mandriva.org> 0.7.5-6mdv2010.0 + Revision: 445442 - rebuild * Sat Jan 10 2009 Funda Wang <fwang@mandriva.org> 0.7.5-5mdv2009.1 + Revision: 327939 - recognize python 2.6 * Sun Aug 03 2008 Thierry Vignaud <tv@mandriva.org> 0.7.5-5mdv2009.0 + Revision: 261539 - rebuild * Wed Jul 30 2008 Thierry Vignaud <tv@mandriva.org> 0.7.5-4mdv2009.0 + Revision: 254550 - rebuild * Wed Jan 23 2008 Götz Waschk <waschk@mandriva.org> 0.7.5-2mdv2008.1 + Revision: 157107 - fix nautilus extensions dir - handle icon cache - fix deps + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Mon Dec 10 2007 Thierry Vignaud <tv@mandriva.org> 0.7.5-1mdv2008.1 + Revision: 117034 - python-notify python-dbus - import timevault * Mon Dec 10 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.7.5-1mdv2008.1 - initial release