%define url_ver %(echo %{version} | cut -d. -f1,2) # don't provide plugin .so %global __provides_exclude_from %{_libdir}/xfce4/panel/plugins/.*\\.so Summary: A minicmd-plugin for the Xfce panel Name: xfce4-verve-plugin Version: 2.0.1 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://docs.xfce.org/panel-plugins/xfce4-verve-plugin Source0: http://archive.xfce.org/src/panel-plugins/xfce4-verve-plugin/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: git-core BuildRequires: intltool BuildRequires: xfce4-dev-tools BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(libxfce4panel-2.0) BuildRequires: pkgconfig(libxfce4ui-2) Requires: xfce4-panel >= 4.12.0 Requires: exo %description This plugin is like the (quite old) xfce4-minicmd-plugin, except that it feature more cool features, like autocompletion and command history. %prep %autosetup -Sgit_am -p1 %build %xdt_autogen %configure %make_build %install %make_install #we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc AUTHORS README* THANKS %{_datadir}/xfce4/panel/plugins/%{name}.desktop %{_libdir}/xfce4/panel/plugins/libverve.so