Projects
home:Eustace:branches:Eulaceura:Factory
rubygem-Ascii85
_service:obs_scm:rubygem-Ascii85.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rubygem-Ascii85.spec of Package rubygem-Ascii85
%global gem_name Ascii85 Name: rubygem-%{gem_name} Version: 1.1.1 Release: 1 Summary: Ascii85 encoder/decoder License: MIT URL: https://github.com/DataWraith/ascii85gem Source0: https://rubygems.org/gems/Ascii85-%{version}.gem Source1: ascii85.1.pod.tgz BuildRequires: ruby(release) rubygems-devel rubygem(minitest) %{_bindir}/pod2man BuildArch: noarch %description Ascii85 provides methods to encode/decode Adobe's binary-to-text encoding of the same name. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} -b 1 %build gem build ../%{gem_name}-%{version}.gemspec %gem_install pod2man --center "" --release "" --name ASCII85 --utf8 --section=1 ../ascii85.1.pod ../ascii85.1 %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ mv %{buildroot}%{gem_instdir}/{History.txt,README.md} ./ rm -rf %{buildroot}%{gem_instdir}/.travis.yml install -D -m 644 ../ascii85.1 %{buildroot}%{_mandir}/man1/ascii85.1 sed -i 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' %{buildroot}%{gem_instdir}/bin/ascii85 %check pushd .%{gem_instdir} ruby -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)' popd %files %dir %{gem_instdir} %{_bindir}/ascii85 %license %{gem_instdir}/LICENSE %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %{_mandir}/man1/ascii85.1* %files doc %doc History.txt README.md %doc %{gem_docdir} %{gem_instdir}/Ascii85.gemspec %{gem_instdir}/Gemfile %{gem_instdir}/Rakefile %{gem_instdir}/spec %changelog * Wed Sep 25 2024 Ge Wang <wang__ge@126.com> - 1.1.1-1 - update to 1.1.1 * Tue Jun 28 2022 baizhonggui <baizhonggui@h-partners.com> - 1.1.0-1 - update to 1.1.0 * Wed Aug 5 2020 wangchong <wangchong56@huawei.com> - 1.0.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