foreman-packaging/rubygem-net-scp/rubygem-net-scp.spec @ 5530725b
05be91cb | Dominic Cleal | %{?scl:%scl_package rubygem-%{gem_name}}
|
|
%{!?scl:%global pkg_name %{name}}
|
|||
%global gem_name net-scp
|
|||
%global rubyabi 1.9.1
|
|||
Summary: A pure Ruby implementation of the SCP client protocol
|
|||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|||
Version: 1.1.0
|
|||
5530725b | Dominic Cleal | Release: 4%{?dist}
|
|
05be91cb | Dominic Cleal | Group: Development/Languages
|
|
License: MIT
|
|||
URL: http://net-ssh.rubyforge.org/scp
|
|||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|||
%if 0%{?fedora} > 18
|
|||
b319e683 | Dominic Cleal | Requires: %{?scl_prefix_ruby}ruby(release)
|
|
05be91cb | Dominic Cleal | %else
|
|
b319e683 | Dominic Cleal | Requires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
|
|
05be91cb | Dominic Cleal | %endif
|
|
b319e683 | Dominic Cleal | Requires: %{?scl_prefix_ruby}ruby(rubygems)
|
|
05be91cb | Dominic Cleal | Requires: %{?scl_prefix}rubygem(net-ssh)
|
|
%if 0%{?fedora} > 18
|
|||
b319e683 | Dominic Cleal | BuildRequires: %{?scl_prefix_ruby}ruby(release)
|
|
05be91cb | Dominic Cleal | %else
|
|
b319e683 | Dominic Cleal | BuildRequires: %{?scl_prefix_ruby}ruby(abi) = %{rubyabi}
|
|
05be91cb | Dominic Cleal | %endif
|
|
b319e683 | Dominic Cleal | BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
05be91cb | Dominic Cleal | BuildRequires: %{?scl_prefix}rubygem(net-ssh)
|
|
b319e683 | Dominic Cleal | BuildRequires: %{?scl_prefix_ruby}rubygem(mocha)
|
|
BuildRequires: %{?scl_prefix_ruby}rubygem(minitest)
|
|||
05be91cb | Dominic Cleal | BuildArch: noarch
|
|
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|||
b319e683 | Dominic Cleal | %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
|
|
05be91cb | Dominic Cleal | ||
%description
|
|||
A pure Ruby implementation of the SCP client protocol
|
|||
%package doc
|
|||
Summary: Documentation for %{pkg_name}
|
|||
Group: Documentation
|
|||
Requires:%{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|||
b319e683 | Dominic Cleal | %{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
|
|
05be91cb | Dominic Cleal | ||
%description doc
|
|||
Documentation for %{pkg_name}
|
|||
%prep
|
|||
%build
|
|||
%install
|
|||
mkdir -p %{buildroot}%{gem_dir}
|
|||
%{?scl:scl enable %{scl} "}
|
|||
gem install --local --install-dir %{buildroot}%{gem_dir} \
|
|||
--force --rdoc %{SOURCE0}
|
|||
%{?scl:"}
|
|||
%check
|
|||
pushd %{buildroot}%{gem_instdir}
|
|||
%{?scl:scl enable %{scl} "}
|
|||
# requires newer version of mocha (>= 0.13.3)
|
|||
# ruby -Ilib -Itest test/test_all.rb
|
|||
%{?scl:"}
|
|||
popd
|
|||
%files
|
|||
%defattr(-, root, root, -)
|
|||
%dir %{gem_instdir}
|
|||
%{gem_libdir}
|
|||
%doc %{gem_instdir}/README.rdoc
|
|||
%{gem_cache}
|
|||
%{gem_spec}
|
|||
%files doc
|
|||
%defattr(-, root, root, -)
|
|||
%{gem_instdir}/Manifest
|
|||
%{gem_instdir}/Rakefile
|
|||
%{gem_instdir}/net-scp.gemspec
|
|||
%{gem_instdir}/setup.rb
|
|||
%doc %{gem_instdir}/CHANGES.txt
|
|||
%doc %{gem_instdir}/LICENSE.txt
|
|||
%{gem_instdir}/test
|
|||
%{gem_instdir}/gem-public_cert.pem
|
|||
%doc %{gem_docdir}
|
|||
%changelog
|
|||
5530725b | Dominic Cleal | * Wed Aug 26 2015 Dominic Cleal <dcleal@redhat.com> 1.1.0-4
|
|
- Converted to tfm SCL (dcleal@redhat.com)
|
|||
05be91cb | Dominic Cleal | * Thu Jul 04 2013 Dominic Cleal <dcleal@redhat.com> 1.1.0-3
|
|
- change ruby(abi) to ruby(release) for F19+ (dcleal@redhat.com)
|
|||
- delete all zero sized tito.props (msuchy@redhat.com)
|
|||
- with recent tito you do not need SCL meta package (msuchy@redhat.com)
|
|||
* Fri May 03 2013 Ivan Necas <inecas@redhat.com> 1.1.0-2
|
|||
- Net scp requires newer mocha for running tests (inecas@redhat.com)
|
|||
* Fri May 03 2013 Ivan Necas <inecas@redhat.com> 1.1.0-1
|
|||
- Update due to fog dependency (inecas@redhat.com)
|
|||
* Wed Mar 13 2013 Miroslav Suchý <msuchy@redhat.com> 1.0.4-6
|
|||
- new package built with tito
|
|||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
|
|||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|||
* Tue Jan 31 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.0.4-4
|
|||
- Rebuilt for Ruby 1.9.3.
|
|||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
|
|||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|||
* Thu Mar 17 2011 Vít Ondruch <vondruch@redhat.com> - 1.0.4-2
|
|||
- Removed obsolete cleanup.
|
|||
- Removed explicit requires.
|
|||
* Tue Feb 08 2011 Vít Ondruch <vondruch@redhat.com> - 1.0.4-1
|
|||
- Initial package
|