2010-02-04 10:59:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Test-Script (Version 1.07)
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2010-03-08 17:20:15 +00:00
|
|
|
|
2010-02-04 10:59:22 +00:00
|
|
|
|
|
|
|
Name: perl-Test-Script
|
2010-03-08 17:20:16 +00:00
|
|
|
Version: 1.07
|
2010-03-04 22:52:19 +00:00
|
|
|
Release: 2
|
2010-03-08 17:20:15 +00:00
|
|
|
Summary: Basic cross-platform tests for scripts
|
2010-02-04 10:59:22 +00:00
|
|
|
License: GPL+ or Artistic
|
2010-02-18 15:52:48 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2010-02-04 10:59:22 +00:00
|
|
|
Url: http://search.cpan.org/dist/Test-Script/
|
|
|
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-03-08 17:20:15 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl-IPC-Run3 perl-Probe-Perl
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Requires: perl-Probe-Perl perl-IPC-Run3
|
2010-02-04 10:59:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The intent of this module is to provide a series of basic tests for 80% of
|
|
|
|
the testing you will need to do for scripts in the script (or bin as is
|
|
|
|
also commonly used) paths of your Perl distribution.
|
|
|
|
|
|
|
|
%prep
|
2010-03-08 17:20:15 +00:00
|
|
|
%setup -q -n Test-Script-%{version}
|
2010-02-04 10:59:22 +00:00
|
|
|
|
|
|
|
%build
|
2010-03-08 17:20:15 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2010-02-04 10:59:22 +00:00
|
|
|
|
|
|
|
%install
|
2010-02-18 15:52:48 +00:00
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2010-03-08 17:20:15 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
2010-02-04 10:59:22 +00:00
|
|
|
|
|
|
|
%clean
|
2010-03-08 17:20:15 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2010-02-04 10:59:22 +00:00
|
|
|
|
2010-03-08 17:20:15 +00:00
|
|
|
%files
|
2010-02-04 10:59:22 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes LICENSE README
|
2010-03-08 17:20:15 +00:00
|
|
|
%{perl_vendorlib}/Test/Script*
|
|
|
|
%{_mandir}/man3/Test::Script*.3pm*
|
|
|
|
/var/adm/perl-modules/%{name}
|
2010-02-04 10:59:22 +00:00
|
|
|
|
|
|
|
%changelog
|