diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..43ed1e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fuse-overlayfs-79c70fd.tar.gz diff --git a/fuse-overlayfs.spec b/fuse-overlayfs.spec new file mode 100644 index 0000000..4cefb2b --- /dev/null +++ b/fuse-overlayfs.spec @@ -0,0 +1,67 @@ +%global git0 https://github.com/containers/%{name} +%global commit0 79c70fd91a67861a78d336b30ce46ce34fc6712d +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + +Name: fuse-overlayfs +Version: 0.1 +Release: 4.dev.git%{shortcommit0}%{?dist} +Summary: FUSE overlay+shiftfs implementation for rootless containers +License: GPLv3+ +URL: %{git0} +Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: fuse3-devel +BuildRequires: gcc +BuildRequires: git +BuildRequires: make +Provides: bundled(gnulib) = cb634d40c7b9bbf33fa5198d2e27fdab4c0bf143 + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{summary} + +This package contains library source intended for +building other packages which use import path with +%{import_path} prefix. + +%prep +%autosetup -Sgit -n %{name}-%{commit0} + +%build +./autogen.sh +./configure --prefix=%{_usr} --libdir=%{_libdir} +%{__make} + +%install +make DESTDIR=%{buildroot} install + +%check + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + +%files +%license COPYING +%doc README.md +%{_bindir}/%{name} + +%changelog +* Mon Jul 30 2018 Lokesh Mandvekar - 0.1-4.dev.git79c70fd +- Resolves: #1609598 - initial upload to Fedora +- bundled gnulib + +* Mon Jul 30 2018 Lokesh Mandvekar - 0.1-3.dev.git79c70fd +- correct license field + +* Mon Jul 30 2018 Lokesh Mandvekar - 0.1-2.dev.git79c70fd +- fix license + +* Sun Jul 29 2018 Lokesh Mandvekar - 0.1-1.dev.git13575b6 +- First package for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..f00f9fa --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fuse-overlayfs-79c70fd.tar.gz) = 35b476ac876a3a0ea873b377d17c6cc614b60fc0dcd3d00e81375b21d3e662032987da185064ffd692863bb81d5e3f94dfdb2547aa28060e1659e761705ab637