perl-Tie-IxHash/perl-Tie-IxHash.spec
OBS User autobuild a9bafe4d70 Accepting request 29259 from devel:languages:perl
Copy from devel:languages:perl/perl-Tie-IxHash based on submit request 29259 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Tie-IxHash?expand=0&rev=5
2010-01-12 10:47:46 +00:00

67 lines
1.7 KiB
RPMSpec

#
# spec file for package perl-Tie-IxHash (Version 1.21)
#
# 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-Tie-IxHash
License: Artistic ; GPLv2+
Group: Development/Libraries/Perl
Provides: perl_tie
Obsoletes: perl_tie
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: TieIxHash Perl Module
Version: 1.21
Release: 722
Source: Tie-IxHash-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
If you have been led to believe that associative arrays in Perl do not
preserve order, and if you have ever craved that feature, this module
is for you.
%prep
%setup -n Tie-IxHash-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
make test
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/var/adm/perl-modules
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%doc README MANIFEST Changes
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/Tie
%{perl_vendorlib}/Tie
/var/adm/perl-modules/perl-Tie-IxHash
%clean
rm -rf $RPM_BUILD_ROOT
%changelog