diff --git a/xfce4-notifyd-0.6.1.tar.bz2 b/xfce4-notifyd-0.6.1.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..41481f9e02887a958427f3d55d8de01f884f43a9 Binary files /dev/null and b/xfce4-notifyd-0.6.1.tar.bz2 differ diff --git a/xfce4-notifyd.spec b/xfce4-notifyd.spec index 8b2c42671d35978401abdf4b3408ab2e15af3001..d72052d802945da1270ec2aa44b86dcd1397c637 100644 --- a/xfce4-notifyd.spec +++ b/xfce4-notifyd.spec @@ -1,15 +1,15 @@ -%global minorversion 0.6 -%global xfceversion 4.16 +%global xfceversion 4.14 Name: xfce4-notifyd -Version: 0.6.2 +Version: 0.6.1 Release: 1 Summary: Simple, visually-appealing notification daemon for Xfce License: GPLv2 +#Group: Development/Libraries URL: http://goodies.xfce.org/projects/applications/xfce4-notifyd -Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 - +Source0: http://archive.xfce.org/src/apps/%{name}/0.6/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#BuildArch: noarch BuildRequires: gcc-c++ BuildRequires: glib2-devel >= 2.42.0 BuildRequires: gtk3-devel >= 3.20.0 @@ -21,7 +21,6 @@ BuildRequires: xfce4-panel-devel >= %{xfceversion} BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: systemd - Requires: dbus Requires: hicolor-icon-theme Provides: desktop-notification-daemon @@ -44,32 +43,37 @@ Features: %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 + desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-config.desktop + %find_lang %{name} -# remove la file -find %{buildroot} -name '*.la' -exec rm -f {} ';' +%ldconfig_scriptlets %files -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog NEWS README TODO %{_bindir}/xfce4-notifyd-config %{_libdir}/xfce4/notifyd/ -%{_libdir}/xfce4/panel/plugins/libnotification-plugin.so +%{_libdir}/xfce4/panel/plugins/*.so %{_datadir}/applications/xfce4-notifyd-config.desktop +%{_datadir}/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service +%{_datadir}/icons/hicolor/48x48/apps/xfce4-notifyd.png %{_datadir}/themes/Default/xfce-notify-4.0/ %{_datadir}/themes/Smoke/ %{_datadir}/themes/ZOMG-PONIES!/ %{_datadir}/themes/Bright/ %{_datadir}/themes/Retro/ +%{_datadir}/xfce4/panel/plugins/*.desktop %{_datadir}/icons/hicolor/*/*/* -%{_datadir}/xfce4/panel/plugins/notification-plugin.desktop %{_mandir}/man1/xfce4-notifyd-config.1.* -%{_sysconfdir}/xdg/autostart/%{name}.desktop +%{_userunitdir}/xfce4-notifyd.service %changelog -* Fri Jun 18 2021 zhanglin - 0.6.2-1 -- Update to 0.6.2 - * Wed Jul 15 2020 - 0.6.1-1 - Init package