1 %define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
2 Summary: Tie-IxHash perl module
3 Summary(pl): Modu³ perla Tie-IxHash
8 Group: Development/Languages/Perl
9 Group(pl): Programowanie/Jêzyki/Perl
10 Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Tie/Tie-IxHash-%{version}.tar.gz
11 BuildRequires: perl >= 5.005_03-10
13 Requires: %{perl_sitearch}
14 BuildRoot: /tmp/%{name}-%{version}-root
17 Tie-IxHash perl module.
20 Modu³ perla Tie-IxHash.
23 %setup -q -n Tie-IxHash-%{version}
30 rm -rf $RPM_BUILD_ROOT
31 make install DESTDIR=$RPM_BUILD_ROOT
34 cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Tie/IxHash
35 sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
36 mv .packlist.new .packlist
39 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc {Changes,README}.gz
49 %{perl_sitelib}/Tie/IxHash.pm
50 %{perl_sitearch}/auto/Tie/IxHash