perl-DBD-Pg-vl.spec 3.1 KB

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