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