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