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