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