]>
Commit | Line | Data |
---|---|---|
a822ed02 JR |
1 | Summary: wavplay - play wav files under Linux |
2 | Name: wavplay | |
3 | Version: 1.3 | |
4 | Release: 1 | |
5 | Copyright: GPL | |
6 | Group: Applications/Sound | |
7 | URL: http://www.vaxxine.com/ve3wwg/gnuwave.html | |
8 | Source: ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/wavplay-1.3.tar.gz | |
9 | Patch0: wavplay-1.3.patch | |
10 | Patch1: wavplay-install.patch | |
2a1159cc | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a822ed02 JR |
12 | |
13 | %description | |
14 | This version completely replaces wavplay-1.0 and its two patches. | |
15 | ||
16 | %package X11 | |
17 | Summary: xltwavplay utility | |
18 | Group: Applications/Sound | |
19 | ||
20 | %description X11 | |
21 | The xltwavplay program now allows the user to point and click his way through | |
22 | the playing of selected wav files, changing of options and performing | |
23 | recordings. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | %patch1 -p0 | |
29 | ||
30 | %build | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | make "OPT=$RPM_OPT_FLAGS" | |
33 | ||
34 | %install | |
35 | install -d $RPM_BUILD_ROOT{%{_bindir},/usr/X11R6/bin,/usr/X11R6/lib/X11/app-defaults} | |
36 | install -d $RPM_BUILD_ROOT%{_mandir}/man1 | |
37 | ||
38 | make install | |
39 | ||
40 | install wavplay.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
41 | ||
42 | echo ".so wavplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/wavrec.1 | |
43 | ||
44 | gzip -9nf README* NEW BUGS $RPM_BUILD_ROOT%{_mandir}/man1/* | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644, root, root, 755) | |
51 | %doc {README*,NEW,BUGS}.gz | |
52 | %{_mandir}/man1/*.gz | |
53 | %attr(755,root,root) %{_bindir}/wav* | |
54 | ||
55 | %files X11 | |
56 | %defattr(644, root, root, 755) | |
57 | %config /usr/X11R6/lib/X11/app-defaults/xltwavplay | |
58 | %attr(755,root,root) /usr/X11R6/bin/xltwavplay |