mate-notification-daemon-vl.spec 5.6 KB

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