| 1 | Name: perl-XML-RegExp |
|---|
| 2 | Version: 0.03 |
|---|
| 3 | Release: 8%{?_dist_release} |
|---|
| 4 | Summary: Regular expressions for XML tokens |
|---|
| 5 | |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | License: GPL+ or Artistic |
|---|
| 8 | URL: http://search.cpan.org/dist/XML-RegExp/ |
|---|
| 9 | Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-RegExp-%{version}.tar.gz |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 11 | |
|---|
| 12 | BuildArch: noarch |
|---|
| 13 | BuildRequires: perl |
|---|
| 14 | Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version) |
|---|
| 15 | |
|---|
| 16 | %description |
|---|
| 17 | This package contains an utility module containing regular expressions |
|---|
| 18 | for the following XML tokens: BaseChar, Ideographic, Letter, Digit, |
|---|
| 19 | Extender, CombiningChar, NameChar, EntityRef, CharRef, Reference, |
|---|
| 20 | Name, NmToken, and AttValue. |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | %prep |
|---|
| 24 | %setup -q -n XML-RegExp-%{version} |
|---|
| 25 | |
|---|
| 26 | %build |
|---|
| 27 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 28 | make %{?_smp_mflags} |
|---|
| 29 | |
|---|
| 30 | %install |
|---|
| 31 | rm -rf $RPM_BUILD_ROOT |
|---|
| 32 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
|---|
| 33 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
|---|
| 34 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 35 | chmod -R u+w $RPM_BUILD_ROOT/* |
|---|
| 36 | |
|---|
| 37 | %check |
|---|
| 38 | make test |
|---|
| 39 | |
|---|
| 40 | %clean |
|---|
| 41 | rm -rf $RPM_BUILD_ROOT |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | %files |
|---|
| 45 | %defattr(-,root,root,-) |
|---|
| 46 | %doc Changes README |
|---|
| 47 | %{perl_vendorlib}/XML/ |
|---|
| 48 | %{_mandir}/man3/XML::RegExp.3* |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | %changelog |
|---|
| 52 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.03-8 |
|---|
| 53 | - rebuild with perl-5.12.3 |
|---|
| 54 | |
|---|
| 55 | * Sat Aug 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.03-7 |
|---|
| 56 | - Initial build for Vine Linux |
|---|
| 57 | |
|---|
| 58 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-6 |
|---|
| 59 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 60 | |
|---|
| 61 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03-5 |
|---|
| 62 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 63 | |
|---|
| 64 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-4 |
|---|
| 65 | - Rebuild for perl 5.10 (again) |
|---|
| 66 | |
|---|
| 67 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3 |
|---|
| 68 | - rebuild for new perl |
|---|
| 69 | |
|---|
| 70 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-2.1 |
|---|
| 71 | - correct license tag |
|---|
| 72 | - add BR: perl(ExtUtils::MakeMaker) |
|---|
| 73 | |
|---|
| 74 | * Thu Jun 29 2006 Orion Poplawski <orion@cora.nwra.com> - 0.03-2 |
|---|
| 75 | - Bump for new perl version (#196668) |
|---|
| 76 | |
|---|
| 77 | * Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.03-1 |
|---|
| 78 | - First Fedora Extras release (#172330). |
|---|
| 79 | |
|---|
| 80 | * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.03-0.1 |
|---|
| 81 | - First build (#128879). |
|---|