mate-notification-daemon-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Summary: Notification daemon for MATE
  2. Name: mate-notification-daemon
  3. Version: 1.8.2
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{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.8.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}/MateConf/gsettings/mate-notification-daemon.convert
  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 Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  91. - new upstream release
  92. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  93. - new upstream release
  94. * Sun Jun 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  95. - remove Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  96. - add Source200 (mate-notification-daemon-engine-vine.tar.xz)
  97. - add Patch1001 (mate-notification-daemon-1.8.0-vine-theme.patch)
  98. - add Patch1002 (mate-notification-daemon-1.8.0-default-theme.patch)
  99. - add BuildRequires: libsexy-devel
  100. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  101. - new upstream release
  102. - change BuildRequires: libwnck-devel instead of libmatewnck-devel
  103. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  104. - rebuild with VineSeed environment
  105. * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  106. - new upstream release
  107. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  108. - new upstream release
  109. - remove BuildRequires: mate-conf-devel, libmatenotify-devel
  110. - add BuildRequires: libnotify-devel
  111. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  112. - new upstream release
  113. - change BuildRequires: libmatewnck-devel instead of libwnck-devel
  114. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  115. - new upstream release
  116. - add Patch0 (mate-notification-daemon-1.2.0-makefile.patch)
  117. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  118. - initial build for Vine Linux