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