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