%global minorver 1.6
Name: xfce4-timer-plugin
Version: 1.6.0
Release: 1%{?dist}
Summary: Timer for the Xfce panel
Group: User Interface/Desktops
License: GPLv2+
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0: http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/%{minorver}/%{name}-%{version}.tar.bz2
# Improve the timer countdown
Patch0: xfce4-timer-plugin-1.6.0-improve-timer.patch
# Fix compile with format-strings
# https://bugzilla.xfce.org/show_bug.cgi?id=10110
Patch1: xfce4-timer-plugin-1.6.0-format-string.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xfce4-panel-devel >= 4.3.20, libxfce4ui-devel >= 4.3.0
BuildRequires: libxml2-devel, gettext, intltool, perl(XML::Parser)
Requires: xfce4-panel >= 4.4.0
%description
A timer for the Xfce panel. It supports countdown periods and alarms at
certain times.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README TODO
%{_libexecdir}/xfce4/panel-plugins/xfce4-timer
%{_datadir}/xfce4/panel-plugins/*.desktop
%{_datadir}/icons/hicolor/48x48/apps/xfce4-timer.png
%changelog
* Sun Mar 29 2015 Kevin Fenzi <kevin@scrye.com> 1.6.0-1
- Update to 1.6.0 now using libxfce4ui
* Sat Feb 28 2015 Kevin Fenzi <kevin@scrye.com> 0.6.1-17
- Rebuild for Xfce 4.12
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Apr 15 2012 Kevin Fenzi <kevin@scrye.com> - 0.6.1-11
- Rebuild for Xfce 4.10(pre2)
* Thu Apr 05 2012 Kevin Fenzi <kevin@scrye.com> - 0.6.1-10
- Rebuild for Xfce 4.10
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.6.1-8
- Rebuild for new libpng
* Sat Mar 05 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-7
- Fix segfault when creating plugin in 4.8 panel (#682458)
- Update translations from Xfce Transifex
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jan 13 2011 Kevin Fenzi <kevin@tummy.com> - 0.6.1-5
- Rebuild for Xfce 4.8
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-2
- Rebuild for Xfce 4.6 (Beta 3)
* Thu Nov 27 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.1-1
- Update to 0.6.1
- BR intltool
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6-3
- Autorebuild for GCC 4.3
* Sat Dec 29 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6-2
- Bump release due to tag collision
* Sat Dec 29 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.6-1
- Update to 0.6
* Sat Aug 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-3
- Rebuild for BuildID feature
- Update license tag
* Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-2
- Rebuild for Xfce 4.4.1
* Sat Jan 27 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-1
- Update to 0.5.1 on Xfce 4.4.
* Sat Sep 23 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.5-1
- Initial Fedora Extras version.