[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-DBD-SQLite/devel perl-DBD-SQLite.spec,NONE,1.1



Author: mpeters

Update of /cvs/extras/rpms/perl-DBD-SQLite/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6593

Added Files:
	perl-DBD-SQLite.spec 
Log Message:
Tried to import package via the shell script, import failed.
This is the spec file.



--- NEW FILE perl-DBD-SQLite.spec ---
Name:           perl-DBD-SQLite 
Version:        1.08
Release:        1.1%{?dist}
Summary:        Self Contained RDBMS in a DBI Driver

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/DBD-SQLite/
Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/DBD/DBD-SQLite-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	perl-DBI >= 1.03
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
SQLite is a public domain RDBMS database engine that you can find at
http://www.hwaci.com/sw/sqlite/.

Rather than ask you to install SQLite first, because SQLite is public domain,
DBD::SQLite includes the entire thing in the distribution. So in order to get
a fast transaction capable RDBMS working for your perl project you simply have
to install this module, and nothing else.

%prep
%setup -q -n DBD-SQLite-%{version}


%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check || :
make test


%clean
rm -rf $RPM_BUILD_ROOT


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


%changelog
* Sat Jun 11 2005 Michael A. Peters <mpeters mac com> 1.08-1.1
- minor changes for initial cvs checkin (removed tabs, better url in
- url tag and description tag)

* Tue Apr 12 2005 Michael A. Peters <mpeters mac com> 1.08-1
- created initial spec file from Fedora spectemplate-perl.spec


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]