Move large documentation into -doc subpackage
This commit is contained in:
parent
6c8f27caa7
commit
d7975325c4
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
libisoburn-1.?.?.tar.gz
|
||||
/libisoburn-*.tar.gz
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
||||
Name: libisoburn
|
||||
Version: 1.4.6
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://libburnia-project.org/
|
||||
@ -9,7 +9,7 @@ Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.
|
||||
Source1: xorriso_servicemenu.desktop
|
||||
Patch0: libisoburn-1.0.8-multilib.patch
|
||||
Patch1: libisoburn-1.4.6-d9c93a6d.patch
|
||||
BuildRequires: readline-devel, libacl-devel, zlib-devel, doxygen, graphviz
|
||||
BuildRequires: readline-devel, libacl-devel, zlib-devel
|
||||
%if 0%{?rhel} >= 6
|
||||
BuildRequires: libburn1-devel >= 1.4.6, libisofs1-devel >= 1.4.6
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
@ -37,6 +37,20 @@ Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
||||
The libisoburn-devel package contains libraries and header files for
|
||||
developing applications that use libisoburn.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for libisoburn
|
||||
Group: Documentation
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 6
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRequires: doxygen, graphviz
|
||||
|
||||
%description doc
|
||||
Libisoburn is a front-end for libraries libburn and libisofs which
|
||||
enables creation and expansion of ISO-9660 filesystems on all CD/
|
||||
DVD/BD media supported by libburn. And this package contains the API
|
||||
documentation for developing applications that use libisoburn.
|
||||
|
||||
%package -n xorriso
|
||||
Summary: ISO-9660 and Rock Ridge image manipulation tool
|
||||
Group: Applications/Archiving
|
||||
@ -89,6 +103,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}
|
||||
|
||||
# Install the KDE service menu handler
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus/
|
||||
@ -145,21 +162,21 @@ if [ $1 = 0 ]; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc AUTHORS COPYRIGHT README ChangeLog
|
||||
%{_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 xorriso
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
%ghost %{_bindir}/mkisofs
|
||||
%endif
|
||||
@ -178,6 +195,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Aug 24 2017 Robert Scheck <robert@fedoraproject.org> 1.4.6-7
|
||||
- Move large documentation into -doc subpackage
|
||||
|
||||
* Sun Aug 13 2017 Robert Scheck <robert@fedoraproject.org> 1.4.6-6
|
||||
- Added upstream patch to avoid %%check failure due to tput error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user