Projects
openEuler:24.03:SP1:Everything:64G
rubygem-RedCloth
_service:tar_scm:rubygem-RedCloth.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rubygem-RedCloth.spec of Package rubygem-RedCloth
%global gem_name RedCloth Name: rubygem-%{gem_name} Version: 4.3.2 Release: 1 Summary: Textile parser for Ruby License: MIT URL: http://redcloth.org Source0: https://rubygems.org/gems/RedCloth-%{version}.gem Patch0: rubygem-redcloth-4.2.9-unsigned-char-fix.patch Patch1: rubygem-RedCloth-4.3.2-Replace-deprecated-YAML-load_documents.patch BuildRequires: ruby(release) rubygems-devel rubygem(rspec) < 3 ruby-devel gcc %description Textile parser for 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 %patch0 -p1 %patch1 -p1 %build gem build %{gem_name}.gemspec %gem_install pushd .%{gem_instdir}/ext/redcloth_scan mkdir ext ln -sf .. ext/redcloth_scan popd %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{gem_extdir_mri} cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/ rm -rf %{buildroot}%{gem_instdir}/ext/ mkdir -p %{buildroot}%{_bindir} cp -pa .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} rspec2 -I$(dirs +1)%{gem_extdir_mri} spec popd %files %dir %{gem_instdir} %{_bindir}/redcloth %{gem_extdir_mri} %exclude %{gem_instdir}/.* %license %{gem_instdir}/COPYING %{gem_instdir}/bin %exclude %{gem_instdir}/redcloth.gemspec %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %doc %{gem_instdir}/doc %{gem_instdir}/spec %{gem_instdir}/tasks %changelog * Wed Aug 12 2020 yanan li <liyanan032@huawei.com> - 4.3.2-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