]>
Commit | Line | Data |
---|---|---|
083c7a74 | 1 | Summary: Audio File Library - SGI Audio File Library |
53a88384 ER |
2 | Summary(es.UTF-8): Biblioteca para manipulación de varios archivos de sonido |
3 | Summary(pl.UTF-8): Biblioteka Audio File - implementacja SGI Audio File Library | |
4 | Summary(pt_BR.UTF-8): Biblioteca para manipular vários formatos de arquivos de áudio | |
5 | Summary(ru.UTF-8): Библиотека работы с разными форматами аудио-файлов | |
6 | Summary(uk.UTF-8): Бібліотека роботи з різними форматами аудіо-файлів | |
083c7a74 | 7 | Name: audiofile |
e88ff38f | 8 | Version: 0.3.1 |
9d466bd0 | 9 | Release: 1 |
23e518ad | 10 | Epoch: 1 |
9ea166bc | 11 | License: LGPL v2+ |
c83f2820 | 12 | Group: Libraries |
e88ff38f AF |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/audiofile/0.3/%{name}-%{version}.tar.xz |
14 | # Source0-md5: a83fa88a9711543db89ee0e0af109484 | |
15 | Patch0: libm.patch | |
1c67c1bd | 16 | URL: http://www.68k.org/~michael/audiofile/ |
a82f49d6 | 17 | BuildRequires: automake |
083c7a74 | 18 | Obsoletes: libaudiofile |
ea2b99f3 | 19 | Obsoletes: libaudiofile0 |
9ea166bc | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
083c7a74 | 21 | |
5ef32379 | 22 | %undefine __cxx |
e88ff38f | 23 | %define specflags -Wno-unused-but-set-variable |
5ef32379 | 24 | |
083c7a74 | 25 | %description |
675af6bd | 26 | This Audio File Library is an implementation of the SGI Audio File |
27 | library. Since the latter is specified ambiguously in places, I've | |
28 | taken some liberties in interpreting certain such ambiguities. At the | |
29 | present, not all features of the SGI Audio File library are | |
30 | implemented. I feel, though, that this implementation of the Audio | |
31 | File Library offers enough functionality to be useful for general | |
32 | tasks. This library allows the processing of audio data to and from | |
33 | audio files of many common formats (currently AIFF, AIFC, WAVE, and | |
34 | NeXT/Sun). | |
083c7a74 | 35 | |
2c74a423 JR |
36 | %description -l es.UTF-8 |
37 | La Biblioteca de Archivos de Audio es una implementación parcial de la | |
d4c72e6a | 38 | biblioteca de Archivos de Audio SGI. Dicha biblioteca permite el |
39 | procesado de datos de audio desde y para archivos de audio de los | |
2c74a423 | 40 | formatos más comunes (actualmente AIFF, AIFC, WAVE, y NeXT/Sun). |
d4c72e6a | 41 | |
2c74a423 | 42 | Este software no está completo y está todavía desarrollándose. Muchos |
d4c72e6a | 43 | formatos de archivo de sonido funcionan correctamente. Otros no tanto. |
44 | ||
2c74a423 JR |
45 | %description -l pl.UTF-8 |
46 | Biblioteka Audio File jest implementacją biblioteki SGI Audio File. | |
47 | Przy jej pomocy można przetwarzać dźwięki w różnych formatach (AIFF, | |
675af6bd | 48 | AIFC, WAVE i NeXT/Sun). |
083c7a74 | 49 | |
2c74a423 JR |
50 | %description -l pt_BR.UTF-8 |
51 | A biblioteca Audio File é uma implementação parcial da bibliotca Audio | |
52 | File da SGI. Ela provê processamento de dados de áudio de e para | |
53 | vários formatos comuns (atualmente AIFF, AIFC, WAVE e NeXT/Sun). | |
d4c72e6a | 54 | |
2c74a423 JR |
55 | Este software não está completo e ainda está em desenvolvimento. |
56 | Muitos formatos funcionam bem, outros ainda não. | |
d4c72e6a | 57 | |
2c74a423 JR |
58 | %description -l ru.UTF-8 |
59 | Библиотека работы с разными форматами фудио-файлов. Используется | |
60 | демоном esound. | |
b03cc14b | 61 | |
2c74a423 JR |
62 | %description -l uk.UTF-8 |
63 | Бібліотека роботи з різними форматами аудіо-файлів. Використовується | |
64 | демоном esound. | |
b03cc14b | 65 | |
d4c72e6a | 66 | %package progs |
91093377 | 67 | Summary: Audiofile programs |
53a88384 ER |
68 | Summary(pl.UTF-8): Programy audiofile |
69 | Summary(pt_BR.UTF-8): Programas que acompanham a biblioteca audiofile | |
9ea166bc | 70 | License: GPL v2+ |
d4c72e6a | 71 | Group: Applications/Sound |
9ea166bc | 72 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d4c72e6a | 73 | |
74 | %description progs | |
75 | audiofile applications. | |
76 | ||
2c74a423 | 77 | %description progs -l pl.UTF-8 |
91093377 TP |
78 | Programy audiofile. |
79 | ||
2c74a423 | 80 | %description progs -l pt_BR.UTF-8 |
d4c72e6a | 81 | Programas que acompanham a audiofile. |
82 | ||
05d511e9 | 83 | %package devel |
a82f49d6 | 84 | Summary: Header and other files to develop Audio File applications |
53a88384 ER |
85 | Summary(es.UTF-8): Archivos de inclusión y otros archivos para el desarrollo de aplicaciones audiofile |
86 | Summary(pl.UTF-8): Pliki nagłówkowe i inne potrzebe do Audio File | |
87 | Summary(pt_BR.UTF-8): Arquivos de inclusão e outros arquivos para desenvolver aplicativos audiofile | |
88 | Summary(ru.UTF-8): Файлы для разработки приложений с использованием audiofile | |
89 | Summary(uk.UTF-8): Файли для розробки прикладних програм з використанням audiofile | |
083c7a74 | 90 | Group: Development/Libraries |
f5b38397 | 91 | Requires: %{name} = %{epoch}:%{version}-%{release} |
083c7a74 | 92 | Obsoletes: libaudiofile-devel |
ea2b99f3 | 93 | Obsoletes: libaudiofile0-devel |
083c7a74 | 94 | |
95 | %description devel | |
a82f49d6 | 96 | Header and other files to develop Audio File applications. |
083c7a74 | 97 | |
2c74a423 JR |
98 | %description devel -l pl.UTF-8 |
99 | Pliki nagłówkowe biblioteki Audio File, czyli to, co jest potrzebne do | |
100 | tworzenia aplikacji korzystających z tej biblioteki. | |
083c7a74 | 101 | |
2c74a423 JR |
102 | %description devel -l es.UTF-8 |
103 | Archivos de inclusión y otros archivos para el desarrollo de | |
a82f49d6 | 104 | aplicaciones audiofile. |
d4c72e6a | 105 | |
2c74a423 JR |
106 | %description devel -l pt_BR.UTF-8 |
107 | Arquivos de inclusão e outros arquivos para desenvolver aplicativos | |
a82f49d6 | 108 | audiofile. |
d4c72e6a | 109 | |
2c74a423 JR |
110 | %description devel -l ru.UTF-8 |
111 | .h-файлы и пр. для разработки приложений с использованием audiofile. | |
b03cc14b | 112 | |
2c74a423 JR |
113 | %description devel -l uk.UTF-8 |
114 | .h-файли та інше для розробки прикладних програм з використанням | |
b03cc14b | 115 | audiofile. |
116 | ||
05d511e9 | 117 | %package static |
083c7a74 | 118 | Summary: Static libaudiofile libraries |
53a88384 ER |
119 | Summary(pl.UTF-8): Biblioteka statyczne libaudiofile |
120 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com audiofile | |
121 | Summary(ru.UTF-8): Статические библиотеки для разработки приложений с использованием audiofile | |
122 | Summary(uk.UTF-8): Статичні бібліотеки для розробки прикладних програм з використанням audiofile | |
083c7a74 | 123 | Group: Development/Libraries |
f5b38397 | 124 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
083c7a74 | 125 | Obsoletes: libaudiofile-static |
126 | ||
127 | %description static | |
9e27fe3b | 128 | Static libaudiofile libraries. |
083c7a74 | 129 | |
2c74a423 | 130 | %description static -l pl.UTF-8 |
919cf9ea | 131 | Biblioteki statyczne libaudiofile. |
083c7a74 | 132 | |
2c74a423 JR |
133 | %description static -l pt_BR.UTF-8 |
134 | Bibliotecas estáticas para desenvolvimento com audiofile | |
d4c72e6a | 135 | |
2c74a423 JR |
136 | %description static -l ru.UTF-8 |
137 | Статические библиотеки для разработки приложений с использованием | |
b03cc14b | 138 | audiofile. |
139 | ||
2c74a423 JR |
140 | %description static -l uk.UTF-8 |
141 | Статичні бібліотеки для розробки прикладних програм з використанням | |
b03cc14b | 142 | audiofile. |
143 | ||
083c7a74 | 144 | %prep |
145 | %setup -q | |
e88ff38f | 146 | %patch0 -p1 |
083c7a74 | 147 | |
148 | %build | |
e88ff38f AF |
149 | %{__libtoolize} |
150 | %{__aclocal} | |
151 | %{__autoconf} | |
152 | %{__autoheader} | |
153 | %{__automake} | |
1c67c1bd JB |
154 | %configure \ |
155 | --enable-largefile | |
c2d6327b | 156 | %{__make} |
083c7a74 | 157 | |
158 | %install | |
159 | rm -rf $RPM_BUILD_ROOT | |
160 | ||
10607d95 | 161 | %{__make} install \ |
1c67c1bd | 162 | DESTDIR=$RPM_BUILD_ROOT |
083c7a74 | 163 | |
083c7a74 | 164 | %clean |
165 | rm -rf $RPM_BUILD_ROOT | |
166 | ||
05478136 JB |
167 | %post -p /sbin/ldconfig |
168 | %postun -p /sbin/ldconfig | |
169 | ||
083c7a74 | 170 | %files |
171 | %defattr(644,root,root,755) | |
9ea166bc JB |
172 | %doc ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO |
173 | %attr(755,root,root) %{_libdir}/libaudiofile.so.*.*.* | |
174 | %attr(755,root,root) %ghost %{_libdir}/libaudiofile.so.0 | |
083c7a74 | 175 | |
d4c72e6a | 176 | %files progs |
177 | %defattr(644,root,root,755) | |
89ed98b4 | 178 | %attr(755,root,root) %{_bindir}/sfconvert |
179 | %attr(755,root,root) %{_bindir}/sfinfo | |
e88ff38f | 180 | %{_mandir}/man1/* |
083c7a74 | 181 | |
182 | %files devel | |
183 | %defattr(644,root,root,755) | |
9ea166bc JB |
184 | %attr(755,root,root) %{_libdir}/libaudiofile.so |
185 | %{_libdir}/libaudiofile.la | |
186 | %{_includedir}/af_vfs.h | |
187 | %{_includedir}/audiofile.h | |
188 | %{_includedir}/aupvlist.h | |
9ea166bc | 189 | %{_pkgconfigdir}/audiofile.pc |
e88ff38f | 190 | %{_mandir}/man3/* |
083c7a74 | 191 | |
192 | %files static | |
4d69ad4f | 193 | %defattr(644,root,root,755) |
9ea166bc | 194 | %{_libdir}/libaudiofile.a |