mate-notification-daemon-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. %define major_ver 1.20
  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. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
  91. - update to 1.20.0
  92. * Tue Jan 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  93. - update to 1.18.1
  94. * Mon Apr 3 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  95. - update to 1.18.0
  96. * Tue Jan 31 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  97. - update to 1.16.1
  98. - drop fix-bold patch (Patch0): upstream merged
  99. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  100. - new upstream release
  101. - add fix-bold patch (Patch0)
  102. - update GTK+ version
  103. - BR: gtk3-devel, libwnck3-devel and libcanberra-gtk3-devel
  104. - drop BuildRequires: libsexy-devel
  105. - update Packager
  106. - stop applying Vine Linux themes
  107. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  108. - new upstream release
  109. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  110. - new upstream release
  111. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  112. - new upstream release
  113. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  114. - new upstream release
  115. - update Patch1002 (mate-notification-daemon-1.12.0-default-theme.patch)
  116. * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  117. - new upstream release
  118. * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  119. - new upstream release
  120. * Sun Jun 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  121. - new upstream release
  122. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  123. - new upstream release
  124. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  125. - new upstream release
  126. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  127. - remove Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  128. - add Source200 (mate-notification-daemon-engine-vine.tar.xz)
  129. - add Patch1001 (mate-notification-daemon-1.8.0-vine-theme.patch)
  130. - add Patch1002 (mate-notification-daemon-1.8.0-default-theme.patch)
  131. - add BuildRequires: libsexy-devel
  132. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  133. - new upstream release
  134. - change BuildRequires: libwnck-devel instead of libmatewnck-devel
  135. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  136. - rebuild with VineSeed environment
  137. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  138. - new upstream release
  139. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  140. - new upstream release
  141. - remove BuildRequires: mate-conf-devel, libmatenotify-devel
  142. - add BuildRequires: libnotify-devel
  143. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  144. - new upstream release
  145. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  146. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  147. - new upstream release
  148. - add Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  149. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  150. - initial build for Vine Linux