Init package
This commit is contained in:
parent
d78aa82c1b
commit
4bf007827f
BIN
xfce4-timer-plugin-1.7.0.tar.bz2
Normal file
BIN
xfce4-timer-plugin-1.7.0.tar.bz2
Normal file
Binary file not shown.
55
xfce4-timer-plugin.spec
Normal file
55
xfce4-timer-plugin.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user