3a8f4ea
# Review: https://bugzilla.redhat.com/show_bug.cgi?id=499282
3a8f4ea
e448651
%global minorversion 0.6
dfef3c3
%global xfceversion 4.18
5b3d742
ca659c3
Name:           xfce4-notifyd
dfef3c3
Version:        0.6.5
47d619f
Release:        %autorelease
ca659c3
Summary:        Simple notification daemon for Xfce
ca659c3
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
0584372
BuildRequires:  make
3e7dbc2
BuildRequires:  gcc-c++
bdade1c
BuildRequires:  gtk3-devel >= 3.20.0
3e7dbc2
BuildRequires:  libxfce4ui-devel >= %{xfceversion}
3e7dbc2
BuildRequires:  libxfce4util-devel >= %{xfceversion}
3e7dbc2
BuildRequires:  xfconf-devel >= %{xfceversion}
3e7dbc2
BuildRequires:  xfce4-panel-devel >= %{xfceversion}
bdade1c
BuildRequires:  glib2-devel >= 2.42.0
fe37349
BuildRequires:  libnotify-devel >= 0.7.0
bdade1c
BuildRequires:  desktop-file-utils
ca659c3
BuildRequires:  intltool
bdade1c
BuildRequires:  systemd
bdade1c
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
8ebd5d7
%make_build
ca659c3
ca659c3
%install
8ebd5d7
%make_install
8ebd5d7
9f78003
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-config.desktop
ca659c3
%find_lang %{name}
ca659c3
4f468d2
# remove libtool archives
a1eb13a
find %{buildroot} -name \*.la -exec rm {} \;
ca659c3
ca659c3
ca659c3
%files -f %{name}.lang
18e90ca
%license COPYING
18e90ca
%doc AUTHORS ChangeLog NEWS README TODO
ca659c3
%{_bindir}/xfce4-notifyd-config
875219d
%{_libdir}/xfce4/notifyd/
4f468d2
%{_libdir}/xfce4/panel/plugins/libnotification-plugin.so
ca659c3
%{_datadir}/applications/xfce4-notifyd-config.desktop
ca659c3
%{_datadir}/themes/Default/xfce-notify-4.0/
ca659c3
%{_datadir}/themes/Smoke/
ca659c3
%{_datadir}/themes/ZOMG-PONIES!/
5063d80
%{_datadir}/themes/Bright/
5063d80
%{_datadir}/themes/Retro/
4f468d2
%{_datadir}/icons/hicolor/*/*/*
4f468d2
%{_datadir}/xfce4/panel/plugins/notification-plugin.desktop
5b3d742
%{_mandir}/man1/xfce4-notifyd-config.1.*
a1eb13a
%{_sysconfdir}/xdg/autostart/%{name}.desktop
ca659c3
ca659c3
%changelog
47d619f
%autochangelog