rpms/perl-Apache-DBI/devel perl-Apache-DBI.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Remi Collet (remi)
fedora-extras-commits at redhat.com
Sat Nov 25 12:56:58 UTC 2006
Author: remi
Update of /cvs/extras/rpms/perl-Apache-DBI/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7462/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Apache-DBI.spec
Log Message:
auto-import perl-Apache-DBI-1.05-2.fc7 on branch devel from perl-Apache-DBI-1.05-2.fc7.src.rpm
--- NEW FILE perl-Apache-DBI.spec ---
%define perlname Apache-DBI
Name: perl-Apache-DBI
Version: 1.05
Release: 2%{?dist}
Summary: Persistent database connections with Apache/mod_perl
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Apache-DBI/
Source: http://search.cpan.org/CPAN/authors/id/P/PG/PGOLLUCCI/%{perlname}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(DBD::mysql)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This is version %{version} of Apache::AuthDBI and Apache::DBI.
These modules are supposed to be used with the Apache server together with
an embedded perl interpreter like mod_perl. They provide support for basic
authentication and authorization as well as support for persistent database
connections via Perl's Database Independent Interface (DBI).
o DBI.pm provides persistent database connections:
- connections can be established during server-startup
- configurable rollback to ensure data integrity
- configurable verification of the connections to avoid time-outs.
o AuthDBI.pm provides authentication and authorization:
- optional shared cache for passwords to minimize database load
- configurable cleanup-handler deletes outdated entries from the cache
Apache::DBI has been in widespread deployment on many platforms for
years. Apache::DBI is one of the most widely used mod_perl related
modules. It can be considered stable.
%prep
%setup -q -n %{perlname}-%{version}
%{__perl} -pi -e 's|/usr/local/bin/perl|%{__perl}|' eg/startup.pl
chmod 644 eg/startup.pl
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -print
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' -print
chmod -R u+rwX,go+rX,go-w %{buildroot}/*
%clean
rm -rf %{buildroot}
%check
make test
%files
%defattr(-, root, root, -)
%doc Changes README TODO traces.txt eg/
%{_mandir}/man3/Apache*
%{perl_vendorlib}/Apache
%changelog
* Sat Nov 25 2006 Remi Collet <Fedora at famillecollet.com> 1.05-2
- change from review (-perldoc +traces +eg)
* Sat Nov 25 2006 Remi Collet <Fedora at famillecollet.com> 1.05-1
- initial spec
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Apache-DBI/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 25 Nov 2006 12:55:53 -0000 1.1
+++ .cvsignore 25 Nov 2006 12:56:28 -0000 1.2
@@ -0,0 +1 @@
+Apache-DBI-1.05.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Apache-DBI/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 25 Nov 2006 12:55:53 -0000 1.1
+++ sources 25 Nov 2006 12:56:28 -0000 1.2
@@ -0,0 +1 @@
+ba0b6e345870c052e8ce6d6d73b4bfe4 Apache-DBI-1.05.tar.gz
More information about the scm-commits
mailing list