diff --git a/.cvsignore b/.cvsignore index e69de29..6b54338 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Tie-IxHash-1.21.tar.gz diff --git a/perl-Tie-IxHash.spec b/perl-Tie-IxHash.spec new file mode 100644 index 0000000..e63eb70 --- /dev/null +++ b/perl-Tie-IxHash.spec @@ -0,0 +1,65 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} + +Name: perl-Tie-IxHash +Version: 1.21 +Release: 0.fdr.2.rh90 +Epoch: 0 +Summary: Ordered associative arrays for Perl + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Tie-IxHash/ +Source0: http://www.cpan.org/authors/id/G/GS/GSAR/Tie-IxHash-1.21.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +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. + + +%prep +%setup -q -n Tie-IxHash-%{version} +chmod 644 Changes README + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Tie +%{_mandir}/man3/*.3* + + +%changelog +* Sun May 9 2004 Jose Pedro Oliveira - 0:1.21-0.fdr.2 +- Avoid creation of the perllocal.pod file (make pure_install). + +* Thu May 6 2004 Jose Pedro Oliveira - 0:1.21-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..cee8393 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +567ddc13081596b52cfe3d82218cb264 Tie-IxHash-1.21.tar.gz