- ship documentation only in -doc subpackage and only license in
-devel (#540634) - thanks to Edward Sheldrake - -devel-doc subpackage requires -devel
This commit is contained in:
parent
f86c62a3ac
commit
4191a1f2e7
@ -1,7 +1,7 @@
|
||||
Summary: The Vorbis General Audio Compression Codec.
|
||||
Name: libvorbis
|
||||
Version: 1.3.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 1
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
@ -23,7 +23,7 @@ that support Ogg Vorbis.
|
||||
Summary: Development tools for Vorbis applications.
|
||||
Group: Development/Libraries
|
||||
Requires: libogg-devel >= 2:1.1
|
||||
Requires: libvorbis = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
Obsoletes: vorbis-devel
|
||||
|
||||
%description devel
|
||||
@ -33,6 +33,7 @@ needed to develop applications with Ogg Vorbis.
|
||||
%package devel-docs
|
||||
Summary: Documentation for developing Vorbis applications
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel-docs
|
||||
@ -59,7 +60,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%doc %dir %{_docdir}/%{name}-%{version}
|
||||
%doc %{_docdir}/%{name}-%{version}/COPYING
|
||||
%{_libdir}/libvorbis.so.*
|
||||
%{_libdir}/libvorbisfile.so.*
|
||||
%{_libdir}/libvorbisenc.so.*
|
||||
@ -76,6 +78,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%files devel-docs
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/%{name}-%{version}
|
||||
%exclude %{_docdir}/%{name}-%{version}/COPYING
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -85,6 +88,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed Jan 04 2012 Jindrich Novy <jnovy@redhat.com> 1.3.2-2
|
||||
- ship documentation only in -doc subpackage and only license
|
||||
in -devel (#540634) - thanks to Edward Sheldrake
|
||||
- -devel-doc subpackage requires -devel
|
||||
|
||||
* Wed Feb 09 2011 Adam Jackson <ajax@redhat.com> 1.3.2-1
|
||||
- libvorbis 1.3.2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user