%global xfceversion 4.14 %global _hardened_build 1 Name: xfce4-eyes-plugin Version: 4.5.0 Release: 1 Summary: Eyes 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}/4.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: libxml2-devel BuildRequires: intltool BuildRequires: gettext Requires: xfce4-panel >= %{xfceversion} %description This plugin adds eyes to the Xfce panel which follow your cursor, similar to the xeyes program. %prep %autosetup %build %configure --disable-static %make_build %install %make_install %find_lang %{name} find %{buildroot} -name \*.la -exec rm {} \; chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so %files -f %{name}.lang %doc AUTHORS ChangeLog README %license COPYING %{_datadir}/xfce4/panel/plugins/*.desktop %{_libdir}/xfce4/panel/plugins/libeyes.so %{_datadir}/icons/hicolor/*/apps/xfce4-eyes.png %{_datadir}/xfce4/eyes %changelog * Tue Jul 14 2020 Dillon Chen - 4.5.0-1 - Init package