diff --git a/.cvsignore b/.cvsignore index e69de29..d85194a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xfce4-notifyd-0.1.0.tar.bz2 diff --git a/sources b/sources index e69de29..7c39773 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +659ecaf37f0f7ee9e31f7b25f9813778 xfce4-notifyd-0.1.0.tar.bz2 diff --git a/xfce4-notifyd.spec b/xfce4-notifyd.spec new file mode 100644 index 0000000..cee56a8 --- /dev/null +++ b/xfce4-notifyd.spec @@ -0,0 +1,97 @@ +# Review: https://bugzilla.redhat.com/show_bug.cgi?id=499282 + +Name: xfce4-notifyd +Version: 0.1.0 +Release: 1%{?dist} +Summary: Simple notification daemon for Xfce + +Group: User Interface/Desktops +License: GPLv2 +URL: http://spuriousinterrupt.org/projects/xfce4-notifyd +Source0: http://spuriousinterrupt.org/files/xfce4-notifyd/xfce4-notifyd-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gtk2-devel >= 2.10.0 +BuildRequires: libxfcegui4-devel >= 4.5.90 +BuildRequires: xfconf-devel >= 4.5.90 +BuildRequires: dbus-glib-devel >= 0.72 +BuildRequires: libglade2-devel >= 2.6.0 +BuildRequires: libsexy-devel >= 0.1.6 +BuildRequires: desktop-file-utils +BuildRequires: intltool +Requires: dbus +Requires: hicolor-icon-theme +# the package conflicts with Gnome's notification-daemon +Conflicts: notification-daemon +# but also provides +Provides: desktop-notification-daemon +# and obsoletes all notification-daemon-xfce releases +Obsoletes: notification-daemon-xfce <= 0.3.7 + + +%description +Xfce4-notifyd is a simple, visually-appealing notification daemon for Xfce +that implements the freedesktop.org desktop notifications specification. +Features: +* Themable using the GTK+ theming mechanism +* Visually appealing: rounded corners, shaped windows +* Supports transparency and fade effects + + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +desktop-file-install \ + --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ + --add-only-show-in=XFCE \ + --delete-original \ + ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-notifyd-config.desktop +%find_lang %{name} + + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}.lang +%defattr(-,root,root,-) +# FIXME: Tell author to include the correct COPYING file +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_bindir}/xfce4-notifyd-config +%{_libexecdir}/xfce4-notifyd +%{_datadir}/applications/xfce4-notifyd-config.desktop +%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service +%{_datadir}/icons/hicolor/48x48/apps/xfce4-notifyd.png +%{_datadir}/themes/Default/xfce-notify-4.0/ +%{_datadir}/themes/Smoke/ +%{_datadir}/themes/ZOMG-PONIES!/ + + +%changelog +* Mon Feb 23 2009 Christoph Wickert - 0.1.0-1 +- Initial Fedora Package