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