Projects
Eulaceura:Factory
rubygem-unf_ext
_service:obs_scm:rubygem-unf_ext.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-unf_ext.spec of Package rubygem-unf_ext
%global gem_name unf_ext Summary: Unicode Normalization Form support library for CRuby Name: rubygem-%{gem_name} Version: 0.0.9.1 Release: 1 License: MIT URL: https://github.com/knu/ruby-unf_ext Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) BuildRequires: ruby(release) BuildRequires: gcc-c++ Requires: ruby(rubygems) BuildRequires: rubygems-devel ruby-devel rubygem(test-unit) Provides: rubygem(%{gem_name}) = %{version}-%{release} %description Unicode Normalization Form support library for CRuby. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -c -T TOPDIR=$(pwd) mkdir tmpunpackdir pushd tmpunpackdir gem unpack %{SOURCE0} cd %{gem_name}-%{version} gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec gem build %{gem_name}.gemspec mv %{gem_name}-%{version}.gem $TOPDIR popd rm -rf tmpunpackdir %build %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{gem_extdir_mri} cp -a ./%{gem_extdir_mri}/* %{buildroot}%{gem_extdir_mri}/ pushd %{buildroot} rm -f .%{gem_extdir_mri}/{gem_make.out,mkmf.log} popd rm -rf %{buildroot}%{gem_instdir}/ext rm -f %{buildroot}%{gem_instdir}/{.document,.gitignore} rm -f %{buildroot}%{gem_instdir}/.travis.yml %check pushd .%{gem_instdir} sed -i.orig \ -e '/begin/,/end/d' \ -e '/bundler/d' \ test/helper.rb sed -i -e '2i gem "test-unit"' test/helper.rb ruby \ -Ilib:test:.:%{buildroot}%{gem_extdir_mri} \ test/test_unf_ext.rb %files %dir %{gem_instdir} %doc %{gem_instdir}/[A-Z]* %exclude %{gem_instdir}/Gemfile %exclude %{gem_instdir}/Rakefile %exclude %{gem_instdir}/*.gemspec %dir %{gem_libdir} %{gem_libdir}/%{gem_name}.rb %{gem_libdir}/%{gem_name}/ %{gem_extdir_mri}/ %exclude %{gem_cache} %{gem_spec} %{gem_instdir}/.github/workflows/%{gem_name}.yml %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/test/ %changelog * Fri Jun 07 2024 yaoxin <yao_xin001@hoperun.com> - 0.0.9.1-1 - Update to 0.0.9.1 * Fix use of designated initializers. * Use the newer TypedData extension API * Update Actions - updates OS's, add Ruby 3,2, etc * Add cross compilation for Ruby 3.2 * Tue Aug 01 2023 wulei <wu_lei@hoperun.com> - 0.0.8.2-2 - Use %%gem_extdir_mri instead of ext for %%check due to ruby3.2 change for ext cleanup during build * Thu Jun 30 2022 houyingchao <houyingchao@partners.com> - 0.0.8.2-1 - Upgrade to 0.0.8.2 * Wed Jul 29 2020 zhanghua <zhanghua40@huawei.com> - 0.0.7.6-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