1 | Summary: The MATE media tools |
---|
2 | Name: mate-media |
---|
3 | Version: 1.10.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://pub.mate-desktop.org/releases/1.10/%{name}-%{version}.tar.xz |
---|
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 |
---|
18 | BuildRequires: libmatemixer-devel |
---|
19 | BuildRequires: mate-desktop-devel |
---|
20 | BuildRequires: itstool |
---|
21 | BuildRequires: gtk-doc |
---|
22 | BuildRequires: autoconf |
---|
23 | BuildRequires: automake |
---|
24 | |
---|
25 | Requires(posttrans,postun): glib2 |
---|
26 | Requires(post,postun): desktop-file-utils |
---|
27 | Requires: pulseaudio |
---|
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 \ |
---|
48 | --disable-static |
---|
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/* |
---|
95 | %{_mandir}/man1/mate-volume-control-applet.1.gz |
---|
96 | %{_mandir}/man1/mate-volume-control.1.gz |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
101 | - new upstream release |
---|
102 | - add Requires: pulseaudio |
---|
103 | - add BuildRequires: libmatemixer-devel |
---|
104 | - remove BuildRequires: pulseaudio-libs-devel, gstreamer-devel, gstreamer-plugins-base-devel, mate-panel-devel |
---|
105 | |
---|
106 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
107 | - new upstream release |
---|
108 | - add BuildRequires: itstool |
---|
109 | |
---|
110 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
111 | - rebuild with VineSeed environment |
---|
112 | |
---|
113 | * Mon Sep 23 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
114 | - initial build |
---|
115 | |
---|