diff --git a/xfce4-timer-plugin-1.7.0.tar.bz2 b/xfce4-timer-plugin-1.7.0.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..ea03ece95aebc6748c50bdc33dd3606abcd05449 Binary files /dev/null and b/xfce4-timer-plugin-1.7.0.tar.bz2 differ diff --git a/xfce4-timer-plugin.spec b/xfce4-timer-plugin.spec new file mode 100644 index 0000000000000000000000000000000000000000..6c409e85fb6f793f9f3607aa07ca3aea03c2ba0f --- /dev/null +++ b/xfce4-timer-plugin.spec @@ -0,0 +1,55 @@ +%global _hardened_build 1 + +Name: xfce4-timer-plugin +Version: 1.7.0 +Release: 1 +Summary: Timer plugin for the Xfce panel +License: GPLv2+ +#Group: Development/Libraries +URL: http://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch +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 +With this plugin you can add timers (alarm or countdown) to your Xfce panel. +You can display a warning window and/or run a custom command when alarm rings, repeat alarms etc. +The timer progress is shown as a progress bar in the Xfce panel, lasting time displayed on tooltip. + +%prep +%autosetup + +%build +%configure --disable-static + +%make_build + +%install +%make_install + +# remove la file +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +# make sure debuginfo is generated properly +chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so + +%find_lang %{name} + +%files -f %{name}.lang +%doc AUTHORS ChangeLog README 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 +* Fri Jul 17 2020 Dillon Chen - 1.7.0-1 +- Init package