perl-DBD-Pg-vl.spec 3.4 KB

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