8
0
Files
perl-Test-Script/perl-Test-Script.spec
OBS User autobuild 4fbd33deb5 Accepting request 32729 from devel:languages:perl
Copy from devel:languages:perl/perl-Test-Script based on submit request 32729 from user coolo

OBS-URL: https://build.opensuse.org/request/show/32729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Script?expand=0&rev=2
2010-02-18 15:52:48 +00:00

64 lines
1.9 KiB
RPMSpec

#
# 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/
#
Name: perl-Test-Script
Version: 1.07
Release: 2
Summary: Basic cross-platform tests for scripts
License: GPL+ or Artistic
Group: Development/Libraries/Perl
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
BuildArch: noarch
BuildRequires: perl-IPC-Run3 perl-Probe-Perl
Requires: perl = %{perl_version}
Requires: perl-Probe-Perl perl-IPC-Run3
%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
%setup -q -n Test-Script-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
%perl_make_install
%perl_process_packlist
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/Test/Script*
%{_mandir}/man3/Test::Script*.3pm*
/var/adm/perl-modules/%{name}
%changelog