5 Summary: The Vorbis General Audio Compression Codec
6 Url: http://www.vorbis.com/
7 Group: Multimedia/Audio
8 Source: %{name}-%{version}.tar.xz
11 BuildRequires: libogg-devel
12 BuildRequires: libtool
13 BuildRequires: pkgconfig
16 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
17 general-purpose compressed audio format for audio and music at fixed
18 and variable bit rates from 16 to 128 kbps/channel.
20 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
21 libmatroska (matroska) can also be used.
24 %package -n libvorbisenc
26 Summary: The Vorbis General Audio Compression Codec
27 Group: Multimedia/Audio
29 %description -n libvorbisenc
30 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
31 general-purpose compressed audio format for audio and music at fixed
32 and variable bit rates from 16 to 128 kbps/channel.
34 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
35 libmatroska (matroska) can also be used.
37 %package -n libvorbisfile
39 Summary: The Vorbis General Audio Compression Codec
40 Group: Multimedia/Audio
42 %description -n libvorbisfile
43 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
44 general-purpose compressed audio format for audio and music at fixed
45 and variable bit rates from 16 to 128 kbps/channel.
47 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
48 libmatroska (matroska) can also be used.
51 Summary: Include Files and Libraries mandatory for Ogg Vorbis Development
52 Group: Development/Libraries
54 Requires: libogg-devel
55 Requires: libvorbis = %{version}
56 Requires: libvorbisenc = %{version}
57 Requires: libvorbisfile = %{version}
60 This package contains all necessary include files and libraries needed
61 to compile and develop applications that use libvorbis.
67 # Fix optimization level
68 sed -i s,-O20,-O3,g configure.ac
71 %configure --disable-examples --disable-static
79 mkdir -p %{buildroot}%{_docdir}/%{name}
80 mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
81 install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
85 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
89 %post -n libvorbisenc -p /sbin/ldconfig
91 %postun -n libvorbisenc -p /sbin/ldconfig
93 %post -n libvorbisfile -p /sbin/ldconfig
95 %postun -n libvorbisfile -p /sbin/ldconfig
98 %defattr(0644,root,root,0755)
100 %{_libdir}/libvorbis.so.0*
102 %files -n libvorbisenc
103 %defattr(0644,root,root,0755)
105 %{_libdir}/libvorbisenc.so.2*
107 %files -n libvorbisfile
108 %defattr(0644,root,root,0755)
110 %{_libdir}/libvorbisfile.so.3*
113 %defattr(-,root,root)
115 %{_datadir}/aclocal/*.m4
116 %{_includedir}/vorbis
118 %{_libdir}/pkgconfig/*.pc