package created using the webbuild interface [release 1.2-1mamba;Mon Dec 11 2017]
This commit is contained in:
parent
c08cc4f2ad
commit
2e2affd469
@ -1,2 +1,4 @@
|
|||||||
# ncpamixer
|
# ncpamixer
|
||||||
|
|
||||||
|
An ncurses mixer for PulseAudio inspired by pavucontrol.
|
||||||
|
|
||||||
|
65
ncpamixer.spec
Normal file
65
ncpamixer.spec
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
Name: ncpamixer
|
||||||
|
Version: 1.2
|
||||||
|
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
|
||||||
|
## GITSOURCE https://github.com/fulhax/ncpamixer.git 1.2
|
||||||
|
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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
An ncurses mixer for PulseAudio inspired by pavucontrol.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -d build \
|
||||||
|
-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
|
||||||
|
* Mon Dec 11 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user