perl-YAML-LibYAML/perl-YAML-LibYAML.spec

71 lines
2.3 KiB
RPMSpec
Raw Normal View History

2020-02-26 17:37:23 +08:00
Name: perl-YAML-LibYAML
Epoch: 1
2022-06-15 16:02:01 +08:00
Version: 0.83
Release: 1
2020-02-26 17:37:23 +08:00
Summary: Perl YAML Serialization using XS and libyaml
License: GPL+ or Artistic
URL: https://metacpan.org/release/YAML-LibYAML
Source0: https://cpan.metacpan.org/modules/by-module/YAML/YAML-LibYAML-%{version}.tar.gz
BuildRequires: coreutils findutils perl-devel perl-generators perl-interpreter perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(B::Deparse) perl(base) perl(constant)
BuildRequires: perl(Exporter) perl(Scalar::Util) perl(strict) perl(warnings) perl(XSLoader)
BuildRequires: perl(B) perl(blib) perl(Carp) perl(Data::Dumper) perl(Devel::Peek) perl(Encode)
BuildRequires: perl(File::Find) perl(File::Path) perl(Filter::Util::Call) perl(FindBin)
BuildRequires: perl(IO::File) perl(IO::Pipe) perl(lib) perl(Test::Builder) perl(Test::More) >= 0.88
2021-06-22 11:15:37 +00:00
BuildRequires: perl(Tie::Array) perl(Tie::Hash) perl(utf8) gcc
2020-02-26 17:37:23 +08:00
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(B::Deparse)
Provides: bundled(libyaml) = 0.2.1
%{?perl_default_filter}
%description
This module is a Perl XS binding to libyaml which offers Perl the best YAML
support to date.
This module exports the functions Dump, Load, DumpFile and LoadFile. These
functions are intended to work exactly like YAML.pm's corresponding functions.
Only Load and Dump are exported by default.
%package help
Summary: Help package for perl-YAML-LibYAML
%description help
This package contains man files for perl-YAML-LibYAML.
%prep
%autosetup -n YAML-LibYAML-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -exec rm {} \;
%{_fixperms} -c %{buildroot}
%check
%make_build test
%files
%doc Changes CONTRIBUTING README LICENSE
%{perl_vendorarch}/auto/YAML/
%{perl_vendorarch}/YAML/
%files help
%{_mandir}/man3/YAML::*
%changelog
2022-06-15 16:02:01 +08:00
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 1:0.83-1
- Upgrade to version 0.83
2021-06-22 11:15:37 +00:00
* Tue Jun 22 2021 shixuantong <shixuantong@huawei.com> - 1:0.82-2
- add gcc to BuildRequires
2021-01-29 11:48:13 +08:00
* Fri Jan 29 2021 liudabo <liudabo1@huawei.com> - 1:0.82-1
- upgrade version to 0.82
2020-02-26 17:37:23 +08:00
* Tue Feb 18 2020 lingsheng <lingsheng@huawei.com> - 1:0.74-2
- Package init