From 2e2affd469179de5b0cab4d8a22173684217899d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:33:45 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2-1mamba;Mon Dec 11 2017] --- README.md | 2 ++ ncpamixer.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 ncpamixer.spec diff --git a/README.md b/README.md index aa19157..7ded781 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ncpamixer +An ncurses mixer for PulseAudio inspired by pavucontrol. + diff --git a/ncpamixer.spec b/ncpamixer.spec new file mode 100644 index 0000000..68d2635 --- /dev/null +++ b/ncpamixer.spec @@ -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 +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 1.2-1mamba +- package created using the webbuild interface