]> git.pld-linux.org Git - packages/wavplay.git/blob - wavplay.spec
- few cosmetics.
[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(de):      Applikationen/Laut
9 Group(pl):      Aplikacje/D¼wiêk
10 URL:            http://www.vaxxine.com/ve3wwg/gnuwave.html
11 Source0:        ftp://sunsite.unc.edu/pub/Linux/apps/sound/players/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-make+res.patch
13 Patch1:         %{name}-X11.patch
14 BuildRequires:  XFree86-devel
15 BuildRequires:  motif-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Wavplay is a simple command-line tool that allows to play WAV audio
20 files under Linux.
21
22 %description -l pl
23 Wavplay jest prostym narzêdziem które pozwala odtwarzaæ pliki
24 d¼wiêkowe typu WAV pod Linuksem.
25
26 %package X11
27 Summary:        xltwavplay utility
28 Summary(pl):    Narzêdzie "xltwavplay"
29 Group:          X11/Applications/Multimedia
30 Group(de):      X11/Applikationen/Multimedia
31 Group(pl):      X11/Aplikacje/Multimedia
32 Requires:       %{name} = %{version}
33 Requires:       XFree86-libs
34
35 %description X11
36 The xltwavplay program now allows the user to point and click his way
37 through the playing of selected wav files, changing of options and
38 performing recordings.
39
40 %description X11 -l pl
41 Program xltwavplay pozwala u¿ytkownikowi szybko i ³atwo odgrywaæ
42 wybrane pliki wav, zmieniaæ ustawienia oraz nagrywaæ w³asne pliki.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48
49 %build
50 rm -rf $RPM_BUILD_ROOT
51 %{__make} \
52         OPT="$RPM_OPT_FLAGS" \
53         INSTDIR=%{_bindir}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
58         $RPM_BUILD_ROOT%{_prefix}/X11R6/{bin,lib/X11/app-defaults}
59
60 %{__make} install \
61         INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
62         XINSTDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/bin \
63         RESDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/app-defaults
64
65 install wavplay.1 $RPM_BUILD_ROOT%{_mandir}/man1
66 echo ".so wavplay.1" > $RPM_BUILD_ROOT%{_mandir}/man1/wavrec.1
67
68 gzip -9nf README BUGS
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.034018 seconds and 3 git commands to generate.