64 lines
1.6 KiB
RPMSpec
64 lines
1.6 KiB
RPMSpec
%define built_tag v1.9
|
|
%define built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
|
%{!?_modulesloaddir:%global _modulesloaddir %{_usr}/lib/modules-load.d}
|
|
|
|
Name: fuse-overlayfs
|
|
Version: 1.9
|
|
Release: 1
|
|
Summary: FUSE overlay+shiftfs implementation for rootless containers
|
|
License: GPLv3+
|
|
URL: https://github.com/containers/fuse-overlayfs
|
|
Source0: https://github.com/containers/fuse-overlayfs/archive/refs/tags/v1.9.tar.gz
|
|
BuildRequires: autoconf automake fuse3-devel
|
|
BuildRequires: gcc git-core make fuse3
|
|
Requires: kmod fuse3
|
|
Provides: bundled(gnulib) = cb634d40c7b9bbf33fa5198d2e27fdab4c0bf143
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%package devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description devel
|
|
This package contains library source intended for
|
|
building other packages which use import path with.
|
|
|
|
%prep
|
|
%autosetup -Sgit -n %{name}-%{built_tag_strip}
|
|
|
|
%build
|
|
./autogen.sh
|
|
./configure --prefix=%{_usr} --libdir=%{_libdir}
|
|
%{__make}
|
|
|
|
%install
|
|
%make_install
|
|
install -d %{buildroot}%{_modulesloaddir}
|
|
echo fuse > %{buildroot}%{_modulesloaddir}/fuse-overlayfs.conf
|
|
|
|
%post
|
|
modprobe fuse > /dev/null 2>&1 || :
|
|
|
|
%check
|
|
#define license tag if not already defined
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/*
|
|
%{_modulesloaddir}/fuse-overlayfs.conf
|
|
|
|
%changelog
|
|
* Tue Nov 08 2022 duyiwei <duyiwei@kylinos.cn> - 1.9-1
|
|
- upgrade version to v1.9
|
|
|
|
* Tue Jul 26 2022 yuantianyi <yuantianyi@kylinos.cn> - 1.8.1-1
|
|
- Update to v1.8.1
|
|
|
|
* Mon Jan 24 2022 fushanqing <fushanqing@kylinos.cn> - 1.5.0-1
|
|
- Initial package
|