%define url_ver %(echo %{version} | cut -d. -f1,2) %global __provides_exclude_from %{_libdir}/xfce4/panel/plugins/.*\\.so Summary: Notes plugin for the Xfce panel Name: xfce4-notes-plugin Version: 1.11.0 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce URL: https://docs.xfce.org/panel-plugins/xfce4-notes-plugin Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 # Upstream patches # # Mageia patches # BuildRequires: git-core BuildRequires: intltool BuildRequires: xfce4-dev-tools BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libxfce4panel-2.0) BuildRequires: pkgconfig(libxfce4ui-2) BuildRequires: pkgconfig(libxfce4util-1.0) BuildRequires: pkgconfig(libxfconf-0) BuildRequires: vala Requires: xfce4-panel %description xfce4-notes-plugin is a notes panel plugin for the Xfce Desktop Environment. It provides a simple system for managing sticky notes on your desktop. %prep %autosetup -p1 -Sgit_am %build %xdt_autogen %configure \ --enable-maintainer-mode \ --disable-static %make_build %install %make_install # we don't want these find %{buildroot} -name "*.la" -delete %find_lang %{name} %files -f %{name}.lang %doc README* ChangeLog AUTHORS %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop %{_bindir}/xfce4-notes %{_bindir}/xfce4-notes-settings %{_bindir}/xfce4-popup-notes %{_libdir}/xfce4/panel/plugins/libnotes.so %{_datadir}/xfce4/panel/plugins/xfce4-notes-plugin.desktop %dir %{_datadir}/xfce4/notes/ %dir %{_datadir}/xfce4/notes/gtk-3.0/ %{_datadir}/xfce4/notes/gtk-3.0/gtk.css %{_datadir}/applications/xfce4-notes.desktop %{_iconsdir}/hicolor/*/apps/*.{png,svg}