diff --git a/xfce4-time-out-plugin-1.1.1.tar.bz2 b/xfce4-time-out-plugin-1.1.1.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..731a7d8c3b8549ac6ca052beab622d99c3ff9bb3 Binary files /dev/null and b/xfce4-time-out-plugin-1.1.1.tar.bz2 differ diff --git a/xfce4-time-out-plugin.spec b/xfce4-time-out-plugin.spec new file mode 100644 index 0000000000000000000000000000000000000000..ba149207d7d1bd39e3f4d273ba755147786ca30e --- /dev/null +++ b/xfce4-time-out-plugin.spec @@ -0,0 +1,54 @@ +%global xfceversion 4.14 + +Name: xfce4-time-out-plugin +Version: 1.1.1 +Release: 1 +Summary: Xfce panel plugin for taking breaks from the computer +License: GPLv2+ +#Group: Development/Libraries +URL: http://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.1/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch +BuildRequires: gcc-c++ +BuildRequires: libxfce4ui-devel >= %{xfceversion} +BuildRequires: xfce4-panel-devel >= %{xfceversion} +BuildRequires: libxml2-devel +BuildRequires: libICE-devel +BuildRequires: gettext +BuildRequires: 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 + +%build +%configure +%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 +%license COPYING +%doc AUTHORS ChangeLog NEWS README THANKS +%{_libdir}/xfce4/panel/plugins/ +%{_datadir}/xfce4/panel/plugins/*.desktop +%{_datadir}/icons/hicolor/*/*/* + +%changelog +* Fri Jul 17 2020 Dillon Chen - 1.1.1-1 +- Init package