diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-16 13:06:38 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2021-09-16 13:06:38 +0000 |
commit | b1b2716427a3f53450d14f35c39e3e3cae670a89 (patch) | |
tree | f0821dac5579eb8a325e0f75a4a8495a32f834e7 | |
parent | 347d555f25c22105b02da504611d7468f8b26ee9 (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | rubygem-unidom-standard.spec | 70 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 72 insertions, 0 deletions
@@ -0,0 +1 @@ +/unidom-standard-2.0.gem diff --git a/rubygem-unidom-standard.spec b/rubygem-unidom-standard.spec new file mode 100644 index 0000000..5be21db --- /dev/null +++ b/rubygem-unidom-standard.spec @@ -0,0 +1,70 @@ +# Generated from unidom-standard-2.0.gem by gem2rpm -*- rpm-spec -*- +%global gem_name unidom-standard + +Name: rubygem-%{gem_name} +Version: 2.0 +Release: 1%{?dist} +Summary: Unidom Standard Domain Model Engine 标准领域模型引擎 +License: MIT +URL: https://github.com/topbitdu/unidom-standard +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem +BuildRequires: ruby(release) +BuildRequires: rubygems-devel +BuildRequires: ruby +BuildArch: noarch + +%description +Unidom (UNIfied Domain Object Model) is a series of domain model engines. The +Standard domain model engine includes Standard and Standard Association +models. Unidom (统一领域对象模型)是一系列的领域模型引擎。标准领域模型引擎包括标准和标准关联的模型。. + + +%package doc +Summary: Documentation for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%prep +%setup -q -n %{gem_name}-%{version} + +%build +# Create the gem as gem install only works on a gem file +gem build ../%{gem_name}-%{version}.gemspec + +# %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir +# by default, so that we can move it into the buildroot in %%install +%gem_install + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + + + +%check +pushd .%{gem_instdir} +# Run the test suite. +popd + +%files +%dir %{gem_instdir} +%license %{gem_instdir}/MIT-LICENSE +%{gem_instdir}/app +%{gem_instdir}/config +%{gem_instdir}/db +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.md +%{gem_instdir}/Rakefile + +%changelog +* Thu Sep 16 2021 mockbuilder - 2.0-1 +- Initial package @@ -0,0 +1 @@ +fd81482e8fa59bdf30a3acdac45d49a8 unidom-standard-2.0.gem |