!1 Init package

Merge pull request !1 from 陈棋德/master
This commit is contained in:
openeuler-ci-bot 2020-08-03 12:18:56 +08:00 committed by Gitee
commit d84b90ed52
2 changed files with 55 additions and 0 deletions

Binary file not shown.

55
xfce4-timer-plugin.spec Normal file
View File

@ -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 <dillon.chen@turbolinux.com.cn> - 1.7.0-1
- Init package