1 %define xfce_version 4.12.0
2 Summary: Volume control plugin for the Xfce panel
3 Summary(pl.UTF-8): Wtyczka sterująca głośnością dla panelu Xfce
8 Group: X11/Applications/Sound
9 Source0: https://archive.xfce.org/src/apps/xfce4-mixer/4.18/%{name}-%{version}.tar.bz2
10 # Source0-md5: 10e721b18b148d5ceab617ee2572b92f
11 URL: https://www.xfce.org/projects/xfce4-mixer/
12 BuildRequires: alsa-lib-devel >= 0.9
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: gettext-tools
16 BuildRequires: glib2-devel >= 1:2.42.0
17 BuildRequires: gstreamer-plugins-base-devel >= 1.0
18 BuildRequires: gtk+3-devel >= 3.14.0
19 BuildRequires: intltool >= 0.35.0
20 BuildRequires: keybinder3-devel >= 0.3
21 BuildRequires: libtool
22 BuildRequires: libxfce4ui-devel >= %{xfce_version}
23 BuildRequires: pkgconfig >= 1:0.9.0
24 BuildRequires: pulseaudio-devel >= 0.9.19
25 BuildRequires: xfce4-dev-tools >= 4.12.0
26 BuildRequires: xfce4-panel-devel >= %{xfce_version}
27 BuildRequires: xfconf-devel >= %{xfce_version}
28 Requires: xfce4-panel >= %{xfce_version}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 xfce4-mixer is the volume control plugin for the Xfce panel. Includes
35 %description -l pl.UTF-8
36 xfce4-mixer to wtyczka sterująca głośnością dla panelu Xfce. Zawiera
37 prosty mikser dźwięku.
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
58 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hy_AM,hye,ie,ur_PK}
59 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libmixer.la
64 rm -rf $RPM_BUILD_ROOT
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS README
69 %attr(755,root,root) %{_bindir}/xfce4-mixer
70 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libmixer.so
71 %{_datadir}/xfce4/panel/plugins/mixer.desktop
72 %{_datadir}/xfce4/mixer
73 %{_desktopdir}/xfce4-mixer.desktop
74 %{_pixmapsdir}/xfce4-mixer
75 %{_mandir}/man1/xfce4-mixer.1*