Name:           bindfs
Version:        1.17.1
Release:        1%{?_dist_release}
Summary:        Fuse filesystem to mirror a directory
Group:          system,admin-tools
Vendor:         Project Vine
Distribution:   Vine Linux

License:        GPLv2+
URL:            https://bindfs.org/
Source0:        https://bindfs.org/downloads/bindfs-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires:  fuse3-devel
# for test suite
BuildRequires:  glibc-debuginfo
BuildRequires:  ruby
BuildRequires:  valgrind
Requires:       fuse3

%description
Bindfs allows you to mirror a directory and also change the the permissions in
the mirror directory.


%debug_package


%prep
%autosetup


%build
%configure
%make_build


%install
%make_install


%check
# Fedora's koji does not provide /dev/fuse, therefore skip the tests there
# Always cat log files on failure to be able to debug issues
#disabled tests on ppc64le until upstream fixes https://github.com/mpartel/bindfs/issues/55
%ifnarch ppc64le
if [ -e /dev/fuse ]; then
    make check || (cat tests/test-suite.log tests/internals/test-suite.log; false)
else
   # internal tests use valgrind and should work
    make -C tests/internals/ check || (cat tests/internals/test-suite.log; false)
fi
%endif


%files
%doc ChangeLog README.md
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*


%changelog
* Fri Dec 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.17.1-1
- new upstream release.

* Sun Feb 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.15.1-1
- new upstream release.

* Wed Nov 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.14.8-1
- new upstream release.

* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.7-3
- Second attempt - Rebuilt for
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Mon May 18 2020 Filipe Rosset <rosset.filipe@gmail.com> - 1.14.7-1
- Update to 1.14.7 fixes rhbz#1833820

* Mon Apr 13 2020 Filipe Rosset <rosset.filipe@gmail.com> - 1.14.5-1
- Update to 1.14.5 fixes rhbz#1815902

* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Mon Jan 20 2020 Filipe Rosset <rosset.filipe@gmail.com> - 1.14.3-1
- Update to 1.14.3 fixes rhbz#1785834

* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun Jun 30 2019 Filipe Rosset <rosset.filipe@gmail.com> - 1.14.1-1
- update to new version 1.14.1 fixes rhbz #1724097
- Resolve symlinks in readdir() so correct attributes are returned (issue #76).

* Mon May 13 2019 Filipe Rosset <rosset.filipe@gmail.com> - 1.14.0-1
- update to new version 1.14.0 fixes rhbz #1704214
- ChangeLog https://bindfs.org/docs/ChangeLog.utf8.txt

* Sun Mar 31 2019 Filipe Rosset <rosset.filipe@gmail.com> - 1.13.11-1
- update to new version 1.13.11 fixes rhbz #1694427

* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Sat Oct 20 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.13.10-1
- update to new version 1.13.10

* Sun Sep 09 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.13.9-3
- rebuilt to fix FTBFS on rawhide, fixes rhbz #1603487

* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Tue Apr 10 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.13.9-1
- update to new version 1.13.9 + spec cleanup / modernization

* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Fri Nov 03 2017 Till Maas <opensource@till.name> - 1.13.8-1
- Update to new version
- Fixes nested fuse mounts: https://github.com/mpartel/bindfs/issues/54
- Disable tests only on ppc64le

* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Jun 17 2017 Filipe Rosset <rosset.filipe@gmail.com> - 1.13.7-1
- Rebuilt for new upstream release, spec cleanup, fixes rhbz#1423275
- disabled tests until upstream fixes https://github.com/mpartel/bindfs/issues/55

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Jan 05 2017 Till Maas <opensource@till.name> - 1.13.5-3
- Use Required for fuse on EPEL

* Thu Jan 05 2017 Till Maas <opensource@till.name> - 1.13.5-2
- Use Recommends: only for Fedora

* Thu Jan 05 2017 Till Maas <opensource@till.name> - 1.13.5-1
- Update to new release

* Fri Apr 08 2016 Till Maas <opensource@till.name> - 1.13.1-2
- Add recommendation for fuse (https://bugzilla.redhat.com/1320272)

* Mon Feb 22 2016 Till Maas <opensource@till.name> - 1.13.1-1
- Update to new release
- cleanup spec

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Sun Nov 15 2015 Till Maas <opensource@till.name> - 1.13.0-1
- Update to new release
- Use %%license
- Add testsuite

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Mon Nov 03 2014 Till Maas <opensource@till.name> - 1.12.6-1
- Update to new release

* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Thu Jun 05 2014 Till Maas <opensource@till.name> - 1.12.4-1
- Update to new release

* Wed Jan 15 2014 Till Maas <opensource@till.name> - 1.12.3-1
- Update to new release
- Harden build

* Thu Jul 25 2013 Till Maas <opensource@till.name> - 1.12.2-1
- Update to new release
- Update URL
- Update source URL

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Wed Sep 26 2012 Till Maas <opensource@till.name> - 1.11-1
- Update to new release
- Do not recode ChangeLog anymore

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Tue Mar 13 2012 Till Maas <opensource@till.name> - 1.10-1
- Update to new release

* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Thu Sep 17 2009 Peter Lemenkov <lemenkov@gmail.com> - 1.8.3-3
- Rebuilt with new fuse

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Apr 13 2009 Till Maas <opensource@till.name> - 1.8.3-1
- Update to new upstream release

* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sun Dec 14 2008 Till Maas <opensource@till.name> - 1.8.2-2
- Update URL and Source0 to google code

* Sun Dec 14 2008 Till Maas <opensource@till.name> - 1.8.2-1
- Update to new release with GPLv2+ license headers 

* Fri Dec 12 2008 Till Maas <opensource@till.name> - 1.8.1-2
- Skip Requires: fuse
- Preseve timestamp of manpage with install -p in %%configure

* Fri Dec 12 2008 Till Maas <opensource@till.name> - 1.8.1-1
- Update to new release

* Wed Oct 29 2008 Till Maas <opensource@till.name> - 1.8-2
- Convert ChangeLog to UTF8

* Wed Oct 29 2008 Till Maas <opensource@till.name> - 1.8-1
- Update to new release

* Fri Oct 05 2007 Till Maas <opensource till name> - 1.3-1
- initial spec for Fedora
