ncpamixer/ncpamixer.spec

76 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: ncpamixer
Version: 1.3.3.4
Release: 1mamba
Summary: An ncurses mixer for PulseAudio inspired by pavucontrol
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/fulhax/ncpamixer
Source: https://github.com/fulhax/ncpamixer.git/%{version}/ncpamixer-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libncurses-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
%description
An ncurses mixer for PulseAudio inspired by pavucontrol.
%debug_package
%prep
%setup -q
%build
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \
-DLIB_INSTALL_DIR:PATH=%{_libdir} \
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \
-DBUILD_SHARED_LIBS:BOOL=ON \
%ifarch x86_64
-DLIB_SUFFIX=64 \
%endif
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS="%{optflags} -ldl" \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
../src
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/ncpamixer
%doc LICENSE
%changelog
* Fri Jun 23 2023 Automatic Build System <autodist@mambasoft.it> 1.3.3.4-1mamba
- automatic version update by autodist
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 1.3.3.3-1mamba
- automatic version update by autodist
* Sun Sep 04 2022 Automatic Build System <autodist@mambasoft.it> 1.3.3.2-1mamba
- automatic version update by autodist
* Sun Feb 14 2021 Automatic Build System <autodist@mambasoft.it> 1.3.3.1-1mamba
- automatic version update by autodist
* Mon Dec 11 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- package created using the webbuild interface