1 Summary: Play WAV files under Linux
2 Summary(pl.UTF-8): Odtwarzacz plików dźwiękowych WAV pod Linuksa
7 Group: Applications/Sound
8 Source0: ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/%{name}-%{version}.tar.gz
9 # Source0-md5: 726c58f47c0dbc3b58ff6c42300d518e
10 Patch0: %{name}-make+res.patch
11 Patch1: %{name}-X11.patch
12 Patch2: %{name}-va_arg_fix.patch
13 Patch3: %{name}-types.patch
14 Patch4: %{name}-nonblock.patch
15 Patch5: %{name}-WavOpenForWrite.patch
16 URL: http://www.vaxxine.com/ve3wwg/gnuwave.html
17 BuildRequires: xorg-lib-libXmu-devel
18 BuildRequires: xorg-lib-libXt-devel
19 BuildRequires: xorg-lib-libX11-devel
20 BuildRequires: motif-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _appdefsdir /usr/X11R6/lib/X11/app-defaults
26 Wavplay is a simple command-line tool that allows to play WAV audio
29 %description -l pl.UTF-8
30 Wavplay jest prostym narzędziem które pozwala odtwarzać pliki
31 dźwiękowe typu WAV pod Linuksem.
34 Summary: xltwavplay utility
35 Summary(pl.UTF-8): Narzędzie "xltwavplay"
36 Group: X11/Applications/Sound
37 Requires: %{name} = %{version}-%{release}
40 The xltwavplay program now allows the user to point and click his way
41 through the playing of selected WAV files, changing of options and
42 performing recordings.
44 %description X11 -l pl.UTF-8
45 Program xltwavplay pozwala użytkownikowi szybko i łatwo odgrywać
46 wybrane pliki WAV, zmieniać ustawienia oraz nagrywać własne pliki.
61 XLDOPTS="-L/usr/X11R6/%{_lib} -lXm -lXmu -lXt -lX11" \
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_appdefsdir}}
69 INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
70 XINSTDIR=$RPM_BUILD_ROOT%{_bindir} \
71 RESDIR=$RPM_BUILD_ROOT%{_appdefsdir}
73 install wavplay.1 $RPM_BUILD_ROOT%{_mandir}/man1
74 echo ".so wavplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/wavrec.1
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/wav*
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_bindir}/xltwavplay
88 %{_appdefsdir}/xltwavplay