Name: grsync Version: 1.2.5 Release: 7%{?dist} Summary: A Gtk+ GUI for rsync Group: User Interface/Desktops License: GPLv2 URL: http://www.opbyte.it/grsync/ Source0: http://www.opbyte.it/release/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel desktop-file-utils gettext perl(XML::Parser) BuildRequires: intltool Requires: polkit %description Grsync is a GUI (Graphical User Interface) for rsync, the commandline directory synchronization tool. It makes use of the GTK libraries and is released under the GPL license, so it is opensource. It is in beta stage and doesn't support all of rsync features, but can be effectively used to synchronize local directories. For example some people use grsync to synchronize their music collection with removable devices or to backup personal files to a networked drive. %prep %setup -q # some minor corrections for rpmlint sed -i 's/\r//' README AUTHORS NEWS sed -i 's|@prefix@/bin/@PACKAGE@|@PACKAGE@|' grsync.desktop.in %build %configure --disable-unity make %{?_smp_mflags} sed -i 's|Icon=%{name}.png|Icon=%{name}|g' %{name}.desktop %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' desktop-file-install \ --remove-category=Application \ --add-category=FileTransfer \ --add-category=GTK \ --dir=%{buildroot}%{_datadir}/applications/ \ %{buildroot}/%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || : update-desktop-database &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : fi update-desktop-database &> /dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/grsync* %{_mandir}/man1/grsync*.1.* %{_datadir}/pixmaps/grsync*.png %{_datadir}/applications/grsync.desktop %{_datadir}/grsync/ %{_datadir}/icons/hicolor/*/mimetypes/application-x-grsync-session.png %{_datadir}/mime/packages/grsync.xml %changelog * Wed Aug 02 2017 Fedora Release Engineering - 1.2.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.2.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.2.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Oct 02 2014 Rex Dieter 1.2.5-2 - update mime scriptlet * Wed Aug 21 2014 Christoph Wickert - 1.2.5-1 - Update to 1.2.5 * Sat Aug 16 2014 Fedora Release Engineering - 1.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jul 13 2013 Christoph Wickert - 1.2.4-1 - Update to 1.2.4 - Remove dsofix patch, fixed upstream - Minor spec file clean-up * Thu Feb 14 2013 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jan 20 2013 Christoph Wickert - 1.2.3-1 - Update to 1.2.3 * Mon Oct 22 2012 Christoph Wickert - 1.2.2-1 - Update to 1.2.2 * Thu Jul 19 2012 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 20 2012 Christoph Wickert - 1.2.1-1 - Update to 1.2.1 - Configure with --disable-unity to make sure the package builds * Fri Jan 13 2012 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 1.2.0-2 - Rebuild for new libpng * Sat Jul 30 2011 Christoph Wickert - 1.2.0-1 - Update to 1.2.0 - Require polkit for 'Run as superuser' option through pkexec * Wed Feb 09 2011 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue May 11 2010 Christoph Wickert - 1.1.1-1 - Update to 1.1.1 * Wed Mar 31 2010 Christoph Wickert - 1.1.0-1 - Update to 1.1.0 - Add scriptlets to update icon cache and install mime type * Tue Feb 16 2010 Christoph Wickert - 1.0.0-2 - Add patch to fix DSO linking (#565142) * Thu Feb 04 2010 Christoph Wickert - 1.0.0-1 - Update to 1.0.0 * Tue Dec 22 2009 Sebastian Vahl - 0.9.3-1 - new upstream release * Mon Oct 05 2009 Christoph Wickert - 0.9.2-1 - new upstream release (fixes #524169) * Fri Jul 24 2009 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 01 2009 Sebastian Vahl - 0.9.1-1 - new upstream release * Sun Jun 14 2009 Sebastian Vahl - 0.9.0-1 - new upstream release * Fri Apr 10 2009 Sebastian Vahl - 0.6.3-2 - BR: intltool * Fri Apr 10 2009 Sebastian Vahl - 0.6.3-1 - new upstream release * Tue Feb 24 2009 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 11 2008 Sebastian Vahl - 0.6.2-1 - new upstream release - drop grsync-0.6.1-fix-crash-when-adding-new-sessions.patch * Fri Feb 08 2008 Sebastian Vahl - 0.6.1-2 - workaround crash when adding new sessions (#385051) * Wed Nov 28 2007 Sebastian Vahl - 0.6.1-1 - New upstream version: 0.6.1 * Tue Sep 18 2007 Sebastian Vahl - 0.6-1 - New upstream version: 0.6 - Change license to GPLv2 * Tue May 15 2007 Sebastian Vahl - 0.5.2-2 - BR: perl(XML::Parser) * Tue Jan 23 2007 Sebastian Vahl - 0.5.2-1 - New upstream version: 0.5.2 * Fri Dec 01 2006 Sebastian Vahl - 0.5-2 - BR: gettext * Sat Nov 11 2006 Sebastian Vahl - 0.5-1 - New upstream version: 0.5 * Fri May 05 2006 Sebastian Vahl - 0.4.1-1 - Initial Spec Release