mate-media-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Summary: The MATE media tools
  2. Name: mate-media
  3. Version: 1.8.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: gtk2-devel >= 2.18.0
  12. BuildRequires: libxml2-devel
  13. BuildRequires: libcanberra-devel >= 0.13
  14. BuildRequires: pulseaudio-libs-devel >= 0.9.16
  15. BuildRequires: gstreamer-devel
  16. BuildRequires: gstreamer-plugins-base-devel
  17. BuildRequires: unique-devel
  18. BuildRequires: mate-desktop-devel
  19. BuildRequires: mate-panel-devel
  20. BuildRequires: itstool
  21. BuildRequires: gtk-doc
  22. BuildRequires: autoconf
  23. BuildRequires: automake
  24. Requires(posttrans,postun): glib2
  25. Requires(post,postun): desktop-file-utils
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. These are the MATE media tools for MATE:
  32. mate-volume-control - PulseAudio based volume control applets.
  33. grecord - MATE Sound Recorder.
  34. gstreamer-properties - GStreamer Properties Capplet.
  35. profiles - Audio Profile library.
  36. gst-mixer - MATE GStreamer-based audio mixer. (deprecated)
  37. %prep
  38. %setup -q
  39. %build
  40. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  41. %configure \
  42. --disable-static \
  43. --enable-gstmix \
  44. --enable-gst-mixer-applet
  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 > /dev/null || :
  58. %postun
  59. /sbin/ldconfig
  60. if [ $1 -eq 0 ]; then
  61. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  62. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  63. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  64. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  65. fi
  66. %posttrans
  67. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  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. %{_sysconfdir}/xdg/autostart/mate-volume-control-applet.desktop
  73. %{_bindir}/mate-volume-control
  74. %{_bindir}/mate-volume-control-applet
  75. %{_libexecdir}/mixer_applet2
  76. %{_datadir}/MateConf/gsettings/mate-volume-control.convert
  77. %{_datadir}/applications/mate-volume-control.desktop
  78. %{_datadir}/dbus-1/services/org.mate.panel.applet.MixerAppletFactory.service
  79. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.mixer.gschema.xml
  80. %{_datadir}/glib-2.0/schemas/org.mate.volume-control.gschema.xml
  81. %{_datadir}/icons/mate/*/*/*
  82. %{_datadir}/help/*
  83. %{_datadir}/mate-2.0/ui/mixer-applet-menu.xml
  84. %{_datadir}/%{name}
  85. %{_datadir}/mate-panel/applets/org.mate.applets.MixerApplet.mate-panel-applet
  86. %{_datadir}/sounds/mate/default/alerts/*
  87. %{_mandir}/man1/mate-volume-control-applet.1.gz
  88. %{_mandir}/man1/mate-volume-control.1.gz
  89. %changelog
  90. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  91. - new upstream release
  92. - add BuildRequires: itstool
  93. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  94. - rebuild with VineSeed environment
  95. * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  96. - initial build