mate-notification-daemon-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Summary: Notification daemon for MATE
  2. Name: mate-notification-daemon
  3. Version: 1.6.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. Patch0: mate-notification-daemon-1.2.0-makefile.patch
  7. License: GPLv2
  8. Group: System Environment/Libraries
  9. URL: http://mate-desktop.org/
  10. BuildRequires: mate-common
  11. BuildRequires: gtk2-devel
  12. BuildRequires: dbus-devel
  13. BuildRequires: dbus-glib-devel
  14. BuildRequires: libcanberra-devel
  15. BuildRequires: libmatewnck-devel
  16. BuildRequires: libnotify-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. Requires(posttrans,postun): glib2
  21. Requires(post,postun): gtk2
  22. Requires(post,postun): desktop-file-utils
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. Packager: Takemikaduchi
  27. %description
  28. %{summary}
  29. %prep
  30. %setup -q
  31. %patch0 -p1
  32. %build
  33. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  34. %configure \
  35. --libexecdir=%{_libexecdir}/mate \
  36. --disable-static \
  37. --disable-scrollkeeper
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %post
  48. /sbin/ldconfig
  49. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  50. touch --no-create %{_datadir}/icons/hicolor
  51. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  52. %postun
  53. /sbin/ldconfig
  54. if [ $1 -eq 0 ]; then
  55. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  56. touch --no-create %{_datadir}/icons/hicolor
  57. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  58. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  59. fi
  60. %posttrans
  61. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  62. %files -f %{name}.lang
  63. %defattr(-,root,root,-)
  64. %doc COPYING ChangeLog NEWS README
  65. %{_bindir}/mate-notification-properties
  66. %{_libdir}/mate-notification-daemon/engines/libcoco.so
  67. %{_libdir}/mate-notification-daemon/engines/libnodoka.so
  68. %{_libdir}/mate-notification-daemon/engines/libslider.so
  69. %{_libdir}/mate-notification-daemon/engines/libstandard.so
  70. %{_libexecdir}/mate/mate-notification-daemon
  71. %{_datadir}/MateConf/gsettings/mate-notification-daemon.convert
  72. %{_datadir}/applications/mate-notification-properties.desktop
  73. %{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service
  74. %{_datadir}/glib-2.0/schemas/org.mate.NotificationDaemon.gschema.xml
  75. %{_datadir}/icons/hicolor/*/*/*
  76. %{_datadir}/mate-notification-daemon/mate-notification-properties.ui
  77. %{_mandir}/man1/mate-notification-properties.1.gz
  78. %changelog
  79. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  80. - new upstream release
  81. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  82. - new upstream release
  83. - remove BuildRequires: mate-conf-devel, libmatenotify-devel
  84. - add BuildRequires: libnotify-devel
  85. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  86. - new upstream release
  87. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  88. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  89. - new upstream release
  90. - add Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  91. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  92. - initial build for Vine Linux