Name: konserve Version: 0.10.3 Release: 1%{?dist} Summary: KDE system tray application that performs periodic backups Group: Applications/Archiving License: GPL URL: http://konserve.sourceforge.net/ Source0: http://kent.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: kdelibs-devel %description Konserve is a small backup application for the KDE 3.x environment. It lives in the system tray and is able to create backups of several directories or files periodically. Konserve uses standard KDE network transparency to upload your backups to wherever you want (for example a ftp server). It is also possible to restore an incidently deleted file or directory from a backup file with just one mouse click. It supports drag and drop and provides a wizard that helps you with the first steps in using Konserve. %prep %setup -q %{__rm} -rf autom4te.cache %build %configure --disable-rpath %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} desktop-file-install --vendor "" \ --add-category System \ --delete-original \ --dir %{buildroot}%{_datadir}/applications/ \ %{buildroot}%{_datadir}/applnk/Applications/%{name}.desktop ## File lists # locale's %find_lang %{name} || touch %{name}.lang # HTML (1.0) HTML_DIR=$(kde-config --expandvars --install html) if [ -d %{buildroot}$HTML_DIR ]; then for lang_dir in %{buildroot}$HTML_DIR/* ; do if [ -d $lang_dir ]; then lang=$(basename $lang_dir) echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang # replace absolute symlinks with relative ones pushd $lang_dir for i in *; do [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common done popd fi done fi %clean %{__rm} -rf %{buildroot} %post touch --no-create %{_datadir}/icons/{hi,lo}color || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/{hi,lo}color || : %postun touch --no-create %{_datadir}/icons/{hi,lo}color || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/{hi,lo}color || : %files -f %{name}.lang %defattr(-,root,root,-) %doc README TODO VERSION %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/apps/%{name} %{_datadir}/icons/??color/??x??/apps/%{name}.png %changelog * Sat Mar 10 2007 Chitlesh Goorah - 0.10.3-1 - initiql package