59b8054
# Generated from vagrant-sshfs-1.1.0.gem by gem2rpm -*- rpm-spec -*-
59b8054
%global vagrant_plugin_name vagrant-sshfs
59b8054
59b8054
Name: %{vagrant_plugin_name}
58483ed
Version: 1.3.1
d19968f
Release: 1%{?dist}
59b8054
Summary: A Vagrant synced folder plugin that mounts folders via SSHFS
59b8054
License: GPLv2
59b8054
URL: https://github.com/dustymabe/vagrant-sshfs
1df82ff
Source0: https://github.com/dustymabe/vagrant-sshfs/archive/v%{version}.tar.gz
59b8054
f7b1c72
Requires: vagrant >= 1.9.1
f7b1c72
BuildRequires: vagrant >= 1.9.1
59b8054
BuildRequires: rubygems
f7b1c72
BuildRequires: rubygem(rdoc)
59b8054
BuildArch: noarch
59b8054
Provides: vagrant(%{vagrant_plugin_name}) = %{version}
59b8054
59b8054
%description
59b8054
A Vagrant synced folder plugin that mounts folders via SSHFS. 
59b8054
This is the successor to Fabio Kreusch's implementation:
59b8054
https://github.com/fabiokr/vagrant-sshfs.
59b8054
59b8054
59b8054
%package doc
59b8054
Summary: Documentation for %{name}
59b8054
Requires: %{name} = %{version}-%{release}
59b8054
BuildArch: noarch
59b8054
59b8054
%description doc
59b8054
Documentation for %{name}.
59b8054
59b8054
%prep
1df82ff
%setup -T -b 0 -q -n %{vagrant_plugin_name}-%{version}
59b8054
1df82ff
# since we don't have the full git repo we can't use `git ls-files`
1df82ff
sed -i 's/git ls-files -z/find . -type f -print0/' %{vagrant_plugin_name}.gemspec
59b8054
1df82ff
# remove dependencies on windows libraries (needed for windows, not linux)
1df82ff
sed -e '/win32-process/d' %{vagrant_plugin_name}.gemspec
59b8054
59b8054
%build
59b8054
# Create the gem as gem install only works on a gem file
59b8054
gem build %{vagrant_plugin_name}.gemspec
59b8054
59b8054
# %%vagrant_plugin_install compiles any C extensions and installs the gem into ./%%gem_dir
59b8054
# by default, so that we can move it into the buildroot in %%install
59b8054
%vagrant_plugin_install
59b8054
59b8054
%install
59b8054
mkdir -p %{buildroot}%{vagrant_plugin_dir}
59b8054
cp -a .%{vagrant_plugin_dir}/* \
59b8054
        %{buildroot}%{vagrant_plugin_dir}/
59b8054
59b8054
59b8054
59b8054
%files
59b8054
%dir %{vagrant_plugin_instdir}
59b8054
%license %{vagrant_plugin_instdir}/LICENSE
59b8054
%{vagrant_plugin_libdir}
59b8054
%{vagrant_plugin_instdir}/locales
59b8054
%exclude %{vagrant_plugin_cache}
59b8054
%{vagrant_plugin_spec}
e06f85d
# Ingore some files that probbaly shouldn't be in the gem
e06f85d
%exclude %{vagrant_plugin_instdir}/.gitignore
e06f85d
%exclude %{vagrant_plugin_instdir}/test
e06f85d
%exclude %{vagrant_plugin_instdir}/features
59b8054
59b8054
%files doc
59b8054
%license %{vagrant_plugin_instdir}/LICENSE
59b8054
%doc %{vagrant_plugin_docdir}
59b8054
%{vagrant_plugin_instdir}/Gemfile
7306152
%doc %{vagrant_plugin_instdir}/README.adoc
7306152
%doc %{vagrant_plugin_instdir}/RELEASE.txt
59b8054
%{vagrant_plugin_instdir}/Rakefile
59b8054
%{vagrant_plugin_instdir}/vagrant-sshfs.gemspec
59b8054
59b8054
%changelog
d19968f
* Wed Dec 11 2019 Dusty Mabe <dusty@dustymabe.com> - 1.3.1-1
d19968f
- new upstream release: 1.3.1
d19968f
e64d68d
* Tue Dec 10 2019 Dusty Mabe <dusty@dustymabe.com> - 1.3.1-5
1df82ff
- Change to build from tar archive. Preparing for packit.
1df82ff
e94cf22
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
e94cf22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e94cf22
4e5de02
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
4e5de02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4e5de02
b01e03d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
b01e03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b01e03d
58483ed
* Mon Mar 12 2018 Dusty Mabe <dusty@dustymabe.com> - 1.3.1-1
58483ed
- New version of sshfs: 1.3.1
58483ed
d21242b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
d21242b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d21242b
8362382
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
8362382
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8362382
f7b1c72
* Tue Feb 14 2017 Vít Ondruch <vondruch@redhat.com> - 1.3.0-3
f7b1c72
- Drop registration macros for Vagrant 1.9.1 compatibility.
f7b1c72
5bc3d5c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
5bc3d5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5bc3d5c
4930615
* Sat Nov 26 2016 Dusty Mabe <dusty@dustymabe.com> - 1.3.0-1
4930615
- New version of sshfs: 1.3.0
4930615
5bc0d7f
* Fri Nov 11 2016 Dusty Mabe <dusty@dustymabe.com> - 1.2.1-2
5bc0d7f
- Use release '2' because I messed up the last changelog entry.
5bc0d7f
7306152
* Fri Nov 11 2016 Dusty Mabe <dusty@dustymabe.com> - 1.2.1-1
4ff34a2
- New version of sshfs out: 1.2.1
7306152
4bd65ae
* Tue Aug 30 2016 Dusty Mabe <dusty@dustymabe.com> - 1.2.0-2
4bd65ae
- Bump release to 2 because vagrant-sshfs-1.2.0-1.fc2{2,3,4} is what
4bd65ae
  is available from copr. Bumping to 2 will make sure we don't
4bd65ae
  have any confusion.
4bd65ae
e06f85d
* Tue Aug 30 2016 Dusty Mabe <dusty@dustymabe.com> - 1.2.0-1
e06f85d
- Remove unnecessary provides of bundled fonts
e06f85d
- Update to 1.2.0 release
78183f0
- Add patch to remove requirement of win32-process rubygem
e06f85d
59b8054
* Wed Mar 30 2016 Dusty Mabe <dusty@dustymabe.com> - 1.1.0-1
59b8054
- Initial package for Fedora