Changes of Revision 3
[-] | Added | pgperl.spec |
x 1
2 +# 3 +# spec file for package pgperl (Version 2.1.1) 4 +# 5 +# Copyright (c) 2004 SUSE LINUX AG, Nuernberg, Germany. 6 +# This file and all modifications and additions to the pristine 7 +# package are under the same license as the package itself. 8 +# 9 +# Please submit bugfixes or comments via http://www.suse.de/feedback/ 10 +# 11 + 12 +# norootforbuild 13 + 14 +Name: pgperl 15 +BuildRequires: postgresql-devel 16 +Version: 2.1.1 17 +Release: 1 18 +Provides: postgresql-perl 19 +Obsoletes: postgresql-perl 20 +Requires: perl = %{perl_version} 21 +Autoreqprov: on 22 +Group: Productivity/Databases/Clients 23 +License: GPL, Artistic License 24 +URL: http://www.postgresql.org/ 25 +Summary: Perl Client Library for PostgreSQL 26 +Source0: Pg-%{version}.tar.bz2 27 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 28 + 29 +%description 30 +This package contains a module to access PostgreSQL databases from Perl 31 +programs. 32 + 33 +It shouldn't be used for new developments as the Perl DBI module 34 +provides a much better infrastructure to access various databases from 35 +Perl. See the perl-DBI and perl-DBD-Pg packages for details. 36 + 37 + 38 + 39 +Authors: 40 +-------- 41 + Andrew Yu <andrew@CS.Berkeley.edu> 42 + Jolly Chen <jolly@CS.Berkeley.edu> 43 + Bruce Momjian <maillist@candle.pha.pa.us> 44 + Thomas G. Lockhart <lockhart@alumni.caltech.edu> 45 + Tom Lane <tgl@sss.pgh.pa.us> 46 + The Hermit Hacker <scrappy@hub.org> 47 + etc. 48 + 49 +%prep 50 +%setup -q -n Pg-%version 51 + 52 +%build 53 +export POSTGRES_LIB=%_libdir/pgsql 54 +export POSTGRES_INCLUDE=%_includedir/pgsql 55 +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS" 56 +make 57 + 58 +%install 59 +make DESTDIR=%buildroot install_vendor 60 +%perl_process_packlist 61 + 62 +%clean 63 +rm -rf $RPM_BUILD_ROOT 64 + 65 +%files 66 +%defattr(-,root,root,-) 67 +%doc %_mandir/man?/* 68 +%doc examples Changes README 69 +%perl_vendorarch/Pg.pm 70 +%perl_vendorarch/auto/Pg 71 +/var/adm/perl-modules/%{name} 72 + 73 +%changelog -n pgperl 74 +* Wed Jan 25 2006 - mls@suse.de 75 +- converted neededforbuild to BuildRequires 76 +* Thu Aug 19 2004 - max@suse.de 77 +- New version: 2.1.1. 78 +* Sun Jan 11 2004 - adrian@suse.de 79 +- build as user 80 +* Wed Aug 20 2003 - mjancar@suse.cz 81 +- require the perl version we build with 82 +* Tue Jul 15 2003 - max@suse.de 83 +- Fix build for perl-5.8.1. 84 +* Thu Jun 26 2003 - ro@suse.de 85 +- removed traces of buildroot from installed files 86 +* Mon Jun 23 2003 - ro@suse.de 87 +- added directory to filelist 88 +* Thu Mar 06 2003 - max@suse.de 89 +- Added Provides and Obsoletes tags to document the rename. 90 +* Tue Feb 04 2003 - max@suse.de 91 +- Renamed from postgresql-perl to pgperl. 92 +- New: verson 2.0.2 93 +- The sources of pgperl have been moved out of the postgresql core 94 + distribution, and so this becomes a package of it's own. For 95 + older history see the changes file of the postgresql package. 96 |