License: BSD-3-Clause
Summary: The Vorbis General Audio Compression Codec
Url: http://www.vorbis.com/
-Group: System/Libraries
+Group: Multimedia/Audio
Source: %{name}-%{version}.tar.xz
Source2: baselibs.conf
BuildRequires: fdupes
%package -n libvorbisenc
Summary: The Vorbis General Audio Compression Codec
-Group: System/Libraries
+Group: Multimedia/Audio
%description -n libvorbisenc
Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
%package -n libvorbisfile
Summary: The Vorbis General Audio Compression Codec
-Group: System/Libraries
+Group: Multimedia/Audio
%description -n libvorbisfile
Vorbis is a fully open, nonproprietary, patent-and-royalty-free, and
%package devel
Summary: Include Files and Libraries mandatory for Ogg Vorbis Development
-Group: Development/Libraries/C and C++
+Group: Development/Libraries
Requires: glibc-devel
Requires: libogg-devel
Requires: libvorbis = %{version}
This package contains all necessary include files and libraries needed
to compile and develop applications that use libvorbis.
-%package doc
-Summary: Documentation of Ogg/Vorbis library
-Group: Documentation/Other
-BuildArch: noarch
-
-%description doc
-This package contains documents for Ogg/Vorbis library, including the
-API reference.
-
%prep
%setup -q
mkdir -p %{buildroot}%{_docdir}/%{name}
mv %{buildroot}%{_datadir}/doc/libvorbis-* %{buildroot}%{_docdir}/%{name}
install -c -m 0644 doc/Vorbis_I_spec.* %{buildroot}%{_docdir}/%{name}
-# remove unneeded files
-find %{buildroot}%{_docdir}/ -empty -delete
-%fdupes -s %{buildroot}%{_docdir}
+%remove_docs
%post -p /sbin/ldconfig
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
-%files doc
-%defattr(-,root,root)
-%doc %{_docdir}/%{name}
-
%changelog