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 BuildRequires: libogg-devel
11 BuildRequires: libtool
12 BuildRequires: pkgconfig
15 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
16 general-purpose compressed audio format for audio and music at fixed
17 and variable bit rates from 16 to 128 kbps/channel.
19 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
20 libmatroska (matroska) can also be used.
23 %package -n libvorbisenc
25 Summary: The Vorbis General Audio Compression Codec
26 Group: Multimedia/Audio
28 %description -n libvorbisenc
29 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
30 general-purpose compressed audio format for audio and music at fixed
31 and variable bit rates from 16 to 128 kbps/channel.
33 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
34 libmatroska (matroska) can also be used.
36 %package -n libvorbisfile
38 Summary: The Vorbis General Audio Compression Codec
39 Group: Multimedia/Audio
41 %description -n libvorbisfile
42 Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
43 general-purpose compressed audio format for audio and music at fixed
44 and variable bit rates from 16 to 128 kbps/channel.
46 The native bitstream format of Vorbis is libogg (Ogg). Alternatively,
47 libmatroska (matroska) can also be used.
50 Summary: Include Files and Libraries mandatory for Ogg Vorbis Development
51 Group: Development/Libraries
53 Requires: libogg-devel
54 Requires: libvorbis = %{version}-%{release}
55 Requires: libvorbisenc = %{version}-%{release}
56 Requires: libvorbisfile = %{version}-%{release}
59 This package contains all necessary include files and libraries needed
60 to compile and develop applications that use libvorbis.
66 # Fix optimization level
67 sed -i s,-O20,-O3,g configure.ac
69 %autogen --disable-examples --disable-static
70 %__make %{?_smp_mflags}
77 mkdir -p %{buildroot}%{_docdir}/%{name}
78 mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
79 install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
83 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
87 %post -n libvorbisenc -p /sbin/ldconfig
89 %postun -n libvorbisenc -p /sbin/ldconfig
91 %post -n libvorbisfile -p /sbin/ldconfig
93 %postun -n libvorbisfile -p /sbin/ldconfig
96 %manifest %{name}.manifest
97 %defattr(0644,root,root,0755)
99 %{_libdir}/libvorbis.so.0*
101 %files -n libvorbisenc
102 %manifest %{name}.manifest
103 %defattr(0644,root,root,0755)
105 %{_libdir}/libvorbisenc.so.2*
107 %files -n libvorbisfile
108 %manifest %{name}.manifest
109 %defattr(0644,root,root,0755)
111 %{_libdir}/libvorbisfile.so.3*
114 %manifest %{name}.manifest
115 %defattr(-,root,root)
117 %{_datadir}/aclocal/*.m4
118 %{_includedir}/vorbis
120 %{_libdir}/pkgconfig/*.pc