%global _hardened_build 1 Name: xfce4-verve-plugin Version: 2.0.0 Release: 1 Summary: Comfortable command line plugin 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}/2.0/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildArch: noarch BuildRequires: gcc-c++ BuildRequires: dbus-glib-devel >= 0.34 BuildRequires: exo-devel >= 0.5.0 BuildRequires: libxfce4ui-devel BuildRequires: libxml2-devel BuildRequires: pcre-devel >= 5.0 BuildRequires: xfce4-panel-devel BuildRequires: gettext, intltool, perl(XML::Parser) Requires: xfce4-panel Provides: verve-plugin = %{version} Provides: xfce4-minicmd-plugin = 0.4-9 %description This plugin is like the (quite old) xfce4-minicmd-plugin, except that it ships more cool features, such as: * Command history * Auto-completion (including command history) * Open URLs and eMail addresses in your favourite applications * Focus grabbing via D-BUS (so you can bind a shortcut to it) * Custom input field width %prep %autosetup %build %configure --disable-static --enable-dbus %make_build %install %make_install # remove la file find %{buildroot} -name '*.la' -exec rm -f {} ';' # make sure debuginfo is generated properly chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so %find_lang %{name} %files -f %{name}.lang %doc AUTHORS COPYING ChangeLog README THANKS %{_libdir}/xfce4/panel/plugins/libverve.so %{_datadir}/xfce4/panel/plugins/*.desktop %changelog * Wed Jul 22 2020 Dillon Chen - 2.0.0-1 - Init package