From 6438ac867a773e22b777053a0ec86f4905407924 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Mon, 26 Aug 2019 16:30:31 +0200 Subject: [PATCH 1/5] First import --- .gitignore | 1 + sources | 1 + wimlib.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 .gitignore create mode 100644 sources create mode 100644 wimlib.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d510da --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wimlib-1.13.1.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..53c8d2e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wimlib-1.13.1.tar.gz) = a874eafa979e715adf06398371380f06ae42370392473b2eb8aca969b2019664b187f3f2bfa74819bc1d85db4977a08e915c69efc67e77e933c82e6bbcda0243 diff --git a/wimlib.spec b/wimlib.spec new file mode 100644 index 0000000..982f30a --- /dev/null +++ b/wimlib.spec @@ -0,0 +1,80 @@ +Name: wimlib +Version: 1.13.1 +Release: 1%{?dist} +Summary: Open source Windows Imaging (WIM) library + +# Library is dual licensed, utilities are GPLv3+, some internal headers are CC0 +License: (GPLv3+ or LGPLv3+) and GPLv3+ and CC0 +URL: https://wimlib.net/ +Source0: %{url}/downloads/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: pkgconfig(fuse) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libntfs-3g) +BuildRequires: pkgconfig(libxml-2.0) + +%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 + + +%build +%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 + + +%files +%doc NEWS README +%license COPYING COPYING.CC0 COPYING.GPLv3 COPYING.LGPLv3 +%{_libdir}/*.so.15* + + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + + +%files utils +%{_bindir}/* +%{_mandir}/man1/*.1.* + + +%changelog +* Mon Aug 26 2019 Mohamed El Morabity - 1.13.1-1 +- Initial RPM release From f5c8a3b99795da2f67839b16ad3fb0ec4b3aa02b Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Mon, 25 May 2020 08:33:59 +0200 Subject: [PATCH 2/5] Update to 1.13.2 --- .gitignore | 1 + sources | 2 +- wimlib.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8d510da..b1a2a3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /wimlib-1.13.1.tar.gz +/wimlib-1.13.2.tar.gz diff --git a/sources b/sources index 53c8d2e..d1826eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wimlib-1.13.1.tar.gz) = a874eafa979e715adf06398371380f06ae42370392473b2eb8aca969b2019664b187f3f2bfa74819bc1d85db4977a08e915c69efc67e77e933c82e6bbcda0243 +SHA512 (wimlib-1.13.2.tar.gz) = 8d70a737724bec7591977de5b772b708864ce7548cfe79ebee7508de1013a9915aca356d2b73e6b2959bce671be0a275463546503b616f61833724c5bb75faba diff --git a/wimlib.spec b/wimlib.spec index 982f30a..011e480 100644 --- a/wimlib.spec +++ b/wimlib.spec @@ -1,5 +1,5 @@ Name: wimlib -Version: 1.13.1 +Version: 1.13.2 Release: 1%{?dist} Summary: Open source Windows Imaging (WIM) library @@ -76,5 +76,8 @@ find $RPM_BUILD_ROOT -name "*.la" -delete %changelog +* Mon May 25 2020 Mohamed El Morabity - 1.13.2-1 +- Update to 1.13.2 + * Mon Aug 26 2019 Mohamed El Morabity - 1.13.1-1 - Initial RPM release From b8cda307519a447d27f12ca35d712cf50c7cd8b1 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Tue, 27 Oct 2020 13:01:14 +0100 Subject: [PATCH 3/5] Update to 1.13.3 --- .gitignore | 1 + sources | 2 +- wimlib.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b1a2a3a..9e115c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /wimlib-1.13.1.tar.gz /wimlib-1.13.2.tar.gz +/wimlib-1.13.3.tar.gz diff --git a/sources b/sources index d1826eb..d21023d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wimlib-1.13.2.tar.gz) = 8d70a737724bec7591977de5b772b708864ce7548cfe79ebee7508de1013a9915aca356d2b73e6b2959bce671be0a275463546503b616f61833724c5bb75faba +SHA512 (wimlib-1.13.3.tar.gz) = cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e diff --git a/wimlib.spec b/wimlib.spec index 011e480..eb3982e 100644 --- a/wimlib.spec +++ b/wimlib.spec @@ -1,5 +1,5 @@ Name: wimlib -Version: 1.13.2 +Version: 1.13.3 Release: 1%{?dist} Summary: Open source Windows Imaging (WIM) library @@ -76,6 +76,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete %changelog +* Tue Oct 27 13:00:49 CET 2020 Mohamed El Morabity - 1.13.3-1 +- Update to 1.13.3 + * Mon May 25 2020 Mohamed El Morabity - 1.13.2-1 - Update to 1.13.2 From 813a16c291fc1645e85cf2850aafb431646b26b9 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Tue, 27 Oct 2020 19:18:34 +0100 Subject: [PATCH 4/5] Re-upload source file (see https://wimlib.net/forums/viewtopic.php?f=1&t=543) --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index d21023d..1560ca1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wimlib-1.13.3.tar.gz) = cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e +SHA512 (wimlib-1.13.3.tar.gz) = 5c6e3bd1d7bda55812c818cc527cd241ac8a15276648f2a307db1f2a858de0b322e9f2beffda5bab991811aee3f4a953c3e31847bfa76a7d32ad5850595a15d4 From 5d2e6f3080fda622c4102d40ae592de8f1653f23 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Tue, 27 Oct 2020 19:19:55 +0100 Subject: [PATCH 5/5] Update timestamp --- wimlib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wimlib.spec b/wimlib.spec index eb3982e..e2e0c7c 100644 --- a/wimlib.spec +++ b/wimlib.spec @@ -76,7 +76,7 @@ find $RPM_BUILD_ROOT -name "*.la" -delete %changelog -* Tue Oct 27 13:00:49 CET 2020 Mohamed El Morabity - 1.13.3-1 +* Tue Oct 27 2020 Mohamed El Morabity - 1.13.3-1 - Update to 1.13.3 * Mon May 25 2020 Mohamed El Morabity - 1.13.2-1