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/
#
Name: grsync
Version: 1.2.1
Release: 1
License: GPL-2.0
Summary: GUI for rsync
Url: http://www.opbyte.it/grsync/
Group: Productivity/Archiving/Backup
Source: %{name}-%{version}.tar.gz
Patch0: fix-desktop-file.patch
Patch1: fix-invalid-lc-messages-dir.patch
Patch2: grsync-link-libm.patch
BuildRequires: dos2unix
BuildRequires: intltool
BuildRequires: pkg-config
BuildRequires: pkgconfig(gtk+-2.0) >= 2.16
BuildRequires: update-desktop-files
BuildRequires: autoconf
BuildRequires: automake
Requires: rsync
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%patch2 -p1
%build
autoreconf -fi
%configure \
--disable-unity
pushd po
mv nl_NL.po nl.po
mv es_ES.po es.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
mv pt_BR.po pt.po
mv id_ID.po id.po
popd
dos2unix README NEWS AUTHORS
%install
%make_install
%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