3 %bcond_with gtk2 # GTK+ 2.x instead of 3.x
5 Summary: PulseAudio Volume Control
6 Summary(pl.UTF-8): PulseAudio Volume Control - sterowanie głośnością PulseAudio
11 Group: X11/Applications/Sound
12 Source0: http://freedesktop.org/software/pulseaudio/pavucontrol/%{name}-%{version}.tar.xz
13 # Source0-md5: ffefdea76a77f89c6415300b8ad5eb7b
14 URL: http://freedesktop.org/software/pulseaudio/pavucontrol/
15 BuildRequires: autoconf >= 2.62
16 BuildRequires: automake >= 1:1.11
17 BuildRequires: gettext-devel
18 BuildRequires: intltool >= 0.35.0
19 BuildRequires: libsigc++-devel >= 2.0.0
20 BuildRequires: pkgconfig
21 BuildRequires: pulseaudio-devel >= 3.0
22 BuildRequires: tar >= 1:1.22
25 BuildRequires: gtkmm-devel >= 2.16.0
26 BuildRequires: libcanberra-gtk-devel >= 0.16
28 BuildRequires: gtkmm3-devel >= 3.0.0
29 BuildRequires: libcanberra-gtk3-devel >= 0.16
31 Requires: pulseaudio-libs >= 0.9.16
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 PulseAudio Volume Control (pavucontrol) is a simple GTK+ based volume
36 control tool ("mixer") for the PulseAudio sound server. In contrast to
37 classic mixer tools this one allows you to control both the volume of
38 hardware devices and of each playback stream seperately.
40 %description -l pl.UTF-8
41 PulseAudio Volume Control (pavucontrol) to proste, oparte na GTK+,
42 narzędzie do regulacji głośności ("mikser") dla serwera dźwięku
43 PulseAudio. W przeciwieństwie do klasycznych mikserów pozwala
44 regulować głośność urządzeń sprzętowych, jak i każdego odtwarzanego
57 %{?with_gtk2:--disable-gtk3} \
62 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
71 rm -rf $RPM_BUILD_ROOT
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/pavucontrol
77 %{_datadir}/pavucontrol
78 %{_desktopdir}/pavucontrol.desktop