Patch9999: my.patch # Review at https://bugzilla.redhat.com/show_bug.cgi?id=398111 %global minor_version 1.0 %if 0%{?fedora} >= 29 %global xfceversion 4.13 %else %global xfceversion 4.12 %endif Name: xfce4-time-out-plugin Version: 1.0.2 Release: 20%{?dist} Summary: Xfce panel plugin for taking breaks from the computer Group: User Interface/Desktops License: GPLv2+ URL: http://goodies.xfce.org/projects/panel-plugins/%{name} #VSC: git: git://git.xfce.org/panel-plugins/xfce4-time-out-plugin Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2 BuildRequires: gcc-c++ BuildRequires: libxfce4ui-devel >= %{xfceversion} BuildRequires: xfce4-panel-devel >= %{xfceversion} BuildRequires: libxml2-devel BuildRequires: libICE-devel BuildRequires: gettext, intltool Requires: xfce4-panel >= %{xfceversion} %description This plugin makes it possible to take periodical breaks from the computer every X minutes. During breaks it locks your screen. It optionally allows you to postpone breaks for a certain time. %prep %setup -q %patch9999 -p1 %build %configure %make_build %install %make_install chmod -c +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libtime-out.so find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %find_lang %{name} %post touch --no-create %{_datadir}/icons/hicolor &>/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 || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS %{_libdir}/xfce4/panel/plugins/ %{_datadir}/xfce4/panel/plugins/*.desktop %{_datadir}/icons/hicolor/*/*/* %changelog * Sat Aug 11 2018 Mukundan Ragavan - 1.0.2-20 - Rebuilt (xfce 4.13) * Sat Jul 14 2018 Fedora Release Engineering - 1.0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Nov 12 2016 Filipe Rosset - 1.0.2-1 - Update to 1.0.2 - [gtk3] Bump dependencies to check for libxfce4ui-2/libxfce4panel-2.0 - Spec clean-up * Fri Feb 05 2016 Fedora Release Engineering - 1.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 1.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Feb 28 2015 Kevin Fenzi 1.0.1-8 - Rebuild for Xfce 4.12 * Mon Aug 18 2014 Fedora Release Engineering - 1.0.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Apr 24 2012 Ville Skyttä - 1.0.1-2 - Fix -debuginfo. * Wed Apr 18 2012 Christoph Wickert - 1.0.1-1 - Update to 1.0.1 - Add VCS key * Sun Apr 15 2012 Kevin Fenzi - 1.0.0-5 - Rebuild for Xfce 4.10(pre2) * Thu Apr 05 2012 Kevin Fenzi - 1.0.0-4 - Rebuild for Xfce 4.10 * Sat Jan 14 2012 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 27 2010 Christoph Wickert - 1.0.0-1 - Update to 1.0.0 - Drop all patches (obsolete) * Sun Dec 19 2010 Christoph Wickert - 0.1.1-6 - Rebuild for xfce4-panel 4.7 * Sun Dec 19 2010 Christoph Wickert - 0.1.1-5 - Hide the time label on startup if settings say so (bugzilla.xfce.org #3224) - Update translations from Xfce Transifex - Update icon-cache scriptlets * Mon Jul 27 2009 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jan 18 2009 Christoph Wickert - 0.1.1-2 - Rebuild for Xfce 4.6 (Beta 3) * Sun Nov 25 2007 Christoph Wickert - 0.1.1-1 - Initial Fedora package