Init package

This commit is contained in:
dillon chen 2020-07-17 17:48:23 +08:00
parent 2a9e8147c6
commit 1916d74942
2 changed files with 49 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,49 @@
%global xfceversion 4.14
%global _hardened_build 1
Name: xfce4-smartbookmark-plugin
Version: 0.5.1
Release: 1
Summary: Smart bookmarks 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/%{name}/0.5/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: xfce4-panel-devel >= %{xfceversion}
BuildRequires: libxfce4ui-devel >= %{xfceversion}
BuildRequires: gettext
BuildRequires: intltool
Requires: xfce4-panel >= %{xfceversion}
Requires: webclient
%description
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.
%prep
%autosetup -p1
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
%files -f %{name}.lang
%doc AUTHORS ChangeLog README
%license COPYING
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%changelog
* Fri Jul 17 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.5.1-1
- Init package