Files
perl-Array-Compare/perl-Array-Compare.spec

74 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Array-Compare (Version 1.17)
#
# 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
Name: perl-Array-Compare
Version: 2.01
Release: 2
Requires: perl = %{perl_version}
Requires: perl-Moose
BuildRequires: perl-Moose
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/Array/
Summary: Perl extension for comparing arrays
Source: Array-Compare-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
If you have two arrays and you want to know if they are the same or
different, then Array::Compare will be useful to you.
All comparisons are carried out via a comparator object.
Authors:
--------
Dave Cross <dave@mag-sol.com>
%prep
%setup -n Array-Compare-%{version} -q
%build
perl Makefile.PL
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README Changes
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Array/
%dir %{perl_vendorarch}/auto/Array/
%{perl_vendorlib}/Array/*
%{perl_vendorarch}/auto/Array/Compare
%changelog