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 index 705c6ecb66472a80a4d2000ea600e7d08cd48113..6c409e85fb6f793f9f3607aa07ca3aea03c2ba0f 100644 --- a/xfce4-timer-plugin.spec +++ b/xfce4-timer-plugin.spec @@ -1,15 +1,15 @@ %global _hardened_build 1 -%global minorversion 1.7 Name: xfce4-timer-plugin -Version: 1.7.1 +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/%{minorversion}/%{name}-%{version}.tar.bz2 - +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 @@ -17,7 +17,6 @@ BuildRequires: libxml2-devel BuildRequires: gettext BuildRequires: intltool BuildRequires: perl(XML::Parser) - Requires: xfce4-panel %description @@ -36,6 +35,12 @@ The timer progress is shown as a progress bar in the Xfce panel, lasting time di %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 @@ -46,8 +51,5 @@ The timer progress is shown as a progress bar in the Xfce panel, lasting time di %{_datadir}/icons/hicolor/*/apps/xfce4-timer-plugin.*g %changelog -* Fri Jun 18 2021 zhanglin - 1.7.1-1 -- Update to 1.7.1 - * Fri Jul 17 2020 Dillon Chen - 1.7.0-1 - Init package