Package init

(cherry picked from commit be90504aebb71afa18a642ad9f47bd7b86341c84)
This commit is contained in:
cherry530 2021-09-09 16:43:14 +08:00 committed by openeuler-sync-bot
parent 9b3fbd02ba
commit 6eda83e124
2 changed files with 8 additions and 11 deletions

Binary file not shown.

View File

@ -1,23 +1,21 @@
%global minorversion 4.5 %global xfceversion 4.14
%global xfceversion 4.16
%global _hardened_build 1 %global _hardened_build 1
Name: xfce4-eyes-plugin Name: xfce4-eyes-plugin
Version: 4.5.1 Version: 4.5.0
Release: 1 Release: 1
Summary: Eyes for the Xfce panel Summary: Eyes for the Xfce panel
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}/4.5/%{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: xfce4-panel-devel >= %{xfceversion} BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: libxfce4ui-devel >= %{xfceversion} BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: intltool BuildRequires: intltool
BuildRequires: gettext BuildRequires: gettext
Requires: xfce4-panel >= %{xfceversion} Requires: xfce4-panel >= %{xfceversion}
%description %description
@ -37,8 +35,10 @@ similar to the xeyes program.
find %{buildroot} -name \*.la -exec rm {} \; find %{buildroot} -name \*.la -exec rm {} \;
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%files -f %{name}.lang %files -f %{name}.lang
%doc AUTHORS ChangeLog %doc AUTHORS ChangeLog README
%license COPYING %license COPYING
%{_datadir}/xfce4/panel/plugins/*.desktop %{_datadir}/xfce4/panel/plugins/*.desktop
%{_libdir}/xfce4/panel/plugins/libeyes.so %{_libdir}/xfce4/panel/plugins/libeyes.so
@ -46,8 +46,5 @@ find %{buildroot} -name \*.la -exec rm {} \;
%{_datadir}/xfce4/eyes %{_datadir}/xfce4/eyes
%changelog %changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 4.5.1-1
- Update to 4.5.1
* Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.5.0-1 * Tue Jul 14 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.5.0-1
- Init package - Init package