|
|
ebd4aee |
# Generated from curb-0.7.7.1.gem by gem2rpm -*- rpm-spec -*-
|
|
|
2882343 |
%global gem_name curb
|
|
|
ebd4aee |
|
|
|
2882343 |
Name: rubygem-%{gem_name}
|
|
|
cebaa5e |
Version: 0.9.6
|
|
|
1a4449e |
Release: 2%{?dist}
|
|
|
f9442bf |
Summary: Ruby libcurl bindings
|
|
|
ebd4aee |
Group: Development/Languages
|
|
|
ebd4aee |
License: Ruby
|
|
|
104fea1 |
URL: https://github.com/taf2/curb
|
|
|
f9442bf |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
7c743bd |
Patch0: curb-disable-network-lookup-test.patch
|
|
|
1d31770 |
BuildRequires: ruby(release)
|
|
|
2882343 |
BuildRequires: rubygems-devel
|
|
|
ebd4aee |
BuildRequires: ruby-devel
|
|
|
f9442bf |
BuildRequires: rubygem(test-unit)
|
|
|
ebd4aee |
BuildRequires: libcurl-devel
|
|
|
f9442bf |
|
|
|
f9442bf |
%description
|
|
|
f9442bf |
Curb (probably CUrl-RuBy or something) provides Ruby-language bindings for the
|
|
|
f9442bf |
libcurl(3), a fully-featured client-side URL transfer library. cURL and
|
|
|
f9442bf |
libcurl live at http://curl.haxx.se/.
|
|
|
f9442bf |
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%package doc
|
|
|
ebd4aee |
Summary: Documentation for %{name}
|
|
|
ebd4aee |
Group: Documentation
|
|
|
ebd4aee |
Requires: %{name} = %{version}-%{release}
|
|
|
f9442bf |
BuildArch: noarch
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%description doc
|
|
|
f9442bf |
Documentation for %{name}.
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%prep
|
|
|
7c743bd |
gem unpack %{SOURCE0}
|
|
|
7c743bd |
|
|
|
7c743bd |
%setup -q -D -T -n %{gem_name}-%{version}
|
|
|
7c743bd |
|
|
|
7c743bd |
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
|
7c743bd |
|
|
|
7c743bd |
# Disable due to Curl::Err::HostResolutionError, which is cause probably by
|
|
|
7c743bd |
# missing network access on Koji.
|
|
|
7c743bd |
%patch0 -p1
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%build
|
|
|
7c743bd |
# Create the gem as gem install only works on a gem file
|
|
|
7c743bd |
gem build %{gem_name}.gemspec
|
|
|
7c743bd |
|
|
|
c5b028e |
# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir
|
|
|
7c743bd |
# by default, so that we can move it into the buildroot in %%install
|
|
|
7c743bd |
%gem_install
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%install
|
|
|
2882343 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
f9442bf |
cp -a .%{gem_dir}/* \
|
|
|
7c743bd |
%{buildroot}%{gem_dir}/
|
|
|
ebd4aee |
|
|
|
c5b028e |
mkdir -p %{buildroot}%{gem_extdir_mri}
|
|
|
c5b028e |
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
|
|
aef0ee7 |
|
|
|
68fa907 |
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
|
|
68fa907 |
rm -rf %{buildroot}%{gem_instdir}/ext/
|
|
|
ebd4aee |
|
|
|
2882343 |
%check
|
|
|
b15b8c1 |
pushd .%{gem_instdir}
|
|
|
f9442bf |
ruby -e 'Dir.glob "./tests/tc_*.rb", &method(:require)'
|
|
Shreyank Gupta |
16d6d01 |
popd
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%files
|
|
|
2882343 |
%dir %{gem_instdir}
|
|
|
7c743bd |
%{gem_extdir_mri}
|
|
|
f9442bf |
%license %{gem_instdir}/LICENSE
|
|
|
f9442bf |
%{gem_libdir}
|
|
|
b15b8c1 |
%exclude %{gem_cache}
|
|
|
2882343 |
%{gem_spec}
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%files doc
|
|
|
7c743bd |
%doc %{gem_docdir}
|
|
|
556191d |
%doc %{gem_instdir}/README.markdown
|
|
|
f9442bf |
%{gem_instdir}/Rakefile
|
|
|
f9442bf |
%{gem_instdir}/doc.rb
|
|
|
f9442bf |
%{gem_instdir}/tests
|
|
|
ebd4aee |
|
|
|
ebd4aee |
%changelog
|
|
|
1a4449e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6-2
|
|
|
1a4449e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
1a4449e |
|
|
|
cebaa5e |
* Wed May 30 2018 Steve Traylen <steve.traylen@cern.ch> - 0.9.6-1
|
|
|
cebaa5e |
- Update to curb 0.9.6.
|
|
|
cebaa5e |
|
|
|
cb42006 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-4
|
|
|
cb42006 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cb42006 |
|
|
|
86356e9 |
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 0.9.4-3
|
|
|
86356e9 |
- Rebuilt for switch to libxcrypt
|
|
|
86356e9 |
|
|
|
98d9f1f |
* Thu Jan 04 2018 Vít Ondruch <vondruch@redhat.com> - 0.9.4-2
|
|
|
98d9f1f |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.5
|
|
|
98d9f1f |
|
|
|
1bb4951 |
* Fri Nov 03 2017 Steve Traylen <steve.traylen@cern.ch> - 0.9.4-1
|
|
|
1bb4951 |
- Update to curb 0.9.4.
|
|
|
1bb4951 |
|
|
|
86b28c0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-4
|
|
|
86b28c0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
86b28c0 |
|
|
|
a55fd76 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-3
|
|
|
a55fd76 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a55fd76 |
|
|
|
825279c |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
|
|
|
825279c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
825279c |
|
|
|
f9442bf |
* Tue Jan 10 2017 Vít Ondruch <vondruch@redhat.com> - 0.9.3-1
|
|
|
f9442bf |
- Update to curb 0.9.3.
|
|
|
f9442bf |
|
|
|
be347f4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-4
|
|
|
be347f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
be347f4 |
|
|
|
9a76ae2 |
* Thu Jan 07 2016 Vít Ondruch <vondruch@redhat.com> - 0.8.8-3
|
|
|
9a76ae2 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
|
|
|
9a76ae2 |
|
|
|
cdbaa44 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-2
|
|
|
cdbaa44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cdbaa44 |
|
|
|
104fea1 |
* Tue Jun 2 2015 Steve Traylen <steve.traylen@cern.ch> - 0.8.8-1
|
|
|
104fea1 |
- Upstream 0.8.8
|
|
|
104fea1 |
|
|
|
fd83dfe |
* Mon Mar 23 2015 Steve Traylen <steve.traylen@cern.ch> - 0.8.7-1
|
|
|
fd83dfe |
- Upstream 0.8.7
|
|
|
fd83dfe |
|
|
|
cc62e2f |
* Thu Jan 15 2015 Vít Ondruch <vondruch@redhat.com> - 0.8.6-3
|
|
|
cc62e2f |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.2
|
|
|
cc62e2f |
|
|
|
b7b0740 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2
|
|
|
b7b0740 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
b7b0740 |
|
|
|
556191d |
* Mon Aug 4 2014 Steve Traylen <steve.traylen@cern.ch> - 0.8.6-1
|
|
|
556191d |
- Upstream 0.8.6, update to new ruby guidelines.
|
|
|
556191d |
|
|
|
c5b028e |
* Tue Jun 17 2014 Vít Ondruch <vondruch@redhat.com> - 0.8.5-3
|
|
|
c5b028e |
- Place extension into correct location.
|
|
|
68fa907 |
- Prevent dangling symlinks in -debuginfo.
|
|
|
c5b028e |
|
|
|
c9ca454 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-2
|
|
|
c9ca454 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
c9ca454 |
|
|
|
e9143d9 |
* Wed May 14 2014 Steve Traylen <steve.traylen@cern.ch> - 0.8.5-1
|
|
|
e9143d9 |
- Update to 0.8.5, avoid minitest-5 for now.
|
|
|
e9143d9 |
|
|
|
aef0ee7 |
* Wed Apr 9 2014 Steve Traylen <steve.traylen@cern.ch> - 0.8.4-2
|
|
|
aef0ee7 |
- Now really works on EPEL6.
|
|
|
aef0ee7 |
|
|
|
7c743bd |
* Tue Mar 11 2014 Steve Traylen <steve.traylen@cern.ch> - 0.8.4-1
|
|
|
7c743bd |
- Update to curb 0.8.4, fix to latest ruby guidelines.
|
|
|
7c743bd |
|
|
|
8020747 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-4
|
|
|
8020747 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8020747 |
|
|
|
1d31770 |
* Fri Mar 08 2013 Vít Ondruch <vondruch@redhat.com> - 0.8.3-3
|
|
|
1d31770 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
1d31770 |
|
|
|
191c77a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
|
|
|
191c77a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
191c77a |
|
|
|
b15b8c1 |
* Tue Nov 20 2012 Vít Ondruch <vondruch@redhat.com> - 0.8.3-1
|
|
|
b15b8c1 |
- Update to curb 0.8.3.
|
|
|
b15b8c1 |
|
|
|
3a810a1 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.10-5
|
|
|
3a810a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3a810a1 |
|
|
|
2882343 |
* Wed Feb 01 2012 Vít Ondruch <vondruch@redhat.com> - 0.7.10-4
|
|
|
2882343 |
- Rebuilt for Ruby 1.9.3.
|
|
|
2882343 |
|
|
|
79ed3d4 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.10-3
|
|
|
79ed3d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
79ed3d4 |
|
|
Shreyank Gupta |
b650be2 |
* Fri Feb 25 2011 Shreyank Gupta <sgupta@redhat.com> - 0.7.10-2
|
|
Shreyank Gupta |
b650be2 |
- not excluding .require_paths
|
|
Shreyank Gupta |
b650be2 |
|
|
Shreyank Gupta |
b650be2 |
* Fri Feb 25 2011 Shreyank Gupta <sgupta@redhat.com> - 0.7.10-1
|
|
Shreyank Gupta |
16d6d01 |
- New upstream 0.7.10
|
|
|
b129817 |
|
|
|
ebd4aee |
* Wed Jul 21 2010 Shreyank Gupta <sgupta@redhat.com> - 0.7.7.1-4
|
|
|
ebd4aee |
- Remove unneeded .require_paths file
|
|
|
ebd4aee |
|
|
|
ebd4aee |
* Tue Jul 20 2010 Shreyank Gupta <sgupta@redhat.com> - 0.7.7.1-3
|
|
|
ebd4aee |
- Remove unneeded .o and .so files from ext/ directory
|
|
|
ebd4aee |
- No rake test for ppc64
|
|
|
ebd4aee |
|
|
|
ebd4aee |
* Mon Jul 19 2010 Shreyank Gupta <sgupta@redhat.com> - 0.7.7.1-2
|
|
|
ebd4aee |
- Install gem file under %%gemdir and then copy to %%buildroot
|
|
|
ebd4aee |
- Moving .so to %%ruby_sitearch
|
|
|
ebd4aee |
- BuildRequires: rubygem(rake)
|
|
|
ebd4aee |
|
|
|
ebd4aee |
* Fri Jul 02 2010 Shreyank Gupta <sgupta@redhat.com> - 0.7.7.1-1
|
|
|
ebd4aee |
- Initial package
|