2007-01-15 23:32:01 +00:00
|
|
|
#
|
2011-11-17 15:54:53 +00:00
|
|
|
# spec file for package perl-Tie-IxHash
|
2007-01-15 23:32:01 +00:00
|
|
|
#
|
2013-02-27 13:36:19 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:01 +00:00
|
|
|
#
|
2008-10-23 02:43:43 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:32:01 +00:00
|
|
|
#
|
|
|
|
|
2008-10-23 02:43:43 +00:00
|
|
|
|
|
|
|
Name: perl-Tie-IxHash
|
2013-06-04 15:34:44 +00:00
|
|
|
Version: 1.23
|
2013-02-27 13:36:19 +00:00
|
|
|
Release: 0
|
2013-06-04 15:34:44 +00:00
|
|
|
%define cpan_name Tie-IxHash
|
|
|
|
Summary: ordered associative arrays for Perl
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Url: http://search.cpan.org/dist/Tie-IxHash/
|
|
|
|
Source: http://www.cpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
2008-10-23 02:43:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-10-20 13:21:07 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:54:33 +00:00
|
|
|
BuildRequires: perl-macros
|
2013-06-04 15:34:44 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
#BuildRequires: perl(Tie::IxHash)
|
|
|
|
%{perl_requires}
|
2007-01-15 23:32:01 +00:00
|
|
|
|
|
|
|
%description
|
2013-06-04 15:34:44 +00:00
|
|
|
This Perl module implements Perl hashes that preserve the order in which
|
|
|
|
the hash elements were added. The order is not affected when values
|
|
|
|
corresponding to existing keys in the IxHash are changed. The elements can
|
|
|
|
also be set to any arbitrary supplied order. The familiar perl array
|
|
|
|
operations can also be performed on the IxHash.
|
2007-01-15 23:32:01 +00:00
|
|
|
|
|
|
|
%prep
|
2013-06-04 15:34:44 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-01-15 23:32:01 +00:00
|
|
|
|
|
|
|
%build
|
2013-06-04 15:34:44 +00:00
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
./Build build flags=%{?_smp_mflags}
|
2010-03-05 08:49:21 +00:00
|
|
|
|
|
|
|
%check
|
2013-06-04 15:34:44 +00:00
|
|
|
./Build test
|
2007-01-15 23:32:01 +00:00
|
|
|
|
|
|
|
%install
|
2013-06-04 15:34:44 +00:00
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
%perl_gen_filelist
|
2007-01-15 23:32:01 +00:00
|
|
|
|
2013-06-04 15:34:44 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes README
|
2007-01-15 23:32:01 +00:00
|
|
|
|
2008-10-23 02:43:43 +00:00
|
|
|
%changelog
|