%global minorver 1.7
%global _hardened_build 1
Name: xfce4-timer-plugin
Version: 1.7.2
Release: %autorelease
Summary: Timer for the Xfce panel
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
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: xfce4-panel-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxml2-devel
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: perl(XML::Parser)
Requires: xfce4-panel
%description
A timer for the Xfce panel. It supports countdown periods and alarms at
certain times.
%prep
%autosetup
%build
%configure --disable-static
%make_build
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%doc AUTHORS ChangeLog TODO
%license COPYING
%{_libdir}/xfce4/panel/plugins/libxfcetimer*
%{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop
%{_datadir}/icons/hicolor/*/apps/xfce4-timer-plugin.*g
%changelog
%autochangelog