- Move large documentation into -doc subpackage (#744416)
- Reworked spec file to build libisofs1 for RHEL >= 6 (#744416)
This commit is contained in:
parent
10dbc78bf9
commit
a8366e4df5
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
libisofs-1.?.?.tar.gz
|
||||
/libisofs-1.?.?.tar.gz
|
||||
|
@ -1,14 +1,19 @@
|
||||
%global pkgname libisofs
|
||||
|
||||
Summary: Library to create ISO 9660 disk images
|
||||
Name: libisofs
|
||||
Version: 1.4.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
# make_isohybrid_mbr.c is under LGPLv2+, the rest under GPLv2+
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://libburnia-project.org/
|
||||
Source: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
|
||||
Source: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
||||
Patch0: libisofs-0.6.16-multilib.patch
|
||||
BuildRequires: libacl-devel, zlib-devel, doxygen, graphviz
|
||||
BuildRequires: libacl-devel, zlib-devel
|
||||
%if 0%{?rhel} >= 6
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
@ -21,18 +26,44 @@ ACLs and xattr in ISO-9660 filesystems as well. As it is linked with
|
||||
zlib, it supports zisofs compression, too.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libisofs
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
||||
|
||||
%description devel
|
||||
The libisofs-devel package contains libraries and header files for
|
||||
developing applications that use libisofs.
|
||||
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
|
||||
Libisofs is a library to create an ISO-9660 filesystem and supports
|
||||
extensions like RockRidge or Joliet. This package contains the API
|
||||
documentation for developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
%patch0 -p1 -b .multilib
|
||||
|
||||
# Rename from libisofs to libisofs1 for RHEL >= 6
|
||||
%if 0%{?rhel} >= 6
|
||||
sed -e 's@libisofs_libisofs@libisofs_libisofs1@g' \
|
||||
-e 's@libisofs/libisofs.la@libisofs/libisofs1.la@g' \
|
||||
-e 's@(includedir)/libisofs@(includedir)/libisofs1@g' \
|
||||
-e 's@libisofs-1.pc@libisofs1-1.pc@g' -i Makefile.am
|
||||
sed -e 's@libisofs-1.pc@libisofs1-1.pc@g' -i configure.ac
|
||||
sed -e 's@isofs@isofs1@g' libisofs-1.pc.in > libisofs1-1.pc.in
|
||||
|
||||
libtoolize --force
|
||||
autoreconf --force
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
@ -64,12 +95,19 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/html
|
||||
%{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}*.pc
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/html/
|
||||
|
||||
%changelog
|
||||
* Sat Apr 30 2016 Robert Scheck <robert@fedoraproject.org> 1.4.2-3
|
||||
- Move large documentation into -doc subpackage (#744416)
|
||||
- Reworked spec file to build libisofs1 for RHEL >= 6 (#744416)
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user