# perl library paths %perl_vendor_privlib %(eval "`%__perl -V:installvendorlib`"; echo "$installvendorlib") %perl_vendor_archlib %(eval "`%__perl -V:installvendorarch`"; echo "$installvendorarch") %perl_vendor_autolib %perl_vendor_archlib/auto # mandirs %perl_vendor_man1dir %_man1dir %perl_vendor_man3dir %_man3dir # perl version/build-specific binary token (PreReq: %perl_binary_compat) %perl_binary_compat %(eval "`%__perl -V:libperl`"; echo "$libperl") # automate various rpmbuild stages %perl_vendor_build \ %__perl Makefile.PL \\\ PREFIX=%prefix \\\ INSTALLDIRS=vendor \\\ </dev/null \ %make_build \ %make_build test %perl_vendor_install \ %make_install \\\ PREFIX=$RPM_BUILD_ROOT%prefix \\\ INSTALLMAN1DIR=$RPM_BUILD_ROOT%perl_vendor_man1dir \\\ INSTALLMAN3DIR=$RPM_BUILD_ROOT%perl_vendor_man3dir \\\ install </dev/null