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}-%{release}
57 Requires: libvorbisenc = %{version}-%{release}
58 Requires: libvorbisfile = %{version}-%{release}
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
72 %autogen --disable-examples --disable-static
73 %__make %{?_smp_mflags}
80 mkdir -p %{buildroot}%{_docdir}/%{name}
81 mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
82 install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
86 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
90 %post -n libvorbisenc -p /sbin/ldconfig
92 %postun -n libvorbisenc -p /sbin/ldconfig
94 %post -n libvorbisfile -p /sbin/ldconfig
96 %postun -n libvorbisfile -p /sbin/ldconfig
99 %manifest %{name}.manifest
100 %defattr(0644,root,root,0755)
102 %{_libdir}/libvorbis.so.0*
104 %files -n libvorbisenc
105 %manifest %{name}.manifest
106 %defattr(0644,root,root,0755)
108 %{_libdir}/libvorbisenc.so.2*
110 %files -n libvorbisfile
111 %manifest %{name}.manifest
112 %defattr(0644,root,root,0755)
114 %{_libdir}/libvorbisfile.so.3*
117 %manifest %{name}.manifest
118 %defattr(-,root,root)
120 %{_datadir}/aclocal/*.m4
121 %{_includedir}/vorbis
123 %{_libdir}/pkgconfig/*.pc