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