auto-import perl-XML-RegExp-0.03-0.1 on branch devel from

perl-XML-RegExp-0.03-0.1.src.rpm Initial import (#172330).
This commit is contained in:
Ville Skyttä 2005-11-03 15:17:45 +00:00
parent 8057890d5d
commit 4557f4888e
3 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1 @@
XML-RegExp-0.03.tar.gz

57
perl-XML-RegExp.spec Normal file
View File

@ -0,0 +1,57 @@
Name: perl-XML-RegExp
Version: 0.03
Release: 0.1
Summary: Regular expressions for XML tokens
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/XML-RegExp/
Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This package contains an utility module containing regular expressions
for the following XML tokens: BaseChar, Ideographic, Letter, Digit,
Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference,
Name, NmToken, and AttValue.
%prep
%setup -q -n XML-RegExp-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
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 d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/XML/
%{_mandir}/man3/XML::RegExp.3*
%changelog
* Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.03-0.1
- First build (#128879).

View File

@ -0,0 +1 @@
5826b24e0d05714e25c2bb04e1f1c09b XML-RegExp-0.03.tar.gz