]> git.pld-linux.org Git - packages/wavplay.git/blob - wavplay.spec
- small correction in %build.
[packages/wavplay.git] / wavplay.spec
1 Summary:        play wav files under Linux
2 Summary(pl):    Odtwarzacz plików d¼wiêkowych wav pod Linuksa
3 Name:           wavplay
4 Version:        1.4
5 Release:        5
6 License:        GPL
7 Group:          Applications/Sound
8 URL:            http://www.vaxxine.com/ve3wwg/gnuwave.html
9 Source0:        ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-make+res.patch
11 Patch1:         %{name}-X11.patch
12 Patch2:         %{name}-va_arg_fix.patch
13 BuildRequires:  XFree86-devel
14 BuildRequires:  motif-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Wavplay is a simple command-line tool that allows to play WAV audio
19 files under Linux.
20
21 %description -l pl
22 Wavplay jest prostym narzêdziem które pozwala odtwarzaæ pliki
23 d¼wiêkowe typu WAV pod Linuksem.
24
25 %package X11
26 Summary:        xltwavplay utility
27 Summary(pl):    Narzêdzie "xltwavplay"
28 Group:          X11/Applications/Multimedia
29 Requires:       %{name} = %{version}
30 Requires:       XFree86-libs
31
32 %description X11
33 The xltwavplay program now allows the user to point and click his way
34 through the playing of selected wav files, changing of options and
35 performing recordings.
36
37 %description X11 -l pl
38 Program xltwavplay pozwala u¿ytkownikowi szybko i ³atwo odgrywaæ
39 wybrane pliki wav, zmieniaæ ustawienia oraz nagrywaæ w³asne pliki.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45 %patch2
46
47 %build
48 %{__make} \
49         CC=%{__cc} \
50         OPT="%{rpmcflags}" \
51         INSTDIR=%{_bindir}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
56         $RPM_BUILD_ROOT%{_prefix}/X11R6/{bin,lib/X11/app-defaults}
57
58 %{__make} install \
59         INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
60         XINSTDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/bin \
61         RESDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults
62
63 install wavplay.1 $RPM_BUILD_ROOT%{_mandir}/man1
64 echo ".so wavplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/wavrec.1
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc README BUGS
72 %{_mandir}/man*/*
73 %attr(755,root,root) %{_bindir}/wav*
74
75 %files X11
76 %defattr(644,root,root,755)
77 %config %{_prefix}/X11R6/lib/X11/app-defaults/xltwavplay
78 %attr(755,root,root) %{_prefix}/X11R6/bin/xltwavplay
This page took 0.061191 seconds and 3 git commands to generate.