mate-media-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Summary: The MATE media tools
  2. Name: mate-media
  3. Version: 1.6.0
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{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: gtk-doc
  21. BuildRequires: autoconf
  22. BuildRequires: automake
  23. Requires(posttrans,postun): glib2
  24. Requires(post,postun): desktop-file-utils
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi
  29. %description
  30. These are the MATE media tools for MATE:
  31. mate-volume-control - PulseAudio based volume control applets.
  32. grecord - MATE Sound Recorder.
  33. gstreamer-properties - GStreamer Properties Capplet.
  34. profiles - Audio Profile library.
  35. gst-mixer - MATE GStreamer-based audio mixer. (deprecated)
  36. %prep
  37. %setup -q
  38. %build
  39. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  40. %configure \
  41. --disable-static \
  42. --enable-gstmix \
  43. --enable-gst-mixer-applet
  44. %{__make} %{?_smp_mflags}
  45. %install
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  48. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  49. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  50. %find_lang %{name}
  51. %clean
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %post
  54. /sbin/ldconfig
  55. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  56. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  57. %postun
  58. /sbin/ldconfig
  59. if [ $1 -eq 0 ]; then
  60. touch --no-create %{_datadir}/icons/hicolor > /dev/null || :
  61. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  62. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. fi
  65. %posttrans
  66. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  67. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  68. %files -f %{name}.lang
  69. %defattr(-,root,root,-)
  70. %doc COPYING ChangeLog NEWS README
  71. %{_sysconfdir}/xdg/autostart/mate-volume-control-applet.desktop
  72. %{_bindir}/mate-volume-control
  73. %{_bindir}/mate-volume-control-applet
  74. %{_libexecdir}/mixer_applet2
  75. %{_datadir}/MateConf/gsettings/mate-volume-control.convert
  76. %{_datadir}/applications/mate-volume-control.desktop
  77. %{_datadir}/dbus-1/services/org.mate.panel.applet.MixerAppletFactory.service
  78. %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.mixer.gschema.xml
  79. %{_datadir}/glib-2.0/schemas/org.mate.volume-control.gschema.xml
  80. %{_datadir}/icons/mate/*/*/*
  81. %{_datadir}/mate/help/mate-mixer_applet2
  82. %{_datadir}/mate/help/mate-volume-control
  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}/omf/mate-mixer_applet2
  87. %{_datadir}/omf/mate-volume-control
  88. %{_datadir}/sounds/mate/default/alerts/*
  89. %changelog
  90. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  91. - rebuild with VineSeed environment
  92. * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  93. - initial build