Ai
5 Star 0 Fork 0

src-openEuler/rubygem-sshkey
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rubygem-sshkey.spec 1.64 KB
一键复制 编辑 原始数据 按行查看 历史
jiangxinyu 提交于 2022-04-21 10:31 +08:00 . Modify changelog and add yaml file
%global pkg_name %{name}
%global gem_name sshkey
Summary: Generate private/public SSH keypairs using pure Ruby
Name: rubygem-%{gem_name}
Version: 1.9.0
Release: 2
Group: Development/Languages
License: MIT
URL: https://github.com/bensie/sshkey
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
Source1: https://github.com/bensie/%{gem_name}/archive/refs/tags/%{version}.tar.gz
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: ruby
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
Obsoletes: ruby193-rubygem-%{gem_name}
%description
Generate private and public SSH keys (RSA and DSA supported) using pure Ruby.
%package doc
Summary: Documentation for %{pkg_name}
Group: Documentation
Requires: %{pkg_name} = %{version}-%{release}
Obsoletes: ruby193-rubygem-%{gem_name}-doc
BuildArch: noarch
%description doc
Documentation for %{pkg_name}
%prep
%setup -n %{pkg_name}-%{version} -q -c -T
%gem_install -n %{SOURCE0}
%build
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%dir %{gem_instdir}
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%doc %{gem_instdir}/LICENSE
%exclude %{gem_instdir}/.*
%exclude %{gem_instdir}/*.gemspec
%exclude %{gem_instdir}/Gemfile
%exclude %{gem_instdir}/Rakefile
%exclude %{gem_instdir}/test
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/LICENSE
%doc %{gem_instdir}/README.md
%changelog
* Thu Apr 21 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.9.0-2
- Modify changelog and add yaml file
* Tue Jun 22 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 1.9.0-1
- Init project
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/rubygem-sshkey.git
git@gitee.com:src-openeuler/rubygem-sshkey.git
src-openeuler
rubygem-sshkey
rubygem-sshkey
master

搜索帮助