File perl-PAR-Packer-test.spec of Package perl-PAR-Packer
#
# spec file for package perl-PAR-Packer (Version 1.008)
#
# 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/
#
# norootforbuild
%define cpan_name PAR-Packer
Name: perl-PAR-Packer-test
Summary: Test PAR Packager
Version: 1.010
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/PAR-Packer/
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl lzma
BuildRequires: perl-macros
BuildRequires: perl(Archive::Zip) >= 1
BuildRequires: perl(Digest) >= Module::Signature
BuildRequires: perl(File::Temp) >= 0.05
BuildRequires: perl(Getopt::ArgvFile) >= 1.07
BuildRequires: perl(Module::ScanDeps) >= 0.98
BuildRequires: perl(PAR) >= 1.000
BuildRequires: perl(PAR::Dist) >= 0.22
BuildRequires: perl(Test::Pod) >= 1.0
BuildRequires: perl >= 5.6.1
Requires: perl(Archive::Zip) >= 1
Requires: perl(Digest) >= Module::Signature
Requires: perl(File::Temp) >= 0.05
Requires: perl(Getopt::ArgvFile) >= 1.07
Requires: perl(Module::ScanDeps) >= 0.98
Requires: perl(PAR) >= 1.000
Requires: perl(PAR::Dist) >= 0.22
%description
This module tests the App::Packer::Backend interface for generating
stand-alone executables, perl scripts and PAR files.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make}
%check
export PERL_TEST_POD=1
%{__make} test
%install
%clean
%{__rm} -rf %{buildroot}
%changelog