mate-notification-daemon-vl.spec 4.3 KB

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