Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions SPECS/perl-MIME-Charset/perl-MIME-Charset.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Suyun <ziyu.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

Name: perl-MIME-Charset
Version: 1.013.1
Release: %autorelease
Summary: Charset information for MIME messages
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/dist/MIME-Charset
#!RemoteAsset: sha256:1bb7a6e0c0d251f23d6e60bf84c9adefc5b74eec58475bfee4d39107e60870f0
Source0: http://www.cpan.org/authors/id/N/NE/NEZUMI/MIME-Charset-%{version}.tar.gz
BuildArch: noarch

BuildRequires: make
BuildRequires: perl-macros
BuildRequires: perl-rpm-packaging
BuildRequires: perl >= 5.8.1
BuildRequires: perl(Encode)
BuildRequires: perl(ExtUtils::MakeMaker)

%description
MIME::Charset provides information about character sets used for MIME
messages on Internet.

%prep
%setup -q -n MIME-Charset-%{version}

%build
PERL_AUTOINSTALL='--skipdeps' perl Makefile.PL INSTALLDIRS=vendor
%{make_build}

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%doc Changes README

%changelog
%autochangelog
43 changes: 43 additions & 0 deletions SPECS/perl-Text-CharWidth/perl-Text-CharWidth.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Suyun <ziyu.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

Name: perl-Text-CharWidth
Version: 0.04
Release: %autorelease
Summary: Get number of occupied columns of a string on terminal
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/dist/Text-CharWidth
#!RemoteAsset: sha256:abded5f4fdd9338e89fd2f1d8271c44989dae5bf50aece41b6179d8e230704f8
Source0: http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-%{version}.tar.gz

BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-macros
BuildRequires: perl-rpm-packaging
BuildRequires: perl >= 5.6.0
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This module provides a Perl extension for getting the displayed width
of characters on a terminal.

%prep
%setup -q -n Text-CharWidth-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
%{make_build}

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%doc Changes README

%changelog
%autochangelog
44 changes: 44 additions & 0 deletions SPECS/perl-Text-WrapI18N/perl-Text-WrapI18N.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Suyun <ziyu.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

Name: perl-Text-WrapI18N
Version: 0.06
Release: %autorelease
Summary: Line wrapping module for multibyte and fullwidth characters
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/dist/Text-WrapI18N
#!RemoteAsset: sha256:4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488
Source0: http://www.cpan.org/authors/id/K/KU/KUBOTA/Text-WrapI18N-%{version}.tar.gz
BuildArch: noarch

BuildRequires: make
BuildRequires: perl-macros
BuildRequires: perl-rpm-packaging
BuildRequires: perl >= 5.6.0
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Text::CharWidth) >= 0.02

%description
Text::WrapI18N is a line wrapping module for multibyte, fullwidth, and
combining characters, and languages without whitespaces between words.

%prep
%setup -q -n Text-WrapI18N-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
%{make_build}

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%doc Changes README

%changelog
%autochangelog
46 changes: 46 additions & 0 deletions SPECS/perl-Unicode-LineBreak/perl-Unicode-LineBreak.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Suyun <ziyu.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

Name: perl-Unicode-LineBreak
Version: 2019.001
Release: %autorelease
Summary: UAX #14 Unicode Line Breaking Algorithm
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/dist/Unicode-LineBreak
#!RemoteAsset: sha256:486762e4cacddcc77b13989f979a029f84630b8175e7fef17989e157d4b6318a
Source0: http://www.cpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-%{version}.tar.gz

BuildRequires: gcc
BuildRequires: make
BuildRequires: perl-macros
BuildRequires: perl-rpm-packaging
BuildRequires: perl >= 5.8.1
BuildRequires: perl(Encode) >= 1.98
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.26
BuildRequires: perl(MIME::Charset) >= 1.006.2

%description
Unicode::LineBreak performs Unicode Line Breaking Algorithm (UAX #14)
and provides Unicode::GCString, a string class that treats character
grapheme clusters.

%prep
%setup -q -n Unicode-LineBreak-%{version}

%build
perl Makefile.PL INSTALLDIRS=vendor
%{make_build}

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%files -f %{name}.files
%doc Changes README

%changelog
%autochangelog
67 changes: 67 additions & 0 deletions SPECS/po4a/po4a.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Suyun <ziyu.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0

Name: po4a
Version: 0.74
Release: %autorelease
Summary: Tools for helping translation of documentation
License: GPL-2.0-or-later
URL: https://po4a.org/
VCS: git:https://github.com/mquinson/po4a.git
#!RemoteAsset: sha256:6e390eb7707501a86f2e648d78fddb0d211d1e8699aa1ee201176e9f966a798b
Source0: https://github.com/mquinson/po4a/archive/v%{version}.tar.gz
BuildArch: noarch

BuildRequires: make
BuildRequires: perl-macros
BuildRequires: perl-rpm-packaging
BuildRequires: perl >= 5.8.1
BuildRequires: perl(Locale::gettext) >= 1.01
BuildRequires: perl(Module::Build) >= 0.42
BuildRequires: perl(Pod::Parser)
BuildRequires: perl(SGMLS)
BuildRequires: perl(Term::ReadKey)
BuildRequires: perl(Text::WrapI18N)
BuildRequires: perl(Unicode::LineBreak)
BuildRequires: perl(YAML::Tiny)
BuildRequires: docbook-xsl
BuildRequires: libxslt

%description
po4a (PO for anything) eases the translation of documentation and other
textual content. It converts documentation to PO files for translation,
and then back to the original format from translated PO files.

%prep
%setup -q -n po4a-%{version}

%build
# Replace online docbook.xsl URL with local path for offline build
sed -i 's|http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|file://%{_datadir}/sgml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl|' Po4aBuilder.pm
LC_ALL=en_US.UTF-8 perl Build.PL --installdirs=vendor
./Build

%install
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_process_packlist
%perl_gen_filelist

%check

%files -f %{name}.files
%doc README* TODO changelog
%{_mandir}/man1/po4a*.1*
%{_mandir}/man1/msguntypot.1*
%{_mandir}/man3/Locale::Po4a::*.3*
%{_mandir}/man7/po4a.7*
%{_mandir}/*/man1/po4a*.1*
%{_mandir}/*/man1/msguntypot.1*
%{_mandir}/*/man3/Locale::Po4a::*.3*
%{_mandir}/*/man7/po4a.7*
%{_datadir}/locale/

%changelog
%autochangelog
Loading