]> git.pld-linux.org Git - packages/mate-media.git/blame - mate-media.spec
up to 1.26.0
[packages/mate-media.git] / mate-media.spec
CommitLineData
1bf7200e 1Summary: MATE media programs
c236a4e3 2Summary(pl.UTF-8): Programy multimedialne dla środowiska MATE
1bf7200e 3Name: mate-media
0822fd7f 4Version: 1.26.0
e4423512 5Release: 1
b0017e33 6License: GPL v2+ (volume control, sound theme), FDL (documentation)
1bf7200e 7Group: X11/Applications/Multimedia
0822fd7f
JP
8Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
9# Source0-md5: 1f7f7abf9c0e8acec7402401a46dfc5b
5e97e401 10URL: https://github.com/mate-desktop/mate-media
c236a4e3
JB
11BuildRequires: autoconf >= 2.60
12BuildRequires: automake >= 1:1.9
1bf7200e 13BuildRequires: desktop-file-utils
580ec713 14BuildRequires: docbook-dtd412-xml
3dd3556f 15BuildRequires: gettext-tools >= 0.19.8
6ac3c17a
JP
16BuildRequires: glib2-devel >= 1:2.50.0
17BuildRequires: gtk+3-devel >= 3.22
c236a4e3 18BuildRequires: libcanberra-devel >= 0.13
a54d917d
JP
19BuildRequires: libcanberra-gtk3-devel >= 0.13
20BuildRequires: libmatemixer-devel >= 1.10.0
c236a4e3 21BuildRequires: libtool >= 1:1.4.3
c236a4e3
JB
22BuildRequires: libxml2-devel >= 2.0
23BuildRequires: mate-common >= 1.2.1
a54d917d 24BuildRequires: mate-desktop-devel >= 1.17.0
7836cd24 25BuildRequires: mate-panel-devel >= 1.17.0
5e97e401 26BuildRequires: rpmbuild(find_lang) >= 1.36
19da933f
ER
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
d1835826 29BuildRequires: yelp-tools
91f815c3 30Requires: desktop-file-utils
6ac3c17a
JP
31Requires: glib2 >= 1:2.50.0
32Requires: gtk+3 >= 3.22
c236a4e3 33Requires: libcanberra >= 0.13
a54d917d
JP
34Requires: libcanberra-gtk3 >= 0.13
35Requires: libmatemixer >= 1.10.0
36Requires: mate-desktop-libs >= 1.17.0
7836cd24 37Requires: mate-panel >= 1.17.0
1bf7200e
ER
38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
7836cd24
JB
40# use the same libexecdir as mate-panel
41# (better solution: store mate-panel libexecdir in libmatepanelapplet-*.pc and read it here)
42%define matepanel_libexecdir %{_libexecdir}/mate-panel
43
1bf7200e
ER
44%description
45This package contains a few media utilities for the MATE desktop,
46including a volume control.
47
c236a4e3 48%description -l pl.UTF-8
0f60bbe6
ER
49Ten pakiet zawiera kilka narzędzi multimedialnych dla środowiska MATE,
50w tym do sterowania głośnością dźwięku.
c236a4e3 51
1bf7200e
ER
52%prep
53%setup -q
54
55%build
c236a4e3
JB
56%{__libtoolize}
57%{__aclocal} -I m4
58%{__autoconf}
59%{__autoheader}
60%{__automake}
1bf7200e 61%configure \
7836cd24 62 --libexecdir=%{matepanel_libexecdir} \
1bf7200e 63 --disable-schemas-compile \
c236a4e3
JB
64 --disable-silent-rules \
65 --disable-static \
a54d917d 66 --with-gnu-ld
1bf7200e 67
6bef918a 68%{__make}
1bf7200e
ER
69
70%install
71rm -rf $RPM_BUILD_ROOT
72%{__make} install \
73 DESTDIR=$RPM_BUILD_ROOT
74
e4423512 75%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,pms}
2efada62 76
1bf7200e
ER
77desktop-file-install \
78 --remove-category="MATE" \
79 --add-category="X-Mate" \
80 --delete-original \
81 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
c236a4e3 82 $RPM_BUILD_ROOT%{_desktopdir}/mate-volume-control.desktop
1bf7200e 83
8ada686c 84%find_lang %{name} --with-mate --all-name
1bf7200e
ER
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%post
1bf7200e 90%update_desktop_database
1bf7200e
ER
91
92%postun
91f815c3 93%update_desktop_database
1bf7200e
ER
94
95%files -f %{name}.lang
96%defattr(644,root,root,755)
c236a4e3 97%doc AUTHORS ChangeLog NEWS README
1bf7200e 98%attr(755,root,root) %{_bindir}/mate-volume-control
3419f1c5
JP
99%attr(755,root,root) %{_bindir}/mate-volume-control-status-icon
100/etc/xdg/autostart/mate-volume-control-status-icon.desktop
1bf7200e
ER
101%{_datadir}/mate-media
102%{_datadir}/sounds/mate
44a0d47b
ER
103%{_desktopdir}/mate-volume-control.desktop
104%{_mandir}/man1/mate-volume-control.1*
0822fd7f 105%{_mandir}/man1/mate-volume-control-status-icon.1*
7836cd24
JB
106# panel applet
107%attr(755,root,root) %{matepanel_libexecdir}/mate-volume-control-applet
3419f1c5
JP
108%{_datadir}/dbus-1/services/org.mate.panel.applet.GvcAppletFactory.service
109%{_datadir}/mate-panel/applets/org.mate.applets.GvcApplet.mate-panel-applet
This page took 0.072403 seconds and 4 git commands to generate.