xfce4-notifyd-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: xfce4-notifyd
  2. Summary: Notification daemon for Xfce
  3. Summary(ja): Xfce 用の通知デーモン
  4. Version: 0.2.4
  5. Release: 2%{?_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: dbus-devel >= 1.0.0
  13. BuildRequires: dbus-glib-devel >= 0.72
  14. BuildRequires: gtk2-devel >= 2.14.0
  15. BuildRequires: libnotify-devel >= 0.7.0
  16. BuildRequires: libxfce4util-devel >= 4.4.0
  17. BuildRequires: libxfce4ui-devel >= 4.7.0
  18. BuildRequires: xfconf-devel >= 0.1
  19. Requires(post): desktop-file-utils
  20. Requires(postun): desktop-file-utils
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: Takemikaduchi, inagaki
  24. %description
  25. The Xfce Notify Daemon (xfce4-notifyd for short) is a smallish program that
  26. implements the "server-side" portion of the Freedesktop desktop notifications
  27. specification. Applications that wish to pop up a notification bubble in
  28. a standard way can implicitly make use of xfce4-notifyd to do so by
  29. sending standard messages over D-Bus using the org.freedesktop.Notifications
  30. interface.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --enable-silent-rules --disable-static
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  40. desktop-file-install \
  41. --add-category="X-XFCE" \
  42. --delete-original \
  43. --dir=%{buildroot}%{_datadir}/applications \
  44. ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-notifyd-config.desktop
  45. %find_lang %{name}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post
  49. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  50. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  51. update-desktop-database %{_datadir}/applications &> /dev/null || :
  52. %postun
  53. if [ $1 -eq 0 ]; then
  54. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. fi
  57. update-desktop-database %{_datadir}/applications &> /dev/null || :
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS ChangeLog NEWS TODO COPYING
  61. %{_bindir}/%{name}-config
  62. %{_libdir}/xfce4/notifyd/%{name}
  63. %{_datadir}/applications/%{name}-config.desktop
  64. %{_datadir}/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
  65. %{_datadir}/icons/hicolor/*/apps/*
  66. %{_datadir}/themes/Default/xfce-notify-4.0
  67. %{_datadir}/themes/Smoke/xfce-notify-4.0
  68. %{_datadir}/themes/ZOMG-PONIES!/xfce-notify-4.0
  69. %{_mandir}/man1/xfce4-notifyd-config.1.gz
  70. %changelog
  71. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.2.4-2
  72. - rebuilt with libxfce4util 4.12.1
  73. * Sat Sep 13 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.2.4-1
  74. - updated to 0.2.4
  75. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
  76. - rebuild with VineSeed environment
  77. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  78. - initial build for Vine Linux