Move large documentation into -doc subpackage (#750009)
This commit is contained in:
parent
15e7e89681
commit
3d401205cb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/libburn-1.?.*.tar.gz
|
||||
/libburn-*.tar.gz
|
||||
|
28
libburn.spec
28
libburn.spec
@ -15,7 +15,7 @@ Group: System Environment/Libraries
|
||||
URL: http://libburnia-project.org/
|
||||
Source0: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
||||
Patch0: libburn-0.6.16-multilib.patch
|
||||
BuildRequires: intltool, gettext, doxygen, graphviz
|
||||
BuildRequires: intltool, gettext
|
||||
%if 0%{?rhel} >= 6
|
||||
BuildRequires: autoconf, automake, libtool, pkgconfig
|
||||
%endif
|
||||
@ -40,6 +40,19 @@ Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for %{name}
|
||||
Group: Documentation
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 6
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRequires: doxygen, graphviz
|
||||
|
||||
%description doc
|
||||
Libburn is a library by which preformatted data get onto optical media:
|
||||
CD, DVD and BD (Blu-Ray). This package contains the API documentation
|
||||
for developing applications that use %{name}.
|
||||
|
||||
%package -n %{cdrskin}
|
||||
Summary: Limited cdrecord compatibility wrapper to ease migration to %{name}
|
||||
Group: Applications/Multimedia
|
||||
@ -82,6 +95,9 @@ make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
||||
# Don't install any libtool .la files
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||
|
||||
# Clean up for later usage in documentation
|
||||
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
||||
|
||||
# RHEL >= 6 ships a cdrskin package already
|
||||
%if 0%{?rhel} >= 6
|
||||
mv -f $RPM_BUILD_ROOT%{_bindir}/{cdrskin,%{cdrskin}}
|
||||
@ -117,21 +133,20 @@ fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc AUTHORS COPYRIGHT README
|
||||
%{_libdir}/%{name}*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/html
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/%{name}*.so
|
||||
%{_libdir}/pkgconfig/%{name}*.pc
|
||||
|
||||
%files doc
|
||||
%doc doc/html/
|
||||
|
||||
%files -n %{cdrskin}
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
%ghost %{_bindir}/cdrecord
|
||||
%endif
|
||||
@ -139,6 +154,9 @@ fi
|
||||
%{_mandir}/man1/%{cdrskin}.1*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 24 2017 Robert Scheck <robert@fedoraproject.org> 1.4.6-5
|
||||
- Move large documentation into -doc subpackage (#750009)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user