1 |
Summary: A mixer application for ALSA powered by a Qt GUI |
2 |
Name: qasmixer |
3 |
Version: 0.10.1 |
4 |
Release: %mkrel 1 |
5 |
Url: http://xwmw.org/qasmixer/ |
6 |
Source0: http://sourceforge.net/projects/qasmixer/files/%{version}/%{name}-%{version}.tar.bz2 |
7 |
License: GPLv3 |
8 |
Group: Sound |
9 |
BuildRequires: cmake |
10 |
BuildRequires: qt4-devel |
11 |
BuildRequires: libalsa-devel |
12 |
BuildRequires: desktop-file-utils |
13 |
|
14 |
%description |
15 |
QasMixer is a mixer application for ALSA (the Advanced Linux Sound System) |
16 |
powered by a Qt GUI. |
17 |
|
18 |
It shows the same sliders and switches as alsamixer but has additional features |
19 |
beyond that. |
20 |
|
21 |
By using the ALSA mixer interface it aims to stay close to the sound hardware. |
22 |
|
23 |
%prep |
24 |
%setup -q |
25 |
|
26 |
%build |
27 |
%cmake |
28 |
%make |
29 |
|
30 |
%install |
31 |
rm -rf %{buildroot} |
32 |
%makeinstall_std -C build |
33 |
|
34 |
# make the .desktop file compliant with freedesktop specs |
35 |
desktop-file-install \ |
36 |
--dir %{buildroot}%{_datadir}/applications/ \ |
37 |
%{buildroot}%{_datadir}/applications/*.desktop |
38 |
|
39 |
# it'll be %%doc'ed |
40 |
rm -f %{buildroot}%{_datadir}/%{name}/COPYING |
41 |
|
42 |
%find_lang %{name} |
43 |
|
44 |
%clean |
45 |
rm -rf %{buildroot} |
46 |
|
47 |
%files -f %{name}.lang |
48 |
%defattr(-,root,root) |
49 |
%doc CHANGELOG COPYING README |
50 |
%{_bindir}/%{name} |
51 |
%{_datadir}/applications/%{name}.desktop |
52 |
%{_datadir}/icons/hicolor/*/apps/%{name}.* |
53 |
%{_datadir}/%{name} |
54 |
%{_mandir}/man1/* |