mate-notification-daemon-vl.spec 5.5 KB

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