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