49 lines
1.3 KiB
RPMSpec
49 lines
1.3 KiB
RPMSpec
Name: perl-XML-NamespaceSupport
|
|
Version: 1.12
|
|
Release: 7
|
|
Summary: A simple generic namespace processor
|
|
License: GPL+ or Artistic
|
|
Url: https://metacpan.org/release/XML-NamespaceSupport
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-%{version}.tar.gz
|
|
|
|
BuildRequires: make perl-generators perl-interpreter
|
|
BuildRequires: perl(:VERSION) >= 5.6 perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict) perl(warnings) perl(constant) perl(vars) perl(Test::More)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This module offers a simple to process namespaced XML names (unames)
|
|
from within any application that may need them. It also helps maintain
|
|
a prefix to namespace URI map, and provides a number of basic checks.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -p1 -n XML-NamespaceSupport-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
%make_build
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
%{_fixperms} %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{perl_vendorlib}/XML/
|
|
|
|
%files help
|
|
%doc Changes README
|
|
%{_mandir}/man3/*.3*
|
|
|
|
%changelog
|
|
* Fri Nov 15 2019 caomeng<caomeng5@huawei.com> - 1.12-7
|
|
- Package init
|