package init

This commit is contained in:
small_leek 2020-07-18 10:33:57 +08:00
parent 4089d7c61b
commit 8db07d0811
3 changed files with 47 additions and 0 deletions

BIN
pavucontrol-3.0.tar.xz Normal file

Binary file not shown.

43
pavucontrol.spec Normal file
View File

@ -0,0 +1,43 @@
Name: pavucontrol
Version: 3.0
Release: 14
Summary: The volume control of PulseAudio
License: GPLv2+
URL: http://freedesktop.org/software/pulseaudio/pavucontrol
Source0: http://freedesktop.org/software/pulseaudio/pavucontrol/pavucontrol-%{version}.tar.xz
BuildRequires: gcc-c++ pulseaudio-libs-devel >= 3.0 gtkmm30-devel libsigc++20-devel lynx desktop-file-utils
BuildRequires: libcanberra-devel intltool
%description
PulseAudio Volume Control (pavucontrol) is a simple GTK based volume control
tool ("mixer") for the PulseAudio sound server. In contrast to classic mixer
tools this one allows you to control both the volume of hardware devices and
of each playback stream separately.
%prep
%autosetup -n pavucontrol-%{version} -p1
%build
%configure --disable-silent-rules
%make_build V=1
%install
%make_install V=1
%find_lang pavucontrol
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/pavucontrol.desktop
%files -f pavucontrol.lang
%exclude %{_defaultdocdir}/pavucontrol/{README,README.html,style.css}
%doc doc/README LICENSE
%{_bindir}/pavucontrol
%{_datadir}/pavucontrol
%{_datadir}/applications/pavucontrol.desktop
%changelog
* Wed Apr 22 2020 songzhenyu<songzhenyu@huawei.com> - 3.0-14
- Package init

4
pavucontrol.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git
tag_prefix: "^v"
seperator: "."