From 131560062e2f5f13a45cdb03d3fa42ef68347fd7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:47:38 +0100 Subject: [PATCH] automatic update by autodist [release 3.0.0-1mamba;Sun Feb 09 2014] --- README.md | 2 + perl-DBD-Pg.spec | 112 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 perl-DBD-Pg.spec diff --git a/README.md b/README.md index f03ee1b..60fa88f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-DBD-Pg +DBD:Pg - PostgreSQL database driver for the DBI module. + diff --git a/perl-DBD-Pg.spec b/perl-DBD-Pg.spec new file mode 100644 index 0000000..be4ae1f --- /dev/null +++ b/perl-DBD-Pg.spec @@ -0,0 +1,112 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-DBD-Pg +Epoch: 1 +Version: 3.0.0 +Release: 1mamba +Summary: DBD:Pg - PostgreSQL database driver for the DBI module +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/DBD-Pg-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpostgresql-devel +BuildRequires: perl-DBI +BuildRequires: perl-devel +BuildRequires: perl-YAML +BuildRequires: perl-Data-Peek +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +DBD:Pg - PostgreSQL database driver for the DBI module. + +%prep + +%setup -q -n DBD-Pg-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Sun Feb 09 2014 Automatic Build System 3.0.0-1mamba +- automatic update by autodist + +* Tue Jan 22 2013 Automatic Build System 2.99.9_2-1mamba +- automatic version update by autodist + +* Tue Nov 20 2012 Silvan Calarco 2.19.3-1mamba +- update to 2.19.3 +- downgrade from development version (epoch incremented) + +* Fri Nov 16 2012 Silvan Calarco 2.99.9_2-1mamba +- perl 5.16 mass rebuild + +* Thu Jun 16 2011 Automatic Build System 2.18.1-1mamba +- automatic update by autodist + +* Sun May 02 2010 Automatic Build System 2.17.1-1mamba +- automatic update by autodist + +* Tue Jan 12 2010 Automatic Build System 2.16.0-1mamba +- automatic update by autodist + +* Tue Aug 11 2009 Automatic Build System 2.15.1-1mamba +- automatic update by autodist + +* Tue Aug 04 2009 Automatic Build System 2.15.0-1mamba +- automatic update by autodist + +* Wed Jul 29 2009 Automatic Build System 2.14.1-1mamba +- automatic update by autodist + +* Thu Jul 23 2009 Automatic Build System 2.13.1_7-1mamba +- automatic update by autodist + +* Fri Jul 17 2009 Automatic Build System 2.13.1_3-1mamba +- automatic update by autodist + +* Sat May 02 2009 Automatic Build System 2.13.1-1mamba +- automatic update by autodist + +* Sat Apr 18 2009 Silvan Calarco 2.13.0-1mamba +- automatic update by autodist + +* Tue Mar 31 2009 Silvan Calarco 2.12.0-1mamba +- automatic update by autodist + +* Thu Feb 05 2009 Silvan Calarco 2.11.8-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 2.8.4-2mamba +- automatic rebuild by autodist + +* Sat Jul 12 2008 Silvan Calarco 2.8.4-1mamba +- package created by autospec