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