!6 [sync] PR-4: Package init

From: @openeuler-sync-bot
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-12-03 09:52:58 +00:00 committed by Gitee
commit 72aef3082e
2 changed files with 7 additions and 10 deletions

Binary file not shown.

View File

@ -1,16 +1,16 @@
%global minorversion 0.5 %global xfceversion 4.14
%global xfceversion 4.16
%global _hardened_build 1 %global _hardened_build 1
Name: xfce4-smartbookmark-plugin Name: xfce4-smartbookmark-plugin
Version: 0.5.2 Version: 0.5.1
Release: 1 Release: 1
Summary: Smart bookmarks for the Xfce panel Summary: Smart bookmarks 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}/0.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}
@ -24,7 +24,7 @@ This plugin adds a text field to the Xfce panel, allowing the user to search
the web. The URL and the text field size are configurable options. the web. The URL and the text field size are configurable options.
%prep %prep
%autosetup %autosetup -p1
%build %build
%configure --disable-static %configure --disable-static
@ -39,14 +39,11 @@ chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name} %find_lang %{name}
%files -f %{name}.lang %files -f %{name}.lang
%doc AUTHORS ChangeLog %doc AUTHORS ChangeLog README
%license COPYING %license COPYING
%{_libdir}/xfce4/panel/plugins/*.so %{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop %{_datadir}/xfce4/panel/plugins/*.desktop
%changelog %changelog
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.5.2-1
- Update to 0.5.2
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.1-1 * Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.1-1
- Init package - Init package