%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 places plugin for the Xfce panel Name: xfce4-places-plugin Version: 1.8.1 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://goodies.xfce.org/projects/panel-plugins/xfce4-places-plugin Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: intltool BuildRequires: pkgconfig(exo-2) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libxfce4panel-2.0) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfconf-0) Requires: xfce4-panel %description A places plugin for the Xfce panel. %prep %setup -q %autopatch -p1 %build %configure2_5x %make_build %install %make_install #we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc ChangeLog AUTHORS NEWS %{_bindir}/xfce4-popup-places %{_libdir}/xfce4/panel/plugins/libplaces.so %{_datadir}/xfce4/panel/plugins/places.desktop