%global minorversion 0.5 %global xfceversion 4.16 %global _hardened_build 1 Name: xfce4-smartbookmark-plugin Version: 0.5.2 Release: 1 Summary: Smart bookmarks for the Xfce panel License: GPLv2+ URL: http://goodies.xfce.org/projects/panel-plugins/%{name} Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 %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 %license COPYING %{_libdir}/xfce4/panel/plugins/*.so %{_datadir}/xfce4/panel/plugins/*.desktop %changelog * Fri Jun 18 2021 zhanglin - 0.5.2-1 - Update to 0.5.2 * Fri Jul 17 2020 Dillon Chen - 0.5.1-1 - Init package