[7825] | 1 | Summary: The MATE media tools |
---|
| 2 | Name: mate-media |
---|
[9842] | 3 | Version: 1.12.1 |
---|
[8359] | 4 | Release: 1%{?_dist_release} |
---|
[7825] | 5 | |
---|
[9797] | 6 | Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz |
---|
[7825] | 7 | |
---|
| 8 | License: GPLv2 |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | URL: http://mate-desktop.org/ |
---|
| 11 | |
---|
| 12 | BuildRequires: mate-common |
---|
| 13 | BuildRequires: mate-doc-utils |
---|
| 14 | BuildRequires: gtk2-devel >= 2.18.0 |
---|
| 15 | BuildRequires: libxml2-devel |
---|
| 16 | BuildRequires: libcanberra-devel >= 0.13 |
---|
| 17 | BuildRequires: unique-devel |
---|
[9552] | 18 | BuildRequires: libmatemixer-devel |
---|
[7825] | 19 | BuildRequires: mate-desktop-devel |
---|
[8359] | 20 | BuildRequires: itstool |
---|
[7825] | 21 | BuildRequires: gtk-doc |
---|
| 22 | BuildRequires: autoconf |
---|
| 23 | BuildRequires: automake |
---|
| 24 | |
---|
| 25 | Requires(posttrans,postun): glib2 |
---|
| 26 | Requires(post,postun): desktop-file-utils |
---|
[9552] | 27 | Requires: pulseaudio |
---|
[7825] | 28 | |
---|
| 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 30 | |
---|
| 31 | Vendor: Project Vine |
---|
| 32 | Distribution: Vine Linux |
---|
| 33 | Packager: Takemikaduchi |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | These are the MATE media tools for MATE: |
---|
| 38 | |
---|
| 39 | mate-volume-control - PulseAudio based volume control applets. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 47 | %configure \ |
---|
[9552] | 48 | --disable-static |
---|
[7825] | 49 | |
---|
| 50 | %{__make} %{?_smp_mflags} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 55 | |
---|
| 56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 57 | |
---|
| 58 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 59 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 60 | |
---|
| 61 | %find_lang %{name} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 66 | |
---|
| 67 | %post |
---|
| 68 | /sbin/ldconfig |
---|
| 69 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 71 | |
---|
| 72 | %postun |
---|
| 73 | /sbin/ldconfig |
---|
| 74 | if [ $1 -eq 0 ]; then |
---|
| 75 | touch --no-create %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 76 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 77 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 78 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 79 | fi |
---|
| 80 | |
---|
| 81 | %posttrans |
---|
| 82 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || : |
---|
| 83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %doc COPYING ChangeLog NEWS README |
---|
| 89 | %{_sysconfdir}/xdg/autostart/mate-volume-control-applet.desktop |
---|
| 90 | %{_bindir}/mate-volume-control |
---|
| 91 | %{_bindir}/mate-volume-control-applet |
---|
| 92 | %{_datadir}/applications/mate-volume-control.desktop |
---|
| 93 | %{_datadir}/%{name} |
---|
| 94 | %{_datadir}/sounds/mate/default/alerts/* |
---|
[8359] | 95 | %{_mandir}/man1/mate-volume-control-applet.1.gz |
---|
| 96 | %{_mandir}/man1/mate-volume-control.1.gz |
---|
[7825] | 97 | |
---|
| 98 | |
---|
| 99 | %changelog |
---|
[9842] | 100 | * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[9797] | 103 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[9552] | 106 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | - add Requires: pulseaudio |
---|
| 109 | - add BuildRequires: libmatemixer-devel |
---|
| 110 | - remove BuildRequires: pulseaudio-libs-devel, gstreamer-devel, gstreamer-plugins-base-devel, mate-panel-devel |
---|
| 111 | |
---|
[8359] | 112 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 113 | - new upstream release |
---|
| 114 | - add BuildRequires: itstool |
---|
| 115 | |
---|
[8068] | 116 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 117 | - rebuild with VineSeed environment |
---|
| 118 | |
---|
[7825] | 119 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 120 | - initial build |
---|
| 121 | |
---|