Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3575af4c39 |
3 changed files with 82 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/wimlib-1.13.1.tar.gz
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (wimlib-1.13.1.tar.gz) = a874eafa979e715adf06398371380f06ae42370392473b2eb8aca969b2019664b187f3f2bfa74819bc1d85db4977a08e915c69efc67e77e933c82e6bbcda0243
|
||||
80
wimlib.spec
Normal file
80
wimlib.spec
Normal file
|
|
@ -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 <melmorabity@fedoraproject.org> - 1.13.1-1
|
||||
- Initial RPM release
|
||||
Loading…
Add table
Add a link
Reference in a new issue