fc9b6c
%global git0 https://github.com/containers/%{name}
fc9b6c
%global commit0 6d269aa28e3fe78c117fecb5e2cb8e1e231fcb10
fc9b6c
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
fc9b6c
fc9b6c
Name: fuse-overlayfs
fc9b6c
Version: 0.3
fc9b6c
Release: 5%{?dist}
fc9b6c
Summary: FUSE overlay+shiftfs implementation for rootless containers
fc9b6c
License: GPLv3+
fc9b6c
URL: %{git0}
fc9b6c
# no go-md2man in ix86
fc9b6c
ExcludeArch: %{ix86} ppc64
fc9b6c
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
fc9b6c
BuildRequires: autoconf
fc9b6c
BuildRequires: automake
fc9b6c
BuildRequires: fuse3-devel
fc9b6c
BuildRequires: gcc
fc9b6c
BuildRequires: git
fc9b6c
BuildRequires: go-md2man
fc9b6c
BuildRequires: make
fc9b6c
Provides: bundled(gnulib) = cb634d40c7b9bbf33fa5198d2e27fdab4c0bf143
fc9b6c
fc9b6c
%description
fc9b6c
%{summary}.
fc9b6c
fc9b6c
%package devel
fc9b6c
Summary: %{summary}
fc9b6c
BuildArch: noarch
fc9b6c
fc9b6c
%description devel
fc9b6c
%{summary}
fc9b6c
fc9b6c
This package contains library source intended for
fc9b6c
building other packages which use import path with
fc9b6c
%{import_path} prefix.
fc9b6c
fc9b6c
%prep
fc9b6c
%autosetup -Sgit -n %{name}-%{commit0}
fc9b6c
fc9b6c
%build
fc9b6c
./autogen.sh
fc9b6c
./configure --prefix=%{_usr} --libdir=%{_libdir}
fc9b6c
%{__make} generate-man
fc9b6c
fc9b6c
%install
fc9b6c
make DESTDIR=%{buildroot} install install-man
fc9b6c
fc9b6c
%check
fc9b6c
fc9b6c
#define license tag if not already defined
fc9b6c
%{!?_licensedir:%global license %doc}
fc9b6c
fc9b6c
%files
fc9b6c
%license COPYING
fc9b6c
%doc README.md
fc9b6c
%{_bindir}/%{name}
fc9b6c
%{_mandir}/man1/%{name}.1.gz
fc9b6c
fc9b6c
%changelog
fc9b6c
* Mon Aug 19 2019 Jindrich Novy <jnovy@redhat.com> - 0.3-5
fc9b6c
- revert fuse-overlayfs to commit 6d269aa
fc9b6c
- Resolves: #1720707
fc9b6c
fc9b6c
* Wed Feb 20 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-4.dev.gitd760789
fc9b6c
- rebase
fc9b6c
fc9b6c
* Wed Jan 16 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-2
fc9b6c
- rebase
fc9b6c
- Resolves:#1666510
fc9b6c
fc9b6c
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-7.dev.git50c7a50
fc9b6c
- Resolves: #1640232
fc9b6c
- built commit 50c7a50
fc9b6c
fc9b6c
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-6.dev.git1c72a1a
fc9b6c
- Resolves: #1614856 - add manpage
fc9b6c
- built commit 1c72a1a
fc9b6c
- add BR: go-md2man
fc9b6c
fc9b6c
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-5.dev.gitd40ac75
fc9b6c
- built commit d40ac75
fc9b6c
- remove fedora bz ids
fc9b6c
- Exclude ix86 and ppc64
fc9b6c
fc9b6c
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-4.dev.git79c70fd
fc9b6c
- Resolves: #1609598 - initial upload to Fedora
fc9b6c
- bundled gnulib
fc9b6c
fc9b6c
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-3.dev.git79c70fd
fc9b6c
- correct license field
fc9b6c
fc9b6c
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-2.dev.git79c70fd
fc9b6c
- fix license
fc9b6c
fc9b6c
* Sun Jul 29 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-1.dev.git13575b6
fc9b6c
- First package for Fedora