Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > efac88c0f55ab2f48a808c5c262ac926 > files > 2

perl-Test-Parser-1.7-1mdv2008.1.src.rpm

%define module  Test-Parser
%define name    perl-%{module}
%define version 1.7
%define release %mkrel 1

Name:           %{name}
Version:        %{version}
Release:        %{release}
Summary:        Base class for parsing log files from test runs, and displays in an XML syntax 
License:        GPL or Artistic
Group:          Development/Perl
URL:            http://search.cpan.org/dist/%{module}
Source:         http://www.cpan.org/modules/by-module/Test/%{module}-%{version}.tar.gz
%if %{mdkversion} < 1010
BuildRequires:  perl-devel
%endif
BuildRequires:  perl(XML::Simple)
BuildRequires:  perl(XML::Twig)
BuildRoot:      %{_tmppath}/%{name}-%{version}

%description 
This module serves as a common base class for test log parsers. These tools are
intended to be able to parse output from a wide variety of tests - including
non-Perl tests.

The parsers also write the test data into the 'Test Result Publication
Interface' (TRPI) XML schema, developed by SpikeSource.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%install
rm -rf %{buildroot}
%makeinstall_std

%check
%make test

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog INSTALL README
%{perl_vendorlib}/Test
%{_mandir}/*/*
%{_bindir}/*




%changelog
* Thu Feb 28 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.7-1mdv2008.1
+ Revision: 175989
- new version

* Wed Feb 27 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.6-1mdv2008.1
+ Revision: 175718
- new version
  drop test patch (merged upstream)
  new patch for fixing object type

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 1.5-1mdv2008.1
+ Revision: 140721
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Wed Mar 14 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.5-1mdv2007.1
+ Revision: 143528
- fix build dependencies
- Imported perl-Test-Parser-1.5-1mdv2007.1 into SVN repository.

* Wed Mar 14 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.5-1mdv2007.1
- first mdv release