From 5917c3c2ff0ea4bfe5d94e128396c4cbb9be6417 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 04:13:48 +0300 Subject: [PATCH] import rubygem-em-socksify-0.3.0-23.el9 --- .gitignore | 1 + .rubygem-em-socksify.metadata | 1 + SOURCES/MIT-LICENSE | 10 +++ SPECS/rubygem-em-socksify.spec | 145 +++++++++++++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 .gitignore create mode 100644 .rubygem-em-socksify.metadata create mode 100644 SOURCES/MIT-LICENSE create mode 100644 SPECS/rubygem-em-socksify.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5865f1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/em-socksify-0.3.0.gem diff --git a/.rubygem-em-socksify.metadata b/.rubygem-em-socksify.metadata new file mode 100644 index 0000000..46130f7 --- /dev/null +++ b/.rubygem-em-socksify.metadata @@ -0,0 +1 @@ +aeed67b8078a9e8247700b7c851f628a1f575531 SOURCES/em-socksify-0.3.0.gem diff --git a/SOURCES/MIT-LICENSE b/SOURCES/MIT-LICENSE new file mode 100644 index 0000000..d9d6b9e --- /dev/null +++ b/SOURCES/MIT-LICENSE @@ -0,0 +1,10 @@ +Copyright (c) 2014, Ilya Grigorik and Other Contributors +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/SPECS/rubygem-em-socksify.spec b/SPECS/rubygem-em-socksify.spec new file mode 100644 index 0000000..0fb6d3b --- /dev/null +++ b/SPECS/rubygem-em-socksify.spec @@ -0,0 +1,145 @@ +%global gem_name em-socksify + +Name: rubygem-%{gem_name} +Version: 0.3.0 +Release: 23%{?dist} +Summary: Transparent proxy support for any EventMachine protocol +License: MIT +URL: https://github.com/igrigorik/em-socksify +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +Source1: MIT-LICENSE +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildArch: noarch +%if 0%{?fc19} || 0%{?fc20} +Requires: ruby(release) +Requires: rubygems +Requires: rubygem(eventmachine) >= 1.0.0.beta.4 +Provides: rubygem(%{gem_name}) = %{version} +%endif + + +%description +Transparent proxy support for any EventMachine protocol + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name} + +%prep +gem unpack %{SOURCE0} + +%setup -q -D -T -n %{gem_name}-%{version} +gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec + +%build +gem build %{gem_name}.gemspec + +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -pa .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ +cp -p %{SOURCE1} %{buildroot}/%{gem_instdir}/ + +#Spec suite only includes 2 tests that require external connections, +#commented out since this isn't possible within mock +#%%check +#pushd ./%%{gem_instdir} +#rspec -Ilib spec +#popd + +%files +%dir %{gem_instdir} +%exclude %{gem_cache} +%exclude %{gem_instdir}/.gitignore +%{gem_spec} +%doc %{gem_instdir}/MIT-LICENSE +%{gem_libdir} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.md +%{gem_instdir}/spec +%{gem_instdir}/Gemfile +%{gem_instdir}/Rakefile +%{gem_instdir}/em-socksify.gemspec + +%changelog +* Wed Jan 10 2024 MSVSphere Packaging Team - 0.3.0-23 +- Rebuilt for MSVSphere 9.3 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.3.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.3.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + + +* Wed May 28 2014 Nitesh Narayan Lal - 0.3.0-8 +- Added conditional for F19/F20 and marked readme as doc + +* Fri Mar 28 2014 Nitesh Narayan Lal - 0.3.0-7 +- Fixing licensing issues + +* Tue Mar 25 2014 Nitesh Narayan Lal - 0.3.0-6 +- Updating licensing & other issues so as to comply with Fedora guidelines + +* Sat Mar 15 2014 Nitesh Narayan Lal - 0.3.0-5 +- Correcting missing requirements & updating as per the Fedora guidelines + +* Sat Mar 15 2014 Nitesh Narayan Lal - 0.3.0-4 +- Updated to comply with Fedora guidelines + +* Thu Mar 6 2014 Nitesh Narayan Lal - 0.3.0-3 +- Updated as per the Fedora usage guidelines + +* Sat Feb 22 2014 Nitesh Narayan Lal 0.3.0-2 +- Updated as per the comments + +* Sat Jan 11 2014 Nitesh Narayan Lal 0.3.0-1 +- Initial package