2807e7e
Name:           wimlib
974eb0d
Version:        1.13.6
d06d960
Release:        1%{?dist}
2807e7e
Summary:        Open source Windows Imaging (WIM) library
2807e7e
0c5d283
# wimlib is dual-licensed (GPLv3+/LGPLv3+) but is linked to libntfs-3g (GPLv3+),
974eb0d
# utilities are GPLv3+, some internal headers are MIT
974eb0d
License:        GPLv3+ and MIT
2807e7e
URL:            https://wimlib.net/
2807e7e
Source0:        %{url}/downloads/%{name}-%{version}.tar.gz
2807e7e
974eb0d
BuildRequires:  make
2807e7e
BuildRequires:  gcc
2807e7e
BuildRequires:  pkgconfig(fuse)
2807e7e
BuildRequires:  pkgconfig(libcrypto)
2807e7e
BuildRequires:  pkgconfig(libntfs-3g)
2807e7e
BuildRequires:  pkgconfig(libxml-2.0)
1c531f0
# Needed for tests
1c531f0
BuildRequires:  ntfsprogs
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
1c531f0
%check
1c531f0
%make_build check
1c531f0
1c531f0
2807e7e
%files
2807e7e
%doc NEWS README
1c531f0
%license COPYING COPYING.GPLv3
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
974eb0d
* Mon Oct 03 2022 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.6-1
974eb0d
- Update to 1.13.6
974eb0d
- Update license tag (CC0 replaced by MIT)
974eb0d
d06d960
* Tue Feb 01 2022 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.5-1
d06d960
- Update to 1.13.5
d06d960
3dc9c98
* Thu Sep 02 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.13.4-3
3dc9c98
- Rebuild for ntfs-3g soname bump
3dc9c98
08ec501
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.4-2
08ec501
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
08ec501
0c5d283
* Thu Jun 03 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.4-1
0c5d283
- Update to 1.13.4
0c5d283
2c2e317
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.3-2
2c2e317
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2c2e317
ed74d43
* Tue Oct 27 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.3-1
1c2a032
- Update to 1.13.3
1c2a032
a3fb120
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.2-2
a3fb120
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a3fb120
6b53235
* Mon May 25 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.2-1
6b53235
- Update to 1.13.2
6b53235
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