Projects
Eulaceura:Factory
rubygem-ejs
_service:obs_scm:rubygem-ejs.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-ejs.spec of Package rubygem-ejs
%global gem_name ejs Name: rubygem-%{gem_name} Version: 1.1.1 Release: 1 Summary: EJS (Embedded JavaScript) template compiler License: MIT URL: https://github.com/sstephenson/ruby-ejs/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem Source1: https://github.com/sstephenson/ruby-%{gem_name}/archive/v%{version}.tar.gz BuildRequires: ruby(release) rubygems-devel ruby rubygem(execjs) rubygem(test-unit) nodejs BuildArch: noarch %description Compile and evaluate EJS (Embedded JavaScript) templates from Ruby. %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 -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} tar xzf %{SOURCE1} ln -s ruby-%{gem_name}-%{version}/test test ruby -Ilib -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' popd %files %dir %{gem_instdir} %license %{gem_instdir}/LICENSE %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %changelog * Fri Aug 21 2020 fanjiachen <fanjiachen3@huawei.com> - 1.1.1-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2