File grsync.spec of Package grsync
#
# spec file for package grsync (Version 1.1.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Summary: GUI for rsync
Name: grsync
Version: 1.1.1
Release: 1
URL: http://www.opbyte.it/grsync/
License: GPL v2
Group: Productivity/Archiving/Backup
Source: %{name}-%{version}.tar.bz2
Patch0: fix-desktop-file.patch
Patch1: fix-invalid-lc-messages-dir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: rsync
BuildRequires: pkg-config
BuildRequires: intltool
BuildRequires: gtk2-devel >= 2.16
BuildRequires: update-desktop-files
BuildRequires: dos2unix
%description
Grsync is a GUI (Graphical User Interface) for rsync, the commandline directory
and file synchronization tool. It can be effectively used to synchronize local
directories and it supports remote targets as well (even though it doesn't
support browsing the remote folder). Sample uses of grsync include: synchronize
a music collection with removable devices, backup personal files to a networked
drive, replication of a partition to another one, mirroring of files, etc.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
autoreconf -fi
%configure
pushd po
mv nl_NL.po nl.po
mv it_IT.po it.po
mv fr_FR.po fr.po
mv sv_SE.po sv.po
mv nb_NO.po nb.po
mv tr_TR.po tr.po
mv ru_RU.po ru.po
mv de_DE.po de.po
mv cs_CZ.po cs.po
mv gl_ES.po gl.po
mv ca_ES.po ca.po
popd
dos2unix README NEWS AUTHORS
%install
%makeinstall
%find_lang %{name}
%suse_update_desktop_file -i %name Utility Archiving
%clean
rm -rf %buildroot
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING README NEWS
%{_bindir}/grsync
%{_bindir}/grsync-batch
%{_datadir}/applications/grsync.desktop
%{_datadir}/pixmaps/grsync.png
%{_datadir}/pixmaps/grsync-busy.png
%{_datadir}/%{name}
%{_datadir}/mime/packages/grsync.xml
%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-grsync-session.png
%{_mandir}/man1/grsync*
%changelog