]> git.pld-linux.org Git - SPECS.git/blob - pavucontrol.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / pavucontrol.spec
1 Summary:        PulseAudio Volume Control
2 Summary(pl.UTF-8):      PulseAudio Volume Control - sterowanie głośnością PulseAudio
3 Name:           pavucontrol
4 Version:        5.0
5 Release:        2
6 License:        GPL v2+
7 Group:          X11/Applications/Sound
8 Source0:        https://freedesktop.org/software/pulseaudio/pavucontrol/%{name}-%{version}.tar.xz
9 # Source0-md5:  a4a5dc51dcf4d912443faf3fe8d32b55
10 URL:            https://freedesktop.org/software/pulseaudio/pavucontrol/
11 BuildRequires:  autoconf >= 2.62
12 BuildRequires:  automake >= 1:1.11
13 BuildRequires:  gettext-tools
14 BuildRequires:  gtkmm3-devel >= 3.22
15 BuildRequires:  intltool >= 0.35.0
16 BuildRequires:  json-glib-devel >= 1.0
17 BuildRequires:  libcanberra-gtk3-devel >= 0.16
18 BuildRequires:  libsigc++-devel >= 2.0.0
19 BuildRequires:  pkgconfig
20 BuildRequires:  pulseaudio-devel >= 5.0
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires(post,postun):  desktop-file-utils
24 Requires:       gtkmm3 >= 3.22
25 Requires:       libcanberra-gtk3 >= 0.16
26 Requires:       pulseaudio-libs >= 5.0
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 PulseAudio Volume Control (pavucontrol) is a simple GTK+ based volume
31 control tool ("mixer") for the PulseAudio sound server. In contrast to
32 classic mixer tools this one allows you to control both the volume of
33 hardware devices and of each playback stream seperately.
34
35 %description -l pl.UTF-8
36 PulseAudio Volume Control (pavucontrol) to proste, oparte na GTK+,
37 narzędzie do regulacji głośności ("mikser") dla serwera dźwięku
38 PulseAudio. W przeciwieństwie do klasycznych mikserów pozwala
39 regulować głośność urządzeń sprzętowych, jak i każdego odtwarzanego
40 strumienia osobno.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__intltoolize}
47 %{__aclocal} -I m4
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --disable-lynx \
53         --disable-silent-rules
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
62
63 mv $RPM_BUILD_ROOT%{_datadir}/locale/nb{_NO,}
64
65 %find_lang %{name}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_desktop_database_post
72
73 %postun
74 %update_desktop_database_postun
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc README
79 %attr(755,root,root) %{_bindir}/pavucontrol
80 %{_datadir}/pavucontrol
81 %{_desktopdir}/pavucontrol.desktop
This page took 0.617403 seconds and 3 git commands to generate.