summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-03-10 14:29:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-03-10 14:29:20 +0000
commit6fd8d471c033aad2fa151727bb47e093c8df26c9 (patch)
tree7686b248fc1dc650cf6e10e7c949d7b97e3db21c
parentcb17d457d05cdf938d5717cb221b384428ecc625 (diff)
automatic import of rubygem-net-http-digest_authopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--rubygem-net-http-digest_auth.spec87
-rw-r--r--sources1
3 files changed, 89 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..01cab61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/net-http-digest_auth-1.4.1.gem
diff --git a/rubygem-net-http-digest_auth.spec b/rubygem-net-http-digest_auth.spec
new file mode 100644
index 0000000..3f43618
--- /dev/null
+++ b/rubygem-net-http-digest_auth.spec
@@ -0,0 +1,87 @@
+%global _empty_manifest_terminate_build 0
+%global gem_name net-http-digest_auth
+Name: rubygem-net-http-digest_auth
+Version: 1.4.1
+Release: 1
+Summary: An implementation of RFC 2617 - Digest Access Authentication
+License: MIT
+URL: http://github.com/drbrain/net-http-digest_auth
+Source0: https://rubygems.org/gems/net-http-digest_auth-1.4.1.gem
+BuildArch: noarch
+
+BuildRequires: ruby
+BuildRequires: ruby-devel
+BuildRequires: rubygems
+BuildRequires: rubygems-devel
+BuildRequires: rsync
+Provides: rubygem-net-http-digest_auth
+
+%description
+An implementation of RFC 2617 - Digest Access Authentication. At this time
+the gem does not drop in to Net::HTTP and can be used for with other HTTP
+clients.
+
+In order to use net-http-digest_auth you'll need to perform some request
+wrangling on your own. See the class documentation at Net::HTTP::DigestAuth
+for an example.
+
+%package help
+Summary: Development documents and examples for net-http-digest_auth
+Provides: rubygem-net-http-digest_auth-doc
+BuildArch: noarch
+
+%description help
+An implementation of RFC 2617 - Digest Access Authentication. At this time
+the gem does not drop in to Net::HTTP and can be used for with other HTTP
+clients.
+
+In order to use net-http-digest_auth you'll need to perform some request
+wrangling on your own. See the class documentation at Net::HTTP::DigestAuth
+for an example.
+
+%prep
+%autosetup -n net-http-digest_auth-1.4.1
+gem spec %{SOURCE0} -l --ruby > net-http-digest_auth.gemspec
+
+%build
+gem build net-http-digest_auth.gemspec
+%gem_install
+
+%install
+mkdir -p %{buildroot}%{gem_dir}
+cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
+rsync -a --exclude=".*" .%{gem_dir}/* %{buildroot}%{gem_dir}/
+if [ -d .%{_bindir} ]; then
+ mkdir -p %{buildroot}%{_bindir}
+ cp -a .%{_bindir}/* %{buildroot}%{_bindir}/
+fi
+if [ -d ext ]; then
+ mkdir -p %{buildroot}%{gem_extdir_mri}/%{gem_name}
+ if [ -d .%{gem_extdir_mri}/%{gem_name} ]; then
+ cp -a .%{gem_extdir_mri}/%{gem_name}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name}
+ else
+ cp -a .%{gem_extdir_mri}/*.so %{buildroot}%{gem_extdir_mri}/%{gem_name}
+fi
+ cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/
+ rm -rf %{buildroot}%{gem_instdir}/ext/
+fi
+pushd %{buildroot}
+touch filelist.lst
+if [ -d %{buildroot}%{_bindir} ]; then
+ find .%{_bindir} -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+
+%files -n rubygem-net-http-digest_auth -f filelist.lst
+%dir %{gem_instdir}
+%{gem_instdir}/*
+%exclude %{gem_cache}
+%{gem_spec}
+
+%files help
+%{gem_docdir}/*
+
+%changelog
+* Fri Mar 10 2023 Ruby_Bot <Ruby_Bot@openeuler.org>
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a9bb65a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3fa1dea84fab10ab0e7e6eda3c35e4fc net-http-digest_auth-1.4.1.gem