Package init
(cherry picked from commit 0b3934dfc0685930775a177cdc318266b12b9a54)
This commit is contained in:
parent
751e5dd993
commit
fdbf4cd8c6
BIN
xfce4-time-out-plugin-1.1.1.tar.bz2
Normal file
BIN
xfce4-time-out-plugin-1.1.1.tar.bz2
Normal file
Binary file not shown.
@ -1,15 +1,15 @@
|
|||||||
%global minorversion 1.1
|
%global xfceversion 4.14
|
||||||
%global xfceversion 4.16
|
|
||||||
|
|
||||||
Name: xfce4-time-out-plugin
|
Name: xfce4-time-out-plugin
|
||||||
Version: 1.1.2
|
Version: 1.1.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Xfce panel plugin for taking breaks from the computer
|
Summary: Xfce panel plugin for taking breaks from the computer
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
|
#Group: Development/Libraries
|
||||||
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
|
URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
|
||||||
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
|
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.1/%{name}-%{version}.tar.bz2
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
#BuildArch: noarch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
||||||
BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
||||||
@ -17,7 +17,6 @@ BuildRequires: libxml2-devel
|
|||||||
BuildRequires: libICE-devel
|
BuildRequires: libICE-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
|
|
||||||
Requires: xfce4-panel >= %{xfceversion}
|
Requires: xfce4-panel >= %{xfceversion}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -35,23 +34,21 @@ postpone breaks for a certain time.
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
# remove la file
|
||||||
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
# make sure debuginfo is generated properly
|
# make sure debuginfo is generated properly
|
||||||
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
|
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
|
||||||
|
|
||||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog NEWS THANKS
|
%doc AUTHORS ChangeLog NEWS README THANKS
|
||||||
%{_libdir}/xfce4/panel/plugins/
|
%{_libdir}/xfce4/panel/plugins/
|
||||||
%{_datadir}/xfce4/panel/plugins/*.desktop
|
%{_datadir}/xfce4/panel/plugins/*.desktop
|
||||||
%{_datadir}/icons/hicolor/*/*/*
|
%{_datadir}/icons/hicolor/*/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 1.1.2-1
|
|
||||||
- Update to 1.1.2
|
|
||||||
|
|
||||||
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.1.1-1
|
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 1.1.1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user