|
|
|
@ -1,21 +1,21 @@
|
|
|
|
|
%global pkgname libisofs
|
|
|
|
|
|
|
|
|
|
Summary: Library to create ISO 9660 disk images
|
|
|
|
|
Name: libisofs
|
|
|
|
|
Version: 1.5.4
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Library to create ISO 9660 disk images
|
|
|
|
|
Name: libisofs
|
|
|
|
|
Version: 1.4.8
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
# make_isohybrid_mbr.c is under LGPLv2+, the rest under GPLv2+
|
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
|
URL: https://libburnia-project.org/
|
|
|
|
|
Source0: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
|
|
|
|
Source1: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
|
|
|
|
Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
|
|
|
|
Patch0: libisofs-0.6.16-multilib.patch
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: gcc, make, libacl-devel, zlib-devel
|
|
|
|
|
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://libburnia-project.org/
|
|
|
|
|
Source0: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
|
|
|
|
Source1: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
|
|
|
|
Patch0: libisofs-0.6.16-multilib.patch
|
|
|
|
|
BuildRequires: libacl-devel, zlib-devel
|
|
|
|
|
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
%endif
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libisofs is a library to create an ISO-9660 filesystem and supports
|
|
|
|
@ -27,32 +27,33 @@ 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 %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%if 0%{!?_without_doc:1}
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation files for %{name}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: doxygen, graphviz
|
|
|
|
|
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}.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%setup -q -n %{pkgname}-%{version}
|
|
|
|
|
%patch0 -p1 -b .multilib
|
|
|
|
|
|
|
|
|
|
# Rename from libisofs to libisofs1 for EPEL
|
|
|
|
|
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
|
|
|
|
# Rename from libisofs to libisofs1 for RHEL >= 6
|
|
|
|
|
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
|
|
|
|
sed -e 's@libisofs_libisofs@libisofs_libisofs1@g' \
|
|
|
|
|
-e 's@libisofs/libisofs.la@libisofs/libisofs1.la@g' \
|
|
|
|
|
-e 's@(includedir)/libisofs@(includedir)/libisofs1@g' \
|
|
|
|
@ -61,16 +62,17 @@ 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 --install
|
|
|
|
|
autoreconf --force
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%make_build
|
|
|
|
|
%{!?_without_doc:doxygen doc/doxygen.conf}
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
doxygen doc/doxygen.conf
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
|
|
|
|
|
|
|
|
|
# Don't install any libtool .la files
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
|
|
|
@ -78,9 +80,15 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
|
|
|
|
# Clean up for later usage in documentation
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS COPYRIGHT README
|
|
|
|
|
%{_libdir}/%{name}*.so.*
|
|
|
|
@ -90,49 +98,12 @@ rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}*.pc
|
|
|
|
|
|
|
|
|
|
%if 0%{!?_without_doc:1}
|
|
|
|
|
%files doc
|
|
|
|
|
%doc doc/html/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 11 2022 Jiri Kucera <jkucera@redhat.com> - 1.5.4-4
|
|
|
|
|
- Fix URLs
|
|
|
|
|
Resolves: #1967489
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Mon Feb 08 2021 Robert Scheck <robert@fedoraproject.org> 1.5.4-1
|
|
|
|
|
- Upgrade to 1.5.4 (#1926007)
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Oct 27 2019 Robert Scheck <robert@fedoraproject.org> 1.5.2-1
|
|
|
|
|
- Upgrade to 1.5.2 (#1765955)
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Dec 08 2018 Robert Scheck <robert@fedoraproject.org> 1.5.0-1
|
|
|
|
|
- Upgrade to 1.5.0
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.4.8-3
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|