3a8f4ea
# Review: https://bugzilla.redhat.com/show_bug.cgi?id=499282
3a8f4ea
5b3d742
%global minorversion 0.2
5b3d742
ca659c3
Name:           xfce4-notifyd
9439b13
Version:        0.2.4
a810d1a
Release:        8%{?dist}
ca659c3
Summary:        Simple notification daemon for Xfce
ca659c3
ca659c3
Group:          User Interface/Desktops
ca659c3
License:        GPLv2
5b3d742
URL:            http://goodies.xfce.org/projects/applications/xfce4-notifyd
d7325ea
#VCS:           git:git://http://git.xfce.org/apps/xfce4-notifyd/
5b3d742
Source0:        http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
ca659c3
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ca659c3
5b3d742
BuildRequires:  gtk2-devel >= 2.14.0
5b3d742
BuildRequires:  libxfce4ui-devel >= 4.7.0
ca659c3
BuildRequires:  xfconf-devel >= 4.5.90
ca659c3
BuildRequires:  dbus-glib-devel >= 0.72
ca659c3
BuildRequires:  desktop-file-utils
fe37349
BuildRequires:  libnotify-devel >= 0.7.0
ca659c3
BuildRequires:  intltool
ca659c3
Requires:       dbus
ca659c3
Requires:       hicolor-icon-theme
d78bce5
# for compatibility this package provides
570ef82
Provides:       desktop-notification-daemon
ca659c3
# and obsoletes all notification-daemon-xfce releases
ca659c3
Obsoletes:      notification-daemon-xfce <= 0.3.7
ca659c3
ca659c3
ca659c3
%description
ca659c3
Xfce4-notifyd is a simple, visually-appealing notification daemon for Xfce 
ca659c3
that implements the freedesktop.org desktop notifications specification.
ca659c3
Features:
ca659c3
* Themable using the GTK+ theming mechanism
ca659c3
* Visually appealing: rounded corners, shaped windows
ca659c3
* Supports transparency and fade effects
ca659c3
ca659c3
ca659c3
%prep
ca659c3
%setup -q
5b3d742
ca659c3
ca659c3
%build
ca659c3
%configure
f79cf06
make %{?_smp_mflags} V=1
ca659c3
ca659c3
ca659c3
%install
ca659c3
rm -rf $RPM_BUILD_ROOT
875219d
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
9f78003
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-config.desktop
ca659c3
%find_lang %{name}
ca659c3
ca659c3
ca659c3
%post
ca659c3
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
ca659c3
ca659c3
ca659c3
%postun
ca659c3
if [ $1 -eq 0 ] ; then
ca659c3
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
ca659c3
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
ca659c3
fi
ca659c3
ca659c3
ca659c3
%posttrans
ca659c3
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
ca659c3
ca659c3
ca659c3
%clean
cbfcf1b
rm -rf %{buildroot}
ca659c3
ca659c3
ca659c3
%files -f %{name}.lang
ca659c3
%defattr(-,root,root,-)
ca659c3
%doc AUTHORS ChangeLog COPYING NEWS README TODO
ca659c3
%{_bindir}/xfce4-notifyd-config
875219d
%{_libdir}/xfce4/notifyd/
ca659c3
%{_datadir}/applications/xfce4-notifyd-config.desktop
f79cf06
%{_datadir}/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
ca659c3
%{_datadir}/icons/hicolor/48x48/apps/xfce4-notifyd.png
ca659c3
%{_datadir}/themes/Default/xfce-notify-4.0/
ca659c3
%{_datadir}/themes/Smoke/
ca659c3
%{_datadir}/themes/ZOMG-PONIES!/
5b3d742
%{_mandir}/man1/xfce4-notifyd-config.1.*
ca659c3
ca659c3
ca659c3
%changelog
a810d1a
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-8
a810d1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a810d1a
570ef82
* Sat Feb 28 2015 Kevin Fenzi <kevin@scrye.com> 0.2.4-7
570ef82
- Rebuild again with provider and against Xfce 4.12
570ef82
a31a1c1
* Sat Feb 28 2015 Kevin Fenzi <kevin@scrye.com> 0.2.4-6
a31a1c1
- Rebuild without provider to bootstrap against Xfce 4.12
a31a1c1
0efc102
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.2.4-5
0efc102
- Rebuilt for Fedora 23 Change
0efc102
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
0efc102
11f89c7
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
11f89c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
11f89c7
c3c7cce
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
c3c7cce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c3c7cce
7351b51
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
7351b51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7351b51
9439b13
* Thu May 09 2013 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.4-1
9439b13
- Update to 0.2.4
9439b13
f79cf06
* Mon Apr 22 2013 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.3-1
ef30316
- Update to 0.2.3 (fixes #759053 and #926785)
fe37349
- BR libnotify-devel
ef30316
- Drop upstreamed patches
f79cf06
e58d299
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-7
e58d299
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e58d299
d7325ea
* Sat Oct 06 2012 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.2-6
d7325ea
- Remove obsolete libsexy checks
d7325ea
- Add patch to avoid flickering
d7325ea
- Add patch to support image URI locations
d7325ea
- Make xfce4-notifyd-config show up in xfce4-settings-manager
d7325ea
a9aa591
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-5
a9aa591
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a9aa591
97655b9
* Sun Apr 01 2012 Kevin Fenzi <kevin@scrye.com> - 0.2.2-4
97655b9
- Rebuild for new lbxfce4util
97655b9
83539cd
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
83539cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
83539cd
46e555b
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.2.2-2
46e555b
- Rebuild for new libpng
46e555b
e0a544c
* Tue Aug 09 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.2-1
e0a544c
- Update to 0.2.2
e0a544c
- Remove upstreamed Fix-race-with-window-becoming-invalid.patch
e0a544c
f701a4b
* Sun Jul 31 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.1-3
cf27648
- Fix crash in handle_error. Thanks to Ricky Zhou (#706677)
61facd2
- Remove obsolete BuildRequires libglade2-devel
61facd2
c2d2959
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-2
c2d2959
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c2d2959
875219d
* Wed Feb 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.1-1
875219d
- Update to 0.2.1 (fixes #660549)
875219d
- Own %%{_libdir}/xfce4/notifyd/
875219d
875219d
* Sat Nov 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.0-1
5b3d742
- Update to 0.2.0
5b3d742
374a85b
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
374a85b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
374a85b
d78bce5
* Mon Feb 23 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2
d78bce5
- Patch to rename dbus-service file to avoid conflict with notification-daemon
c553d5c
- Add Debian's patch support the reason arg in libnotify 0.4.5
d78bce5
ca659c3
* Mon Feb 23 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1
ca659c3
- Initial Fedora Package