|
|
|
# Generated from pry-0.9.10.gem by gem2rpm -*- rpm-spec -*-
|
|
|
|
%global gem_name pry
|
|
|
|
|
|
|
|
Summary: An IRB alternative and runtime developer console
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.9.12.6
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Group: Development/Languages
|
|
|
|
License: MIT
|
|
|
|
URL: http://pry.github.com
|
|
|
|
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
Requires: ruby(release)
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
Requires: rubygem(coderay) => 1.0
|
|
|
|
Requires: rubygem(coderay) < 2
|
|
|
|
Requires: rubygem(slop) => 3.4
|
|
|
|
Requires: rubygem(slop) < 4.0
|
|
|
|
Requires: rubygem(method_source) => 0.8
|
|
|
|
Requires: rubygem(method_source) < 1
|
|
|
|
BuildRequires: ruby(release)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: rubygem(bacon)
|
|
|
|
BuildRequires: rubygem(coderay) => 1.0
|
|
|
|
BuildRequires: rubygem(coderay) < 2
|
|
|
|
BuildRequires: rubygem(mocha)
|
|
|
|
BuildRequires: rubygem(slop) => 3.4
|
|
|
|
BuildRequires: rubygem(slop) < 4.0
|
|
|
|
BuildRequires: rubygem(method_source) => 0.8
|
|
|
|
BuildRequires: rubygem(method_source) < 1
|
|
|
|
# editor specs fail if no editor is available (soft requirement)
|
|
|
|
BuildRequires: vi
|
|
|
|
BuildArch: noarch
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
An IRB alternative and runtime developer console
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -T
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
cp -a .%{_bindir}/* \
|
|
|
|
%{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
cp -a %{buildroot}%{gem_instdir}/man/%{gem_name}.1 \
|
|
|
|
%{buildroot}%{_mandir}/man1/
|
|
|
|
|
|
|
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
|
|
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
bacon -Ispec -q spec/*_spec.rb
|
|
|
|
popd
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%doc %{gem_instdir}/LICENSE
|
|
|
|
%doc %{_mandir}/man1/%{gem_name}.1.gz
|
|
|
|
%{_bindir}/pry
|
|
|
|
%{gem_instdir}/bin
|
|
|
|
%{gem_libdir}
|
|
|
|
%exclude %{gem_instdir}/.*
|
|
|
|
%exclude %{gem_cache}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_instdir}/CHANGELOG
|
|
|
|
%doc %{gem_instdir}/CONTRIBUTORS
|
|
|
|
%{gem_instdir}/Gemfile
|
|
|
|
%{gem_instdir}/man
|
|
|
|
%doc %{gem_instdir}/README.markdown
|
|
|
|
%{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
%{gem_instdir}/Rakefile
|
|
|
|
%{gem_instdir}/spec
|
|
|
|
%doc %{gem_instdir}/TODO
|
|
|
|
%doc %{gem_instdir}/wiki
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.12.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Mar 03 2014 Vít Ondruch <vondruch@redhat.com> - 0.9.12.6-1
|
|
|
|
- Update to Pry 0.9.12.6.
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.12-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Mar 07 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 0.9.12-1
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
- Updated to Pry 0.9.12.
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 31 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.9.10-1
|
|
|
|
- Initial package
|