63 lines
1.7 KiB
RPMSpec
63 lines
1.7 KiB
RPMSpec
Name: pavucontrol-qt
|
|
Version: 0.16.0
|
|
Release: 1mamba
|
|
Summary: Qt port of volume control pavucontrol of sound server PulseAudio
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/lxqt/pavucontrol-qt
|
|
## GITSOURCE https://github.com/lxqt/pavucontrol-qt.git 0.15.0
|
|
Source: https://github.com/lxqt/pavucontrol-qt.git/%{version}/pavucontrol-qt-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libpulseaudio-devel
|
|
BuildRequires: libpulseaudio-glib-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Qt port of volume control pavucontrol of sound server PulseAudio.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
find %{buildroot}%{_datadir}/*/translations/ -name *.qm | \
|
|
while read line; do
|
|
bn=`echo ${line}|cut -d_ -f2-3`
|
|
echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang
|
|
done
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pavucontrol-qt
|
|
%{_datadir}/applications/pavucontrol-qt.desktop
|
|
%doc AUTHORS LICENSE
|
|
|
|
%changelog
|
|
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
|
|
- package created using the webbuild interface
|