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: motif-devel
18 BuildRequires: xorg-lib-libX11-devel
19 BuildRequires: xorg-lib-libXmu-devel
20 BuildRequires: xorg-lib-libXt-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _appdefsdir /usr/share/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}
38 Requires: xorg-lib-libXt >= 1.0.0
41 The xltwavplay program now allows the user to point and click his way
42 through the playing of selected WAV files, changing of options and
43 performing recordings.
45 %description X11 -l pl.UTF-8
46 Program xltwavplay pozwala użytkownikowi szybko i łatwo odgrywać
47 wybrane pliki WAV, zmieniać ustawienia oraz nagrywać własne pliki.
62 XLDOPTS="-lXm -lXmu -lXt -lX11" \
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_appdefsdir}}
70 INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
71 XINSTDIR=$RPM_BUILD_ROOT%{_bindir} \
72 RESDIR=$RPM_BUILD_ROOT%{_appdefsdir}
74 install wavplay.1 $RPM_BUILD_ROOT%{_mandir}/man1
75 echo ".so wavplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/wavrec.1
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/wav*
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/xltwavplay
89 %{_appdefsdir}/xltwavplay