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