5 Summary: The Vorbis General Audio Compression Codec
6 Url: http://www.vorbis.com/
7 Group: Multimedia/Audio
8 Source: %{name}-%{version}.tar.xz
10 Source1001: libvorbis.manifest
12 BuildRequires: libogg-devel
13 BuildRequires: libtool
14 BuildRequires: pkgconfig
17 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
18 general-purpose compressed audio format for audio and music at fixed
19 and variable bit rates from 16 to 128 kbps/channel.
21 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
22 libmatroska (matroska) can also be used.
25 %package -n libvorbisenc
27 Summary: The Vorbis General Audio Compression Codec
28 Group: Multimedia/Audio
30 %description -n libvorbisenc
31 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
32 general-purpose compressed audio format for audio and music at fixed
33 and variable bit rates from 16 to 128 kbps/channel.
35 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
36 libmatroska (matroska) can also be used.
38 %package -n libvorbisfile
40 Summary: The Vorbis General Audio Compression Codec
41 Group: Multimedia/Audio
43 %description -n libvorbisfile
44 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
45 general-purpose compressed audio format for audio and music at fixed
46 and variable bit rates from 16 to 128 kbps/channel.
48 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
49 libmatroska (matroska) can also be used.
52 Summary: Include Files and Libraries mandatory for Ogg Vorbis Development
53 Group: Development/Libraries
55 Requires: libogg-devel
56 Requires: libvorbis = %{version}
57 Requires: libvorbisenc = %{version}
58 Requires: libvorbisfile = %{version}
61 This package contains all necessary include files and libraries needed
62 to compile and develop applications that use libvorbis.
69 # Fix optimization level
70 sed -i s,-O20,-O3,g configure.ac
73 %configure --disable-examples --disable-static
81 mkdir -p %{buildroot}%{_docdir}/%{name}
82 mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
83 install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
87 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
91 %post -n libvorbisenc -p /sbin/ldconfig
93 %postun -n libvorbisenc -p /sbin/ldconfig
95 %post -n libvorbisfile -p /sbin/ldconfig
97 %postun -n libvorbisfile -p /sbin/ldconfig
100 %manifest %{name}.manifest
101 %defattr(0644,root,root,0755)
103 %{_libdir}/libvorbis.so.0*
105 %files -n libvorbisenc
106 %manifest %{name}.manifest
107 %defattr(0644,root,root,0755)
109 %{_libdir}/libvorbisenc.so.2*
111 %files -n libvorbisfile
112 %manifest %{name}.manifest
113 %defattr(0644,root,root,0755)
115 %{_libdir}/libvorbisfile.so.3*
118 %manifest %{name}.manifest
119 %defattr(-,root,root)
121 %{_datadir}/aclocal/*.m4
122 %{_includedir}/vorbis
124 %{_libdir}/pkgconfig/*.pc