2807e7e
Name:           wimlib
e09a578
Version:        1.13.3
c27c712
Release:        1%{?dist}
2807e7e
Summary:        Open source Windows Imaging (WIM) library
2807e7e
2807e7e
# Library is dual licensed, utilities are GPLv3+, some internal headers are CC0
2807e7e
License:        (GPLv3+ or LGPLv3+) and GPLv3+ and CC0
2807e7e
URL:            https://wimlib.net/
2807e7e
Source0:        %{url}/downloads/%{name}-%{version}.tar.gz
2807e7e
2807e7e
BuildRequires:  gcc
2807e7e
BuildRequires:  pkgconfig(fuse)
2807e7e
BuildRequires:  pkgconfig(libcrypto)
2807e7e
BuildRequires:  pkgconfig(libntfs-3g)
2807e7e
BuildRequires:  pkgconfig(libxml-2.0)
2807e7e
2807e7e
%description
2807e7e
wimlib is a C library for creating, modifying, extracting, and mounting files in
2807e7e
the Windows Imaging Format (WIM files). wimlib and its command-line frontend
2807e7e
'wimlib-imagex' provide a free and cross-platform alternative to Microsoft's
2807e7e
WIMGAPI, ImageX, and DISM.
2807e7e
2807e7e
2807e7e
%package devel
2807e7e
Summary:        Development files for %{name}
2807e7e
Requires:       %{name}%{?_isa} = %{version}-%{release}
2807e7e
2807e7e
%description devel
2807e7e
The %{name}-devel package contains libraries and header files for developing
2807e7e
applications that use %{name}.
2807e7e
2807e7e
2807e7e
%package utils
2807e7e
Summary:        Tools for creating, modifying, extracting, and mounting WIM files
2807e7e
Requires:       %{name}%{?_isa} = %{version}-%{release}
2807e7e
2807e7e
%description utils
2807e7e
This package provides tools for creating, modifying, extracting, and mounting
2807e7e
files in the Windows Imaging Format (WIM files).
2807e7e
2807e7e
2807e7e
%prep
2807e7e
%autosetup
2807e7e
2807e7e
2807e7e
%build
2807e7e
%configure \
2807e7e
    --disable-silent-rules \
2807e7e
    --disable-static
2807e7e
# Remove Rpath
2807e7e
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
2807e7e
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
2807e7e
%make_build
2807e7e
2807e7e
2807e7e
%install
2807e7e
%make_install
2807e7e
find $RPM_BUILD_ROOT -name "*.la" -delete
2807e7e
2807e7e
2807e7e
%files
2807e7e
%doc NEWS README
2807e7e
%license COPYING COPYING.CC0 COPYING.GPLv3 COPYING.LGPLv3
2807e7e
%{_libdir}/*.so.15*
2807e7e
2807e7e
2807e7e
%files devel
2807e7e
%{_includedir}/*
2807e7e
%{_libdir}/*.so
2807e7e
%{_libdir}/pkgconfig/%{name}.pc
2807e7e
2807e7e
2807e7e
%files utils
2807e7e
%{_bindir}/*
2807e7e
%{_mandir}/man1/*.1.*
2807e7e
2807e7e
2807e7e
%changelog
fe68622
* Tue Oct 27 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.3-1
e09a578
- Update to 1.13.3
e09a578
c27c712
* Mon May 25 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.2-1
c27c712
- Update to 1.13.2
c27c712
9e60e45
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.1-2
9e60e45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9e60e45
2807e7e
* Mon Aug 26 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.1-1
2807e7e
- Initial RPM release