mate-notification-daemon-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. Summary: Notification daemon for MATE
  2. Name: mate-notification-daemon
  3. Version: 1.14.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
  6. # vine theme (based on coco) and vine5 theme (old theme)
  7. # http://github.com/tatofoo/notification-daemon-engine-coco
  8. Source200: mate-notification-daemon-engine-vine.tar.xz
  9. # Vine patch
  10. # add vine and vine5 theme
  11. Patch1001: mate-notification-daemon-1.8.0-vine-theme.patch
  12. # change default to vine
  13. Patch1002: mate-notification-daemon-1.12.0-default-theme.patch
  14. License: GPLv2
  15. Group: System Environment/Libraries
  16. URL: http://mate-desktop.org/
  17. BuildRequires: mate-common
  18. BuildRequires: gtk2-devel
  19. BuildRequires: dbus-devel
  20. BuildRequires: dbus-glib-devel
  21. BuildRequires: libcanberra-devel
  22. BuildRequires: libwnck-devel
  23. BuildRequires: libnotify-devel
  24. BuildRequires: libsexy-devel
  25. BuildRequires: gtk-doc
  26. BuildRequires: autoconf
  27. BuildRequires: automake
  28. Requires(posttrans,postun): glib2
  29. Requires(post,postun): gtk2
  30. Requires(post,postun): desktop-file-utils
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: Takemikaduchi
  35. %description
  36. %{summary}
  37. %prep
  38. %setup -q -a 200
  39. %patch1001 -p1
  40. %patch1002 -p1
  41. %build
  42. autoreconf -if
  43. %configure \
  44. --libexecdir=%{_libexecdir}/mate \
  45. --disable-static \
  46. --disable-scrollkeeper
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  51. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  52. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  53. %find_lang %{name}
  54. %clean
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %post
  57. /sbin/ldconfig
  58. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  59. touch --no-create %{_datadir}/icons/hicolor
  60. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  61. %postun
  62. /sbin/ldconfig
  63. if [ $1 -eq 0 ]; then
  64. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  65. touch --no-create %{_datadir}/icons/hicolor
  66. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. fi
  69. %posttrans
  70. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  71. %files -f %{name}.lang
  72. %defattr(-,root,root,-)
  73. %doc COPYING ChangeLog NEWS README
  74. %{_bindir}/mate-notification-properties
  75. %{_libdir}/mate-notification-daemon/engines/libcoco.so
  76. %{_libdir}/mate-notification-daemon/engines/libnodoka.so
  77. %{_libdir}/mate-notification-daemon/engines/libslider.so
  78. %{_libdir}/mate-notification-daemon/engines/libstandard.so
  79. %{_libdir}/mate-notification-daemon/engines/libvine.so
  80. %{_libdir}/mate-notification-daemon/engines/libvine5.so
  81. %{_libexecdir}/mate/mate-notification-daemon
  82. %{_datadir}/applications/mate-notification-properties.desktop
  83. %{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service
  84. %{_datadir}/glib-2.0/schemas/org.mate.NotificationDaemon.gschema.xml
  85. %{_datadir}/icons/hicolor/*/*/*
  86. %{_datadir}/mate-notification-daemon/mate-notification-properties.ui
  87. %{_mandir}/man1/mate-notification-properties.1.gz
  88. %changelog
  89. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  90. - new upstream release
  91. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  92. - new upstream release
  93. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  94. - new upstream release
  95. - update Patch1002 (mate-notification-daemon-1.12.0-default-theme.patch)
  96. * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  97. - new upstream release
  98. * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  99. - new upstream release
  100. * Sun Jun 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  101. - new upstream release
  102. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  103. - new upstream release
  104. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  105. - new upstream release
  106. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  107. - remove Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  108. - add Source200 (mate-notification-daemon-engine-vine.tar.xz)
  109. - add Patch1001 (mate-notification-daemon-1.8.0-vine-theme.patch)
  110. - add Patch1002 (mate-notification-daemon-1.8.0-default-theme.patch)
  111. - add BuildRequires: libsexy-devel
  112. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  113. - new upstream release
  114. - change BuildRequires: libwnck-devel instead of libmatewnck-devel
  115. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  116. - rebuild with VineSeed environment
  117. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  118. - new upstream release
  119. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  120. - new upstream release
  121. - remove BuildRequires: mate-conf-devel, libmatenotify-devel
  122. - add BuildRequires: libnotify-devel
  123. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  124. - new upstream release
  125. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  126. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  127. - new upstream release
  128. - add Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  129. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  130. - initial build for Vine Linux