diff --git a/.gitignore b/.gitignore index ec03acd..a23af1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -/xfce4-timer-plugin-*.tar.bz2 -/xfce4-timer-plugin-*.tar.xz +xfce4-timer-plugin-0.6.1.tar.bz2 +/xfce4-timer-plugin-1.6.0.tar.bz2 +/xfce4-timer-plugin-1.7.0.tar.bz2 +/xfce4-timer-plugin-1.7.1.tar.bz2 +/xfce4-timer-plugin-1.7.2.tar.bz2 +/xfce4-timer-plugin-1.7.3.tar.bz2 diff --git a/sources b/sources index eff79b2..8d7efce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xfce4-timer-plugin-1.8.0.tar.xz) = 9729181248ee3aa6e90be8a6975a76121ce89c26131fc4eadb6840eec7059afb45f06ff9bae5e202e39d081bd898ece2fd236c5d64e1ab07a8c8ecb2c18558f0 +SHA512 (xfce4-timer-plugin-1.7.3.tar.bz2) = aad16bac1c43a9bed529884e23392153fdeec9e6793a9815f3307c7ec2cb33a1bce86127bc009f80ecdfb4a44edcdaf8f63f139a382bad0001a14b007d741a55 diff --git a/xfce4-timer-plugin.spec b/xfce4-timer-plugin.spec index b7f264f..92f00cd 100644 --- a/xfce4-timer-plugin.spec +++ b/xfce4-timer-plugin.spec @@ -1,22 +1,25 @@ -# CVS https://gitlab.xfce.org/panel-plugins/xfce4-timer-plugin -%global minorver 1.8 +%global minorver 1.7 +%global _hardened_build 1 -Name: xfce4-timer-plugin -Version: 1.8.0 -Release: %autorelease -Summary: Timer for the Xfce panel -License: GPL-2.0-or-later -URL: https://docs.xfce.org/panel-plugins/xfce4-timer-plugin/start -Source0: https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/%{minorver}/%{name}-%{version}.tar.xz +Name: xfce4-timer-plugin +Version: 1.7.3 +Release: %autorelease +Summary: Timer for the Xfce panel +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later +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: gcc-c++ -BuildRequires: gettext -BuildRequires: libxfce4ui-devel -BuildRequires: libxml2-devel -BuildRequires: meson -BuildRequires: xfce4-panel-devel +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 +Requires: xfce4-panel %description A timer for the Xfce panel. It supports countdown periods and alarms at @@ -26,30 +29,23 @@ certain times. %prep %autosetup - %build -%meson -%meson_build +%configure --disable-static +%make_build %install -%meson_install - -# Rename non-standard hye locale to hy -if [ -d %{buildroot}%{_datadir}/locale/hye ]; then - mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy -fi +%make_install %find_lang %{name} %files -f %{name}.lang -%doc AUTHORS NEWS README.md +%doc AUTHORS ChangeLog %license COPYING -%{_libdir}/xfce4/panel/plugins/libxfcetimer.so +%{_libdir}/xfce4/panel/plugins/libxfcetimer* %{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop %{_datadir}/icons/hicolor/*/apps/xfce4-timer-plugin.*g - %changelog %autochangelog