Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-release-src > by-pkgid > 80441ae1f690d341896300da5ff7e1db > files > 3

perl-DB_File-1.820.0-3mdv2010.1.src.rpm

%define upstream_name	 DB_File
%define upstream_version 1.820

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 3

Summary:	Perl5 access to Berkeley DB version 1.x
License:	GPL+ or Artistic
Group:		Development/Perl
Url:		http://search.cpan.org/dist/%{upstream_name}/
Source0:	http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/%{upstream_name}-%{upstream_version}.tar.bz2
Patch0:		%{upstream_name}-1.805-makefile.patch

BuildRequires:	db-devel
BuildRequires:	perl-devel

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}

%description
DB_File is a module which allows Perl programs to make use of the
facilities provided by Berkeley DB version 1. (DB_File can be built with
version 2 or 3 of Berkeley DB, but it will only support the 1.x
features).

If you want to make use of the new features available in Berkeley DB
2.x or 3.x, use the Perl module BerkeleyDB instead.

Berkeley DB is a C library which provides a consistent interface to a
number of database formats. DB_File provides an interface to all three
of the database types (hash, btree and recno) currently supported by
Berkeley DB.

For further details see the documentation included at the end of the
file DB_File.pm.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%patch0 -p1
chmod 644 README DB_File.pm

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%make test

%clean 
rm -rf %{buildroot}

%install
rm -rf %{buildroot}
%makeinstall_std

%files
%defattr(-,root,root)
%doc README Changes
%{perl_vendorarch}/*.pm
%{perl_vendorarch}/auto/DB_File
%_mandir/man3*/DB_File.*


%changelog
* Sun Feb 14 2010 Jérôme Quelin <jquelin@mandriva.org> 1.820.0-3mdv2010.1
+ Revision: 505725
- rebuild using %%perl_convert_version

* Wed Dec 30 2009 Jérôme Quelin <jquelin@mandriva.org> 1.820-2mdv2010.1
+ Revision: 483976
- rebuild

* Mon May 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.820-1mdv2010.0
+ Revision: 371602
- update to new version 1.820

* Thu Feb 19 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.819-1mdv2009.1
+ Revision: 342830
- update to new version 1.819

* Sun Feb 01 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.818-1mdv2009.1
+ Revision: 336236
- update to new version 1.818

* Mon Dec 15 2008 Oden Eriksson <oeriksson@mandriva.com> 1.817-3mdv2009.1
+ Revision: 314520
- rebuilt against db4.7

* Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.817-2mdv2009.0
+ Revision: 265355
- rebuild early 2009.0 package (before pixel changes)

* Tue Apr 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.817-1mdv2009.0
+ Revision: 193798
- update to new version 1.817

* Mon Jan 14 2008 Pixel <pixel@mandriva.com> 1.816-3mdv2008.1
+ Revision: 151327
- rebuild for perl-5.10.0

* Sun Dec 23 2007 Oden Eriksson <oeriksson@mandriva.com> 1.816-2mdv2008.1
+ Revision: 137309
- rebuilt against bdb 4.6.x

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Fri Nov 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.816-1mdv2008.1
+ Revision: 105481
- new version
- update to new version 1.816


* Sat Mar 03 2007 Olivier Thauvin <nanardon@mandriva.org> 1.815-1mdv2007.0
+ Revision: 131637
- 1.815

* Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 1.814-2mdv2007.1
+ Revision: 108543
- rebuild

  + Guillaume Rousse <guillomovitch@mandriva.org>
    - Import perl-DB_File

* Thu Nov 17 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.814-1mdk
- 1.814

* Wed Nov 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.813-1mdk
- 1.813

* Thu Oct 13 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.812-1mdk
- new version
- spec cleanup
- %%mkrel
- rpmbuildupdate aware
- fix doc perms

* Sat Apr 23 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.811-1mdk
- 1.811

* Mon Nov 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.810-2mdk
- rebuild for new perl

* Tue Aug 10 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.810-1mdk
- 1.810.

* Tue Jun 29 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.809-1mdk
- 1.809.

* Thu Apr 08 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.808-1mdk
- 1.808.