Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
perl-BerkeleyDB
> perl-BerkeleyDB.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-BerkeleyDB.spec of Package perl-BerkeleyDB (Revision 2)
Currently displaying revision
2
,
show latest
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name BerkeleyDB Summary: Perl extension for Berkeley DB version 2, 3 or 4 Name: perl-BerkeleyDB Version: 0.33 Release: 1 License: Artistic Group: Applications/CPAN URL: http://search.cpan.org/dist/BerkeleyDB/ Source: http://www.cpan.org/modules/by-module/BerkeleyDB/BerkeleyDB-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl >= 0:5.00503 Requires: perl >= 0:5.00503 %if 0%{?centos_version} BuildRequires: db4-devel %endif %description Perl extension for Berkeley DB version 2, 3 or 4. %prep %setup -n %{real_name}-%{version} %build FLAGS="%{optflags}" %{__perl} Makefile.PL PREFIX="%{buildroot}%{_prefix}" INSTALLDIRS="vendor" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %makeinstall ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes MANIFEST README Todo %doc %{_mandir}/man?/* %{perl_vendorarch}/BerkeleyDB/ %{perl_vendorarch}/BerkeleyDB.pm %{perl_vendorarch}/BerkeleyDB.pod %{perl_vendorarch}/auto/BerkeleyDB/ %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release