]> git.pld-linux.org Git - packages/wmmixer-alsa.git/blob - wmmixer-alsa.spec
- pass CC="%%{__cc}" in make parameters and few cosmetics.
[packages/wmmixer-alsa.git] / wmmixer-alsa.spec
1 Summary:        A hacked version of wmmixer to make it use ALSA
2 Summary(pl):    Wersja wmmixer przerobiona tak, by u¿ywa³a ALSA
3 Name:           wmmixer-alsa
4 Version:        0.6
5 Release:        1
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        http://iznogood.bohemians.org/wmmixer-alsa/%{name}-%{version}.tar.gz
9 URL:            http://iznogood.bohemians.org/
10 BuildRequires:  XFree86-devel
11 BuildRequires:  alsa-lib-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _prefix         /usr/X11R6
15
16 %description
17 A hacked version of wmmixer by Sam Hawker (see README.wmmixer), to
18 make it use ALSA (Advanced Linux Sound Architecture) in stead of the
19 OSS sound drivers in the linux kernel. To compile and run this
20 program, you will need to get alsa-driver and alsa-lib packages.
21
22 %description -l pl
23 Wersja wmmixera autorstwa Sama Hawkera (patrz README.wmmixer),
24 przerobionaa tak, by u¿ywa³a sterowników ALSA zamiast OSS.
25
26 %prep
27 %setup -q
28
29 %build
30 %{__make} \
31         CC="%{__cc}" \
32         CFLAGS="%{rpmcflags}"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/pixmaps}
37
38 install wmmixer-alsa $RPM_BUILD_ROOT%{_bindir}
39 install XPM/{icons,wmmixer}.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/wmmixer-alsa
47 %{_pixmapsdir}/*
This page took 0.026161 seconds and 3 git commands to generate.