# spec file for package kbackup # # Copyright (c) 2009 Martin Koller # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bug fixes or comments via mailto:kollix@aon.at # norootforbuild Summary: Backup Your Data in a Simple, User Friendly, KDE-based Way Name: kbackup Version: 0.6.1 Release: 1 License: GPL Group: Productivity/Archiving/Backup Source: kbackup-%{version}.tar.bz2 BuildRequires: libkde4-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KBackup is a program that lets you back up any directories or files, whereby it uses an easy to use directory tree to select the things to back up. The program was designed to be very simple in its use so that it can be used by non-computer experts. The storage format is the well known TAR format, whereby the data can still be stored in compressed format (bzip2 or gzip). Included Languages: - User interface: English, German, French, Italian, Russian, Slovak, Portuguese, Spanish, Swedish - Handbook: English, German, French #================= PREP ================== %prep %setup -q #================= BUILD ================== %build %cmake_kde4 -d build %make_jobs #================= INSTALL ================== %install cd build %makeinstall %{__rm} %{buildroot}/usr/share/doc/kde/HTML/*/kbackup/common %find_lang %{name} %if 0%{?suse_version} %suse_update_desktop_file %name System Backup %else %endif %kde_post_install #================= POST / POSTUN Mandriva ================== %if 0%{?mandriva_version} %post %update_menus %postun %clean_menus %endif #================= CLEAN ================== %clean rm -rf $RPM_BUILD_ROOT #================= FILES ================== %files -f %{name}.lang %defattr(-,root,root) /usr/bin/kbackup /usr/share/mime/packages/kbackup.xml /usr/share/applications/kde4/kbackup.desktop /usr/share/icons/hicolor/16x16/mimetypes/text-x-kbp.png /usr/share/icons/hicolor/32x32/mimetypes/text-x-kbp.png /usr/share/icons/hicolor/16x16/apps/kbackup.png /usr/share/icons/hicolor/32x32/apps/kbackup.png /usr/share/kde4/apps/kbackup/ %dir /usr/share/doc/kde/HTML/* /usr/share/locale/*/LC_MESSAGES/kbackup.mo