# # spec file for package perl-Tie-IxHash (Version 1.22) # # 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.22 Release: 1 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} -q %build perl Makefile.PL make %{?_smp_mflags} %check make test %install 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