%define upstream_name CPAN-SQLite %define upstream_version 0.202 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Maintain and search a minimal CPAN database License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/CPAN/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Archive::Tar) >= 1.80.0 BuildRequires: perl(CPAN::DistnameInfo) >= 0.90.0 BuildRequires: perl(Compress::Zlib) BuildRequires: perl(DBD::SQLite) >= 1.270.0 BuildRequires: perl(File::HomeDir) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Zlib) BuildRequires: perl(LWP::Simple) BuildRequires: perl(Module::Build) >= 0.360.0 BuildArch: noarch %description This package is used for setting up, maintaining, and searching a CPAN database consisting of the information stored in the three main CPAN indices: _$CPAN/modules/03modlist.data.gz_, _$CPAN/modules/02packages.details.txt.gz_, and _$CPAN/authors/01mailrc.txt.gz_. It should be considered at an alpha stage of development. One begins by creating the object as my $obj = CPAN::SQLite->new(%args); %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check make test %install rm -rf %buildroot %makeinstall_std %files %doc Changes INSTALL META.yml README %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.202.0-2.mga3 + Revision: 363653 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Jun 27 2011 jquelin <jquelin> 0.202.0-1.mga2 + Revision: 114633 - update to 0.202 * Tue Jun 21 2011 jquelin <jquelin> 0.201.0-1.mga2 + Revision: 111586 - update to 0.201 * Wed Jun 15 2011 jquelin <jquelin> 0.200.0-1.mga2 + Revision: 107771 - update to 0.200 * Sat Jan 22 2011 jquelin <jquelin> 0.199.0-1.mga1 + Revision: 31736 - mageia rebuild - imported package perl-CPAN-SQLite