package init
This commit is contained in:
parent
53d0eda21c
commit
d9b048eba7
BIN
XML-Catalog-1.03.tar.gz
Normal file
BIN
XML-Catalog-1.03.tar.gz
Normal file
Binary file not shown.
51
perl-XML-Catalog.spec
Normal file
51
perl-XML-Catalog.spec
Normal file
@ -0,0 +1,51 @@
|
||||
Name: perl-XML-Catalog
|
||||
Version: 1.03
|
||||
Release: 14
|
||||
Summary: Perl module for resolving public and remapping system identifiers
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: https://metacpan.org/release/XML-Catalog
|
||||
Source0: https://cpan.metacpan.org/authors/id/J/JF/JFEARN/XML-Catalog-1.03.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) perl(LWP::Simple) perl(strict)
|
||||
BuildRequires: perl(Text::ParseWords) perl(URI::URL) perl(vars) perl(warnings) perl(XML::Parser)
|
||||
BuildRequires: perl(Cwd) perl(Test::More)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
Perl module for resolving public and remapping system identifiers.
|
||||
|
||||
%package help
|
||||
Summary: Help documents for perl-XML-Catalog
|
||||
|
||||
%description help
|
||||
Help documents for perl-XML-Catalog.
|
||||
|
||||
%prep
|
||||
%autosetup -n XML-Catalog-1.03 -p1
|
||||
|
||||
%build
|
||||
sed -i 's/\r//' Changes
|
||||
sed -i 's/\r//' README
|
||||
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files help
|
||||
%doc Changes README
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 11 2020 wutao <wutao61@huawei.com> - 1.03-14
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user