]> git.pld-linux.org Git - packages/sox.git/blob - sox.spec
- massive attack, adding Source-md5
[packages/sox.git] / sox.spec
1 #
2 # Conditional build:
3 # _without_alsa - without ALSA support
4 #
5 Summary:        A general purpose sound file conversion tool
6 Summary(de):    Mehrzweck-Sounddatei-Konvertierungs-Tool
7 Summary(es):    Herramienta para conversión de archivos de sonido
8 Summary(fr):    outil général de conversion de fichiers son
9 Summary(pl):    Program do konwersji plików d¼wiêkowych
10 Summary(pt_BR): Ferramenta para conversão de arquivos de som
11 Summary(ru):    õÔÉÌÉÔÁ ÏÂÝÅÇÏ ÎÁÚÎÁÞÅÎÉÑ ÄÌÑ ÒÁÂÏÔÙ ÓÏ Ú×ÕËÏ×ÙÍÉ ÆÁÊÌÁÍÉ
12 Summary(tr):    Genel amaçlý ses dosyasý çevirme aracý
13 Summary(uk):    õÔÉ̦ÔÁ ÚÁÇÁÌØÎÏÇÏ ÐÒÉÚÎÁÞÅÎÎÑ ÄÌÑ ÒÏÂÏÔÉ ¦Ú Ú×ÕËÏ×ÉÍÉ ÆÁÊÌÁÍÉ
14 Name:           sox
15 Version:        12.17.4
16 Release:        1
17 License:        distributable
18 Group:          Applications/Sound
19 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
20 # Source0-md5: 39bdb64e06a8c456057e87eff7d0b339
21 Patch0:         %{name}-play.patch
22 Patch1:         %{name}-soundcard.patch
23 Patch2:         %{name}-install.patch
24 URL:            http://sox.sourceforge.net/
25 %ifnarch sparc sparc64
26 %{!?_without_alsa:BuildRequires:        alsa-driver-devel}
27 %endif
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRequires:  lame-libs-devel
31 BuildRequires:  libgsm-devel
32 BuildRequires:  libvorbis-devel >= 1:1.0
33 BuildRequires:  mad-devel
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 SoX (Sound eXchange) is a sound file format converter for Linux, UNIX
38 and DOS PCs. The self-described 'Swiss Army knife of sound tools,' SoX
39 can convert between many different digitized sound formats and perform
40 simple sound manipulation functions, including sound effects.
41
42 Install the sox package if you'd like to convert sound file formats or
43 manipulate some sounds.
44
45 %description -l es
46 sox se autodenomina "navaja suiza de las herramientas de sonido".
47 Entiende varios formatos de sonidos digitalizados, pudiendo hacer
48 conversiones entre estos formatos y desempeñar funciones sencillas de
49 manejo de sonido.
50
51 %description -l pl
52 SoX (Sound eXchange) jest konwerterem formatów plików d¼wiêkowych dla
53 Linuksa, Uniksa i Dosa. SoX mo¿e wykonywaæ konwersjê miêdzy wieloma
54 formatami cyfrowego d¼wiêku. Mo¿e tak¿e dokonywaæ prostych manipulacji
55 na d¼wiêku, wliczaj±c w to ró¿ne efekty d¼wiekowe.
56
57 %description -l ru
58 ëÁË ÇÏ×ÏÒÉÔÓÑ × ÄÏËÕÍÅÎÔÁÃÉÉ, "Û×ÅÊÃÁÒÓËÉÊ ÁÒÍÅÊÓËÉÊ ÎÏÖ Ú×ÕËÏ×ÙÈ
59 ÕÔÉÌÉÔ", sox ÕÍÅÅÔ ËÏÎ×ÅÒÔÉÒÏ×ÁÔØ Ú×ÕËÏ×ÙÅ ÆÁÊÌÙ ÓÁÍÙÈ ÒÁÚÎÏÏÂÒÁÚÎÙÈ
60 ÆÏÒÍÁÔÏ× É ÐÒÏÉÚ×ÏÄÉÔØ ÎÅÓÌÏÖÎÕÀ ÉÈ ÏÂÒÁÂÏÔËÕ. ó ÐÒÉÌÁÇÁÅÍÙÍ ÓËÒÉÐÔÏÍ
61 ÔÁËÖÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁΠÄÌÑ ÐÒÏÉÇÒÙ×ÁÎÉÑ Ú×ÕËÏ×ÙÈ ÆÁÊÌÏ×.
62
63 %description -l pt_BR
64 O sox se autodenomina "canivete suíço das ferramentas de som". Ele
65 entende vários formatos de sons digitalizados, podendo fazer
66 conversões entre esses formatos e desempenhar funções simples de
67 manipulação de som.
68
69 %description -l uk
70 ÷ ÄÏËÕÍÅÎÔÁ槠ÃÅÊ ÐÁËÅÔ ÎÁÚ×ÁÎÏ "Û×ÅÊÃÁÒÓØËÉÍ ÁÒͦÊÓØËÉÍ ÎÏÖÉËÏÍ
71 Ú×ÕËÏ×ÉÈ ÕÔÉ̦Ô". ÷¦Î ×ͦ¤ ËÏÎ×ÅÒÔÕ×ÁÔÉ Ú×ÕËÏצ ÆÁÊÌÉ
72 ÎÁÊÒ¦ÚÎÏÍÁΦÔΦÛÉÈ ÆÏÒÍÁԦנÔÁ ×ÉËÏÎÕ×ÁÔÉ ÎÅÓËÌÁÄÎÕ §È ÏÂÒÏÂËÕ. ÷
73 ÐÁËÅÔ ×ÈÏÄÉÔØ ÓËÒÉÐÔ, ÑËÉÊ ÍÏÖÎÁ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÄÌÑ ÐÒÏÇÒÁ×ÁÎÎÑ
74 Ú×ÕËÏ×ÉÈ ÆÁÊ̦×.
75
76 %package devel
77 Summary:        The SoX sound file format converter libraries
78 Summary(pl):    Biblioteka SoX do konwertowania plików d¼wiêkowych
79 Group:          Development/Libraries
80
81 %description devel
82 This package contains the library needed for compiling applications
83 which will use the SoX sound file format converter.
84
85 Install sox-devel if you want to develop applications which will use
86 SoX.
87
88 %description devel -l es
89 Bibliotecas que pueden ser usadas para compilar aplicaciones que usen
90 las bibliotecas del sox.
91
92 %description devel -l pl
93 Ten pakiet zawiera biblioteki potrzebne do kompilacji aplikacji, które
94 bêd± wykorzystywa³y konwerter formatów plików d¼wiêkowych SoX.
95
96 %description devel -l pt_BR
97 Bibliotecas que podem ser usadas para compilar aplicações que usem as
98 bibliotecas do sox.
99
100 %prep
101 %setup -q
102 %patch0 -p1
103 %patch1 -p1
104 %patch2 -p1
105
106 %build
107 %{__aclocal}
108 %{__autoconf}
109 %configure \
110         --with-oss-dsp \
111         --with-gsm \
112 %ifnarch sparc sparc64
113         %{!?_without_alsa:--with-alsa-dsp}
114 %endif
115
116 %{__make} PREFIX=%{_prefix}
117
118 %install
119 rm -rf $RPM_BUILD_ROOT
120
121 %{__make} install install-lib \
122         DESTDIR=$RPM_BUILD_ROOT
123
124 echo "#!/bin/sh" > $RPM_BUILD_ROOT%{_bindir}/soxplay
125 echo "" >> $RPM_BUILD_ROOT%{_bindir}/soxplay
126 echo '%{_bindir}/sox $1 -t .au - > /dev/audio' >> $RPM_BUILD_ROOT%{_bindir}/soxplay
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %files
132 %defattr(644,root,root,755)
133 %doc monkey.* Changelog README TODO
134 %attr(755,root,root) %{_bindir}/[!l]*
135 %{_mandir}/man1/*
136
137 %files devel
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_bindir}/libst-config
140 %{_libdir}/libst.a
141 %{_includedir}/*.h
142 %{_mandir}/man3/*
This page took 0.047227 seconds and 3 git commands to generate.