forked from pool/wimlib
- update to 1.14.4: * Fixed potential crash when writing WIM XML data, introduced in v1.14.0. * Improved some documentation. OBS-URL: https://build.opensuse.org/request/show/1158707 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/wimlib?expand=0&rev=18
105 lines
3.0 KiB
RPMSpec
105 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package wimlib
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define so_version 15
|
|
Name: wimlib
|
|
Version: 1.14.4
|
|
Release: 0
|
|
Summary: Library to extract, create, modify, and mount WIM files
|
|
License: GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://wimlib.net
|
|
Source: https://wimlib.net/downloads/wimlib-%{version}.tar.gz
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(fuse3)
|
|
BuildRequires: pkgconfig(libntfs-3g)
|
|
|
|
%description
|
|
Tools to create, extract, modify, and mount files in the Windows Imaging Format
|
|
(WIM files). These files are normally created by using the `imagex.exe' utility
|
|
on Windows, but this package contains an implementation of ImageX called
|
|
"wimlib-imagex".
|
|
|
|
%package -n wimtools
|
|
Summary: Tools to create, extract, modify, and mount WIM files
|
|
Group: System/Console
|
|
Requires: fuse
|
|
|
|
%description -n wimtools
|
|
Tools to create, extract, modify, and mount files in the Windows Imaging Format
|
|
(WIM files). These files are normally created by using the `imagex.exe' utility
|
|
on Windows, but this package contains an implementation of ImageX called
|
|
"wimlib-imagex".
|
|
|
|
%package devel
|
|
Summary: Development files for wimlib
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libwim%{so_version}
|
|
|
|
%description devel
|
|
Development files for wimlib
|
|
|
|
%package -n libwim%{so_version}
|
|
Summary: Library to extract, create, modify, and mount WIM files
|
|
Group: System/Libraries
|
|
|
|
%description -n libwim%{so_version}
|
|
wimlib is a C library for creating, extracting, modifying, and mounting files in
|
|
the Windows Imaging Format (WIM files).
|
|
|
|
%post -n libwim%{so_version} -p /sbin/ldconfig
|
|
%postun -n libwim%{so_version} -p /sbin/ldconfig
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static \
|
|
--with-ntfs-3g \
|
|
--with-fuse \
|
|
%{nil}
|
|
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
sed -i '1 s,#!.*,#!/bin/bash,' %{buildroot}%{_bindir}/mkwinpeimg
|
|
rm %{buildroot}%{_libdir}/libwim.la
|
|
|
|
%files -n wimtools
|
|
%license COPYING COPYING.GPLv3 COPYING.LGPLv3
|
|
%doc NEWS.md README.md
|
|
%{_bindir}/mkwinpeimg
|
|
%{_bindir}/wim*
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
|
|
|
%files devel
|
|
%license COPYING COPYING.GPLv3 COPYING.LGPLv3
|
|
%{_libdir}/libwim.so
|
|
%{_includedir}/wimlib.h
|
|
%{_libdir}/pkgconfig/wimlib.pc
|
|
|
|
%files -n libwim%{so_version}
|
|
%license COPYING COPYING.GPLv3 COPYING.LGPLv3
|
|
%{_libdir}/libwim.so.*
|
|
|
|
%changelog
|