2011-06-26 18:20:14 +00:00
|
|
|
#
|
2013-10-19 09:30:42 +00:00
|
|
|
# spec file for package perl-TAP-Formatter-JUnit
|
|
|
|
|
#
|
2015-02-03 10:32:00 +00:00
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-10-19 09:30:42 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2011-06-26 18:20:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%define cpan_name TAP-Formatter-JUnit
|
|
|
|
|
|
|
|
|
|
Name: perl-%cpan_name
|
2015-02-03 10:32:00 +00:00
|
|
|
Version: 0.11
|
2013-10-19 09:30:42 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Harness output delegate for JUnit output
|
2015-07-20 08:16:48 +00:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2013-10-19 09:30:42 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Provides: %cpan_name
|
2015-07-20 08:16:48 +00:00
|
|
|
Url: http://search.cpan.org/dist/TAP-Formatter-JUnit/
|
2013-10-19 09:30:42 +00:00
|
|
|
Source: %cpan_name-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
2011-06-26 18:20:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-10-19 09:30:42 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-File-Slurp
|
|
|
|
|
BuildRequires: perl-IO-stringy
|
2015-02-03 10:32:00 +00:00
|
|
|
BuildRequires: perl-IPC-Run
|
2014-01-29 08:45:45 +00:00
|
|
|
BuildRequires: perl-Moose
|
|
|
|
|
BuildRequires: perl-MooseX-NonMoose
|
2013-10-19 09:30:42 +00:00
|
|
|
BuildRequires: perl-Test-Harness
|
2015-02-03 10:32:00 +00:00
|
|
|
BuildRequires: perl-Test-XML
|
2013-10-19 09:30:42 +00:00
|
|
|
BuildRequires: perl-XML-Generator
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
Requires: perl-File-Slurp
|
2014-01-29 08:45:45 +00:00
|
|
|
Requires: perl-Moose
|
|
|
|
|
Requires: perl-MooseX-NonMoose
|
2013-10-19 09:30:42 +00:00
|
|
|
Requires: perl-XML-Generator
|
2011-06-26 18:20:14 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
2015-07-20 08:16:48 +00:00
|
|
|
This module provides JUnit output formatting for TAP::Harness (a replacement
|
|
|
|
|
for Test::Harness).
|
2011-06-26 18:20:14 +00:00
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Graham TerMarsch
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %cpan_name-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc Changes MANIFEST README
|
|
|
|
|
|
|
|
|
|
%changelog
|