]> git.pld-linux.org Git - SPECS.git/blob - ncpamixer.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ncpamixer.spec
1 Summary:        ncurses PulseAudio Mixer
2 Name:           ncpamixer
3 Version:        1.3.3.1
4 Release:        1
5 License:        MIT
6 Group:          Applications/Sound
7 Source0:        https://github.com/fulhax/ncpamixer/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  351d35b9652f75f1f61fb7842db1763c
9 URL:            https://github.com/fulhax/ncpamixer
10 BuildRequires:  cmake >= 3.1
11 BuildRequires:  libstdc++-devel >= 6:5
12 BuildRequires:  ncurses-devel
13 BuildRequires:  ncurses-ext-devel
14 BuildRequires:  pulseaudio-devel
15 BuildRequires:  rpmbuild(macros) >= 1.605
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 An ncurses mixer for PulseAudio inspired by pavucontrol.
20
21 %prep
22 %setup -q
23
24 %build
25 install -d build
26 cd build
27 %cmake ../src \
28         -DUSE_WIDE=TRUE
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 %{__make} -C build install \
34         DESTDIR=$RPM_BUILD_ROOT
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc README.md
42 %attr(755,root,root) %{_bindir}/ncpamixer
This page took 0.340065 seconds and 3 git commands to generate.