2807e7e
Name:           wimlib
589eacb
Version:        1.14.4
589eacb
Release:        1%{?dist}
2807e7e
Summary:        Open source Windows Imaging (WIM) library
2807e7e
643356c
# wimlib is dual-licensed (GPL-3.0-or-later/LGPL-3.0-or-later) but is linked to
643356c
# libntfs-3g (GPL-3.0-or-later), utilities are GPL-3.0-or-later, some internal
643356c
# headers are MIT
643356c
License:        GPL-3.0-or-later AND MIT
2807e7e
URL:            https://wimlib.net/
2807e7e
Source0:        %{url}/downloads/%{name}-%{version}.tar.gz
643356c
# Disable tests requiring mount privileges
643356c
Patch0:         %{name}-1.14.3-tests.patch
2807e7e
643356c
BuildRequires:  automake
5f6bc52
BuildRequires:  make
2807e7e
BuildRequires:  gcc
643356c
BuildRequires:  pkgconfig(fuse3)
2807e7e
BuildRequires:  pkgconfig(libcrypto)
2807e7e
BuildRequires:  pkgconfig(libntfs-3g)
2807e7e
BuildRequires:  pkgconfig(libxml-2.0)
593b319
# Needed for tests
643356c
# BuildRequires:  ntfs-3g
643356c
# 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
643356c
%autosetup -p0
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
593b319
%check
593b319
%make_build check
593b319
593b319
2807e7e
%files
643356c
%doc NEWS.md README.md
593b319
%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
589eacb
* Sat Mar 02 2024 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.14.4-1
589eacb
- Update to 1.14.4
589eacb
e8b07a5
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.3-2
e8b07a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
e8b07a5
643356c
* Sun Sep 24 2023 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.14.3-1
643356c
- Update to 1.14.3
643356c
- Switch license tag to SPDX
643356c
06baadb
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.6-3
06baadb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
06baadb
073b01a
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.6-2
073b01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
073b01a
5f6bc52
* Mon Oct 03 2022 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.6-1
5f6bc52
- Update to 1.13.6
5f6bc52
- Update license tag (CC0 replaced by MIT)
5f6bc52
edb72ed
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.5-2
edb72ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
edb72ed
310f16b
* Tue Feb 01 2022 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.13.5-1
310f16b
- Update to 1.13.5
310f16b
a41c8f3
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.4-5
a41c8f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a41c8f3
45e7891
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.13.4-4
45e7891
- Rebuilt with OpenSSL 3.0.0
45e7891
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