From 4557f4888ebf5023985fc443b3824e533e2e7dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 3 Nov 2005 15:17:45 +0000 Subject: [PATCH] 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). --- .cvsignore | 1 + perl-XML-RegExp.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+) create mode 100644 perl-XML-RegExp.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b9e6461 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +XML-RegExp-0.03.tar.gz diff --git a/perl-XML-RegExp.spec b/perl-XML-RegExp.spec new file mode 100644 index 0000000..af06206 --- /dev/null +++ b/perl-XML-RegExp.spec @@ -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ä - 0.03-0.1 +- First build (#128879). diff --git a/sources b/sources index e69de29..e0eaa9c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5826b24e0d05714e25c2bb04e1f1c09b XML-RegExp-0.03.tar.gz