[521] | 1 | Summary: the DBI PostgreSQL interface for Perl |
---|
| 2 | Name: perl-DBD-Pg |
---|
[12120] | 3 | Version: 3.8.0 |
---|
[8714] | 4 | Release: 1%{?_dist_release} |
---|
[521] | 5 | License: GPL or Artistic |
---|
| 6 | Group: Development/Libraries |
---|
| 7 | Source0: http://search.cpan.org/CPAN/authors/id/D/DB/DBDPG/DBD-Pg-%{version}.tar.gz |
---|
[3202] | 8 | Source1: filter-requires-perl-DBD-Pg.sh |
---|
[12120] | 9 | #Patch0:perl-DBD-1.31-fixver.patch |
---|
[521] | 10 | |
---|
| 11 | Url: http://search.cpan.org/author/DWHEELER/DBD-Pg/ |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[12120] | 13 | BuildRequires: perl >= 2:5.26.2, libpq-devel, perl-DBI |
---|
| 14 | BuildRequires: libxcrypt-devel |
---|
[8714] | 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[521] | 16 | |
---|
[3202] | 17 | %define __perl_requires %{SOURCE1} |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | |
---|
[8714] | 22 | |
---|
[521] | 23 | %description |
---|
| 24 | the DBI PostgreSQL interface for Perl |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n DBD-Pg-%{version} |
---|
| 28 | |
---|
[12120] | 29 | #%patch0 -p1 -b .fixver |
---|
[521] | 30 | |
---|
| 31 | %build |
---|
| 32 | export POSTGRES_INCLUDE=%{_includedir}/pgsql |
---|
| 33 | export POSTGRES_LIB=%{_libdir} |
---|
| 34 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
| 35 | make |
---|
| 36 | |
---|
| 37 | %check |
---|
| 38 | make test |
---|
| 39 | |
---|
| 40 | %clean |
---|
| 41 | rm -rf %{buildroot} |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf %{buildroot} |
---|
| 45 | #mkdir -p %{buildroot}%{_prefix} |
---|
| 46 | #make INSTALLSITEARCH=%{buildroot}%{perl_sitearch} \ |
---|
| 47 | # INSTALLSITEMAN3DIR=%{buildroot}%{_mandir}/man3 \ |
---|
| 48 | # install |
---|
| 49 | |
---|
| 50 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 51 | |
---|
| 52 | find %{buildroot}%{_prefix} -type f -print | |
---|
| 53 | sed "s@^%{buildroot}@@g" | |
---|
| 54 | grep -v ^%{_mandir} | |
---|
| 55 | grep -v perllocal.pod | |
---|
| 56 | grep -v "\.packlist" > %{name}.files |
---|
| 57 | if [ "$(cat %{name}.files)X" = "X" ] ; then |
---|
| 58 | echo "ERROR: EMPTY FILE LIST" |
---|
| 59 | exit -1 |
---|
| 60 | fi |
---|
| 61 | |
---|
[12120] | 62 | find %{buildroot}%{_prefix} -type f -name 'perllocal.pod' -delete |
---|
| 63 | find %{buildroot}%{_prefix} -type f -name '.packlist' -delete |
---|
| 64 | |
---|
[521] | 65 | %files -f %{name}.files |
---|
| 66 | %defattr(-,root,root) |
---|
| 67 | %doc README Changes |
---|
| 68 | %dir %{perl_vendorarch}/DBD |
---|
| 69 | %dir %{perl_vendorarch}/auto/DBD |
---|
| 70 | %dir %{perl_vendorarch}/auto/DBD/Pg |
---|
| 71 | %{_mandir}/*/* |
---|
| 72 | |
---|
| 73 | %changelog |
---|
[12120] | 74 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1 |
---|
| 75 | - new upstream release. |
---|
| 76 | - rebuilt with perl-5.26. |
---|
| 77 | - dropped Patch0. |
---|
| 78 | - added BR:libxcrypt-devel. |
---|
| 79 | |
---|
[8714] | 80 | * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.0-1 |
---|
| 81 | - new upstream release. |
---|
| 82 | |
---|
[3425] | 83 | * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.18.0-2 |
---|
| 84 | - rebuilt with postgresql-9.0.3 |
---|
| 85 | |
---|
[3202] | 86 | * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.18.0-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - drop CVE-2009-0663, 1341 patch (Patch1): upstream fixed |
---|
| 89 | - add requires filter (Source1) |
---|
| 90 | - add Vendor and Distribution tags |
---|
| 91 | |
---|
[521] | 92 | * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.49-5 |
---|
| 93 | - rebuilt with postgresql-8.4.0 |
---|
| 94 | |
---|
| 95 | * Sat May 16 2009 Satoshi IWMAOTO <satoshi.iwamoto@nifty.ne.jp> 1.49-4vl5 |
---|
| 96 | - add patch0 from rhel5 |
---|
| 97 | - add patch1 to fix CVE-2009-0663, 1341 |
---|
| 98 | - 2vl5,3vl5 are skipped to Plus < Seed version number... |
---|
| 99 | |
---|
| 100 | * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-1vl5 |
---|
| 101 | - applied new versioning policy |
---|
| 102 | - rebuilt with postgresql-8.3.3 |
---|
| 103 | |
---|
| 104 | * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-0vl5 |
---|
| 105 | - rebuilt with postgresql-8.2.6 |
---|
| 106 | |
---|
| 107 | * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 1.49-0vl4 |
---|
| 108 | - rebuilt with postgresql-8.2.5 |
---|
| 109 | |
---|
| 110 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.49-0vl1 |
---|
| 111 | - new upstream release |
---|
| 112 | - rebuilt with perl-5.8.6, perl-DBI-1.51 |
---|
| 113 | - changed Group to Development/Libraries |
---|
| 114 | - installed files to vendor_perl |
---|
| 115 | |
---|
| 116 | * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.22-0vl3 |
---|
| 117 | - rebuilt for VineSeed |
---|
| 118 | -- built with perl-5.8.6, perl-DBI-1.46 |
---|
| 119 | |
---|
| 120 | * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.22-0vl2 |
---|
| 121 | - rebuilt for VineLinux-3.1 |
---|
| 122 | -- built with perl-5.8.2, perl-DBI-1.46 |
---|
| 123 | |
---|
| 124 | * Sat May 24 2003 IWAI Masaharu <iwai@alib.jp> 1.22-0vl1 |
---|
| 125 | - first build for Vine Linux |
---|
| 126 | |
---|