]> git.pld-linux.org Git - packages/wavplay.git/blob - wavplay.spec
- release 3
[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:        3
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 Patch1:         wavplay-X11.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 Group(pl):      X11/Aplikacje/Multimedia
30 Requires:       %{name} = %{version}
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 %patch1 -p1
46
47 %build
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} \
50         OPT="$RPM_OPT_FLAGS" \
51         INSTDIR=%{_bindir}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
57         $RPM_BUILD_ROOT%{_prefix}/X11R6/{bin,lib/X11/app-defaults}
58
59 %{__make} install \
60         INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
61         XINSTDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/bin \
62         RESDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults
63
64 install wavplay.1 $RPM_BUILD_ROOT%{_mandir}/man1
65 echo ".so wavplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/wavrec.1
66
67 gzip -9nf README BUGS \
68         $RPM_BUILD_ROOT%{_mandir}/man1/*
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc *.gz
76 %{_mandir}/man*/*
77 %attr(755,root,root) %{_bindir}/wav*
78
79 %files X11
80 %defattr(644,root,root,755)
81 %config %{_prefix}/X11R6/lib/X11/app-defaults/xltwavplay
82 %attr(755,root,root) %{_prefix}/X11R6/bin/xltwavplay
This page took 0.105035 seconds and 3 git commands to generate.