diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bedb8e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +/wimlib-1.13.1.tar.gz +/wimlib-1.13.2.tar.gz +/wimlib-1.13.3.tar.gz +/wimlib-1.13.4.tar.gz +/wimlib-1.13.5.tar.gz +/wimlib-1.13.6.tar.gz +/wimlib-1.14.3.tar.gz +/wimlib-1.14.4.tar.gz +/wimlib-1.14.5.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..b03de56 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wimlib-1.14.5.tar.gz) = 60db80a3a93d3b5094a8277be8a41d06632905e4e1780b5def1bca614e5ef90a5627081f78dab17516192295c796bf9679883df4e0addc2d2e342d61d68f9f0b diff --git a/wimlib-1.14.3-tests.patch b/wimlib-1.14.3-tests.patch new file mode 100644 index 0000000..c803a34 --- /dev/null +++ b/wimlib-1.14.3-tests.patch @@ -0,0 +1,18 @@ +diff -up ./Makefile.am.orig ./Makefile.am +--- ./Makefile.am.orig 2023-09-04 20:41:02.000000000 +0200 ++++ ./Makefile.am 2023-09-25 00:59:26.933092055 +0200 +@@ -311,14 +311,6 @@ dist_check_SCRIPTS = tests/test-imagex \ + tests/test-imagex-capture_and_apply \ + tests/test-imagex-update_and_extract + +-if WITH_FUSE +-dist_check_SCRIPTS += tests/test-imagex-mount +-endif +- +-if WITH_NTFS_3G +-dist_check_SCRIPTS += tests/test-imagex-ntfs +-endif +- + EXTRA_DIST += \ + tests/common_tests.sh \ + tests/exclusionlists \ diff --git a/wimlib.spec b/wimlib.spec new file mode 100644 index 0000000..b70c133 --- /dev/null +++ b/wimlib.spec @@ -0,0 +1,180 @@ +Name: wimlib +Version: 1.14.5 +Release: 3%{?dist} +Summary: Open source Windows Imaging (WIM) library + +# wimlib is dual-licensed (GPL-3.0-or-later/LGPL-3.0-or-later) but is linked to +# libntfs-3g (GPL-3.0-or-later), utilities are GPL-3.0-or-later, some internal +# headers are MIT +License: GPL-3.0-or-later AND MIT +URL: https://wimlib.net/ +Source0: %{url}/downloads/%{name}-%{version}.tar.gz +# Disable tests requiring mount privileges +Patch0: %{name}-1.14.3-tests.patch + +%if 0%{?fedora} <= 42 +BuildRequires: autoconf +BuildRequires: libtool +%endif +BuildRequires: automake +BuildRequires: make +BuildRequires: gcc +BuildRequires: pkgconfig(fuse3) +BuildRequires: pkgconfig(libntfs-3g) + +%description +wimlib is a C library for creating, modifying, extracting, and mounting files in +the Windows Imaging Format (WIM files). wimlib and its command-line frontend +'wimlib-imagex' provide a free and cross-platform alternative to Microsoft's +WIMGAPI, ImageX, and DISM. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for developing +applications that use %{name}. + + +%package utils +Summary: Tools for creating, modifying, extracting, and mounting WIM files +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description utils +This package provides tools for creating, modifying, extracting, and mounting +files in the Windows Imaging Format (WIM files). + + +%prep +%autosetup -p0 + + +%build +# Ensure build files match the installed Automake version +%if 0%{?fedora} <= 42 +autoreconf -fiv +%endif +%configure \ + --disable-silent-rules \ + --disable-static +# Remove Rpath +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +%make_build + + +%install +%make_install +find $RPM_BUILD_ROOT -name "*.la" -delete + + +%check +%make_build check + + +%files +%doc NEWS.md README.md +%license COPYING COPYING.GPLv3 +%{_libdir}/*.so.15* + + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + + +%files utils +%{_bindir}/* +%{_mandir}/man1/*.1.* + + +%changelog +* Thu Aug 27 2026 Tom Callaway - 1.14.5-3 +- rebuild for new ntfs-3g + +* Fri Jul 17 2026 Fedora Release Engineering - 1.14.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Tue Mar 10 2026 Mohamed El Morabity - 1.14.5-1 +- Update to 1.14.5 + +* Sat Jan 17 2026 Fedora Release Engineering - 1.14.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Tue Nov 4 2025 Tom Callaway - 1.14.4-6 +- rebuild for new fuse3 + +* Fri Jul 25 2025 Fedora Release Engineering - 1.14.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Jan 25 2025 Mohamed El Morabity - 1.14.4-4 +- Fix FTBFS (RHBZ #2341541) +- Drop useless BuildRequires + +* Sun Jan 19 2025 Fedora Release Engineering - 1.14.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Jul 20 2024 Fedora Release Engineering - 1.14.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Mar 02 2024 Mohamed El Morabity - 1.14.4-1 +- Update to 1.14.4 + +* Sat Jan 27 2024 Fedora Release Engineering - 1.14.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Sep 24 2023 Mohamed El Morabity - 1.14.3-1 +- Update to 1.14.3 +- Switch license tag to SPDX + +* Sat Jul 22 2023 Fedora Release Engineering - 1.13.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 1.13.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Oct 03 2022 Mohamed El Morabity - 1.13.6-1 +- Update to 1.13.6 +- Update license tag (CC0 replaced by MIT) + +* Sat Jul 23 2022 Fedora Release Engineering - 1.13.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Feb 01 2022 Mohamed El Morabity - 1.13.5-1 +- Update to 1.13.5 + +* Sat Jan 22 2022 Fedora Release Engineering - 1.13.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Sep 14 2021 Sahana Prasad - 1.13.4-4 +- Rebuilt with OpenSSL 3.0.0 + +* Thu Sep 02 2021 Neal Gompa - 1.13.4-3 +- Rebuild for ntfs-3g soname bump + +* Fri Jul 23 2021 Fedora Release Engineering - 1.13.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Mohamed El Morabity - 1.13.4-1 +- Update to 1.13.4 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Oct 27 2020 Mohamed El Morabity - 1.13.3-1 +- Update to 1.13.3 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.13.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon May 25 2020 Mohamed El Morabity - 1.13.2-1 +- Update to 1.13.2 + +* Fri Jan 31 2020 Fedora Release Engineering - 1.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Aug 26 2019 Mohamed El Morabity - 1.13.1-1 +- Initial RPM release