Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
79360480c8
!8 【轻量级 PR】:Spec文件格式的修改
From: @chengchaonan-one 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-16 09:00:14 +00:00
openeuler-ci-bot
0533618559
!9 【轻量级 PR】:fix bogus date in %changelog
From: @zhangkea 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-16 08:20:31 +00:00
zhangkea
0a6c06d861 fix bogus date in %changelog 2022-06-16 15:32:42 +08:00
chengchaonan_1
f02e87e686
Spec文件格式的修改 2022-06-15 05:45:28 +00:00
openeuler-ci-bot
46795a2916 !5 添加gcc依赖, 解决gcc command not found.
From: @shine_
Reviewed-by: @myeuler
Signed-off-by: @myeuler
2021-06-16 09:16:01 +00:00
shine_
4047992b06 fix failed: gcc command not found. 2021-06-04 16:40:07 +08:00
openeuler-ci-bot
d97b3b2994 !3 add yaml and fix check failed
Merge pull request !3 from jackie_wu123/master
2020-05-22 13:56:28 +08:00
jackie_wu
5625604615 fix check failed 2020-05-21 14:54:24 +08:00
jackie_wu123
4487c49655 add yaml 2020-05-08 15:43:38 +08:00
openeuler-ci-bot
e8e54c9366 !1 package init
Merge pull request !1 from jackie_wu123/master
2020-01-13 16:27:56 +08:00
jackie_wu123
ec0e8dbe54 package init 2020-01-13 16:06:15 +08:00
3 changed files with 84 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,80 @@
Name: perl-Unicode-LineBreak
Version: 2019.001
Release: 6
Summary: An algorithm for unicode line breaking
License: GPL+ or Artistic
URL: https://metacpan.org/release/Unicode-LineBreak
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/Unicode-LineBreak-%{version}.tar.gz
BuildRequires: gcc libthai-devel coreutils findutils make perl-interpreter perl-devel
BuildRequires: perl-generators perl(Config) perl(ExtUtils::MakeMaker) perl(strict)
BuildRequires: pkgconfig sed sombok-devel perl(Carp) perl(constant) perl(Encode) >= 1.98
BuildRequires: perl(Exporter) perl(overload) perl(strict) perl(vars) perl(warnings)
BuildRequires: perl(XSLoader) perl(Test::More) >= 0.45 perl(MIME::Charset) >= 1.006.2
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) perl(Encode) >= 1.98
%{?filter_setup:
%filter_from_requires /perl(Unicode::LineBreak::Constants)/d
%filter_from_provides /^perl(Unicode::LineBreak)$/d
}
%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Unicode::LineBreak::Constants\\)
%global __requires_exclude %__requires_exclude|^perl\\(constant\\)\s*$
%global __requires_exclude %__requires_exclude|^perl\\(Encode\\)\s*$
%global __requires_exclude %__requires_exclude|^perl\\(MIME::Charset\\)\s*$
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Unicode::LineBreak\\)$
%description
Unicode defines several characters as providing vertical whitespace, like the carriage return or
newline characters. Unicode also gathers several characters under the banner of a linebreak sequence.
A Unicode linebreak matches the two-character CRLF grapheme or any of the seven vertical whitespace
characters.
%package help
Summary: Help documents for perl-Unicode-LineBreak package
%description help
Help documents for perl-Unicode-LineBreak package.
%prep
%autosetup -n Unicode-LineBreak-%{version} -p1
rm -rf sombok
sed -i -e '/^sombok/d' MANIFEST
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
install -d $RPM_BUILD_ROOT%{_mandir}/ja/man3
for mod in Text::LineFold Unicode::GCString Unicode::LineBreak; do
mv $RPM_BUILD_ROOT%{_mandir}/man3/POD2::JA::$mod.3pm \
$RPM_BUILD_ROOT%{_mandir}/ja/man3/$mod.3pm
done
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license ARTISTIC GPL
%{perl_vendorarch}/{auto/*,Unicode*,Text,POD2}
%files help
%doc Changes Changes.REL1 README Todo.REL1
%{_mandir}/man3/*
%{_mandir}/ja/man3/*
%changelog
* Wed Jun 02 2021 zhaoyao<zhaoyao32@huawei.com> - 2019.001-6
- fixs faileds: /bin/sh: gcc: command not found.
* Fri Jan 10 2020 wutao <wutao61@huawei.com> - 2019.001-5
- Package init

View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: Unicode-LineBreak
tag_prefix: "^v"
seperator: "."