]>
Commit | Line | Data |
---|---|---|
cce98df7 JP |
1 | Summary: ncurses PulseAudio Mixer |
2 | Name: ncpamixer | |
ba23152f JP |
3 | Version: 1.3.3.2 |
4 | Release: 1 | |
cce98df7 JP |
5 | License: MIT |
6 | Group: Applications/Sound | |
7 | Source0: https://github.com/fulhax/ncpamixer/archive/%{version}/%{name}-%{version}.tar.gz | |
ba23152f | 8 | # Source0-md5: 1ee8889f1f9ce2c605eb7ff7eac46c1e |
cce98df7 JP |
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 |