65 lines
1.3 KiB
RPMSpec
65 lines
1.3 KiB
RPMSpec
|
|
#
|
||
|
|
# This file and all modifications and additions to the pristine
|
||
|
|
# package are under the same license as the package itself.
|
||
|
|
#
|
||
|
|
|
||
|
|
# norootforbuild
|
||
|
|
|
||
|
|
%define cpan_name TAP-Formatter-JUnit
|
||
|
|
|
||
|
|
Name: perl-%cpan_name
|
||
|
|
Version: 0.08
|
||
|
|
Release: 1
|
||
|
|
Summary: Harness output delegate for JUnit output
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
License: Perl
|
||
|
|
Provides: %cpan_name
|
||
|
|
Source: %cpan_name-%{version}.tar.gz
|
||
|
|
BuildArch: noarch
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
BuildRequires: perl
|
||
|
|
BuildRequires: perl-macros
|
||
|
|
BuildRequires: perl-Class-Field
|
||
|
|
BuildRequires: perl-File-Slurp
|
||
|
|
BuildRequires: perl-IO-stringy
|
||
|
|
BuildRequires: perl-Test-Differences
|
||
|
|
BuildRequires: perl-XML-Generator
|
||
|
|
Requires: perl-Class-Field
|
||
|
|
Requires: perl-File-Slurp
|
||
|
|
Requires: perl-XML-Generator
|
||
|
|
AutoReqProv: on
|
||
|
|
%{perl_requires}
|
||
|
|
|
||
|
|
%description
|
||
|
|
Harness output delegate for JUnit output
|
||
|
|
|
||
|
|
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
|
||
|
|
* Sun Jun 26 2011 gerrit.beine@gmx.de
|
||
|
|
- initial version
|
||
|
|
|