xfce4-notifyd-vl.spec 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Name: xfce4-notifyd
  2. Summary: Notification daemon for Xfce
  3. Summary(ja): Xfce 用 notification daemon
  4. Version: 0.2.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Desktops
  8. URL: http://goodies.xfce.org/projects/applications/%{name}
  9. Source0: http://archive.xfce.org/src/apps/%{name}/0.2/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: libxfce4util-devel >= 4.4.0
  13. BuildRequires: libxfce4ui-devel >= 4.7.0
  14. BuildRequires: xfconf-devel >= 0.1
  15. BuildRequires: gtk2-devel >= 2.14.0
  16. BuildRequires: dbus-glib-devel >= 0.72
  17. BuildRequires: libnotify-devel >= 0.4.4
  18. Requires(post,postun): desktop-file-utils
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. The Xfce Notify Daemon (xfce4-notifyd for short) is a smallish program that
  24. implements the "server-side" portion of the Freedesktop desktop notifications
  25. specification. Applications that wish to pop up a notification bubble in
  26. a standard way can implicitly make use of xfce4-notifyd to do so by
  27. sending standard messages over D-Bus using the org.freedesktop.Notifications
  28. interface.
  29. %prep
  30. %setup -q
  31. %build
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  38. desktop-file-install \
  39. --add-category="X-XFCE" \
  40. --delete-original \
  41. --dir=%{buildroot}%{_datadir}/applications \
  42. ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-notifyd-config.desktop
  43. %find_lang %{name}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post
  47. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  48. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  49. update-desktop-database %{_datadir}/applications &> /dev/null || :
  50. %postun
  51. if [ $1 -eq 0 ]; then
  52. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  54. fi
  55. update-desktop-database %{_datadir}/applications &> /dev/null || :
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS ChangeLog NEWS TODO COPYING
  59. %{_bindir}/%{name}-config
  60. %{_libdir}/xfce4/notifyd/%{name}
  61. %{_datadir}/applications/%{name}-config.desktop
  62. %{_datadir}/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
  63. %{_datadir}/icons/hicolor/*/apps/*
  64. %{_datadir}/themes/Default/xfce-notify-4.0
  65. %{_datadir}/themes/Smoke/xfce-notify-4.0
  66. %{_datadir}/themes/ZOMG-PONIES!/xfce-notify-4.0
  67. %{_mandir}/man1/xfce4-notifyd-config.1.gz
  68. %changelog
  69. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  70. - initial build for Vine Linux