2007-09-02 02:40:52 +00:00
|
|
|
#
|
2011-03-18 09:05:36 +00:00
|
|
|
# spec file for package perl-List-MoreUtils
|
2007-09-02 02:40:52 +00:00
|
|
|
#
|
2011-03-18 09:05:36 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-09-02 02:40:52 +00:00
|
|
|
#
|
2009-06-17 22:15:07 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-09-02 02:40:52 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-07-27 21:29:53 +00:00
|
|
|
# norootforbuild
|
2007-09-02 02:40:52 +00:00
|
|
|
|
2009-06-17 22:15:07 +00:00
|
|
|
|
2007-09-02 02:40:52 +00:00
|
|
|
Name: perl-List-MoreUtils
|
2009-07-27 21:29:53 +00:00
|
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
|
|
|
Summary: Provide the stuff missing in List::Util
|
2007-09-02 02:40:52 +00:00
|
|
|
Version: 0.22
|
2011-03-18 09:05:36 +00:00
|
|
|
Release: 85
|
2007-09-02 02:40:52 +00:00
|
|
|
#
|
2011-03-17 08:43:31 +00:00
|
|
|
License: GPL+ or Artistic
|
2007-09-02 02:40:52 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
#
|
2009-07-27 21:29:53 +00:00
|
|
|
Url: http://search.cpan.org/perldoc?List::MoreUtils
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-0.22.tar.gz
|
|
|
|
#
|
2007-09-02 02:40:52 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:40:48 +00:00
|
|
|
%{perl_requires}
|
2007-09-02 02:40:52 +00:00
|
|
|
BuildRequires: perl
|
2009-07-27 21:29:53 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-09-02 02:40:52 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
2009-07-27 21:29:53 +00:00
|
|
|
%{cpan_name} module for perl
|
|
|
|
List::MoreUtils provides some trivial but commonly needed functionality
|
|
|
|
on lists which is not going to go into List::Util.
|
|
|
|
Authors: Tassilo von Parseval, <tassilo.von.parseval@rwth-aachen.de>
|
2007-09-02 02:40:52 +00:00
|
|
|
|
|
|
|
%prep
|
2009-07-27 21:29:53 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-09-02 02:40:52 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
2010-01-12 12:47:07 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-09-02 02:40:52 +00:00
|
|
|
|
|
|
|
%check
|
2009-07-27 21:29:53 +00:00
|
|
|
%{__make} test
|
2007-09-02 02:40:52 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2009-07-27 21:29:53 +00:00
|
|
|
%perl_gen_filelist
|
2007-09-02 02:40:52 +00:00
|
|
|
|
2009-07-27 21:29:53 +00:00
|
|
|
%clean
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-09-02 02:40:52 +00:00
|
|
|
|
2009-07-27 21:29:53 +00:00
|
|
|
%files -f %{name}.files
|
2007-09-02 02:40:52 +00:00
|
|
|
%defattr(-, root, root)
|
2009-07-27 21:29:53 +00:00
|
|
|
%doc Changes README
|
2007-09-02 02:40:52 +00:00
|
|
|
|
|
|
|
%changelog
|