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