diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-10 14:03:48 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-10 14:03:48 +0000 |
commit | 2b0fa6585f012ffe8bbc816b7e7fab1e15e2281a (patch) | |
tree | 5c5fe7d47c2b65f4c8fb048b47e95973dea8768d | |
parent | 6b53931b278380ddb4b3c078bdc49dd7b6eb2931 (diff) |
automatic import of rubygem-gssapiopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-gssapi.spec | 86 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 88 insertions, 0 deletions
@@ -0,0 +1 @@ +/gssapi-1.3.1.gem diff --git a/rubygem-gssapi.spec b/rubygem-gssapi.spec new file mode 100644 index 0000000..e22274e --- /dev/null +++ b/rubygem-gssapi.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +%global gem_name gssapi +Name: rubygem-gssapi +Version: 1.3.1 +Release: 1 +Summary: A FFI wrapper around the system GSSAPI library. +License: MIT +URL: http://github.com/zenchild/gssapi +Source0: https://rubygems.org/gems/gssapi-1.3.1.gem +BuildArch: noarch + +Requires: rubygem-ffi +BuildRequires: ruby +BuildRequires: ruby-devel +BuildRequires: rubygems +BuildRequires: rubygems-devel +BuildRequires: rsync +Provides: rubygem-gssapi + +%description + A FFI wrapper around the system GSSAPI library. Please make sure and read the + Yard docs or standard GSSAPI documentation if you have any questions. + + There is also a class called GSSAPI::Simple that wraps many of the common features + used for GSSAPI. + + +%package help +Summary: Development documents and examples for gssapi +Provides: rubygem-gssapi-doc +BuildArch: noarch + +%description help + A FFI wrapper around the system GSSAPI library. Please make sure and read the + Yard docs or standard GSSAPI documentation if you have any questions. + + There is also a class called GSSAPI::Simple that wraps many of the common features + used for GSSAPI. + + +%prep +%autosetup -n gssapi-1.3.1 +gem spec %{SOURCE0} -l --ruby > gssapi.gemspec + +%build +gem build gssapi.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-gssapi -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 @@ -0,0 +1 @@ +4bd2df09d8e0ab4c6d2e1828c344eba1 gssapi-1.3.1.gem |