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.15.0
  4. Release: 1%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: GPL or Artistic
  9. URL: https://metacpan.org/pod/DBD::Pg
  10. Source0: https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-3.15.0.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: perl >= 2:5.34.0, libpq-devel, perl-DBI
  13. BuildRequires: libxcrypt-devel
  14. Requires: perl >= 2:5.34.0
  15. %{?perl_default_filter}
  16. %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DBD::Pg\\)$
  17. %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DBI\\)$
  18. %description
  19. the DBI PostgreSQL interface for Perl
  20. %debug_package
  21. %prep
  22. %setup -q -n DBD-Pg-%{version}
  23. %build
  24. unset AUTOMATED_TESTING DBDPG_GCCDEBUG PERL_MM_USE_DEFAULT \
  25. POSTGRES_HOME POSTGRES_INCLUDE POSTGRES_LIB
  26. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 NO_PERLLOCAL=1
  27. %{make_build}
  28. %install
  29. rm -rf %{buildroot}
  30. %{make_install}
  31. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -delete
  32. %{_fixperms} $RPM_BUILD_ROOT/*
  33. %check
  34. unset DBI_DSN DBI_USER DBI_PASS
  35. unset DBDPG_DEBUG DBDPG_INITDB DBDPG_NOCLEANUP DBDPG_TEST_ALWAYS_ENV \
  36. DBDPG_TESTINITDB PGDATABASE PGINITDB POSTGRES_HOME POSTGRES_LIB \
  37. TEST_OUTPUT TEST_SIGNATURE
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root)
  43. %license LICENSES/*
  44. %doc Changes README README.dev TODO
  45. %{perl_vendorarch}/DBD/
  46. %{perl_vendorarch}/auto/DBD/
  47. %{perl_vendorarch}/Bundle/DBD/Pg.pm
  48. %{_mandir}/man3/*.3*
  49. %changelog
  50. * Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.15.0-1
  51. - new upstream release.
  52. - built with perl-5.34.0.
  53. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
  54. - new upstream release.
  55. - rebuilt with perl-5.26.
  56. - dropped Patch0.
  57. - added BR:libxcrypt-devel.
  58. * Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.0-1
  59. - new upstream release.
  60. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 2.18.0-2
  61. - rebuilt with postgresql-9.0.3
  62. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.18.0-1
  63. - new upstream release
  64. - drop CVE-2009-0663, 1341 patch (Patch1): upstream fixed
  65. - add requires filter (Source1)
  66. - add Vendor and Distribution tags
  67. * Wed Jul 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.49-5
  68. - rebuilt with postgresql-8.4.0
  69. * Sat May 16 2009 Satoshi IWMAOTO <satoshi.iwamoto@nifty.ne.jp> 1.49-4vl5
  70. - add patch0 from rhel5
  71. - add patch1 to fix CVE-2009-0663, 1341
  72. - 2vl5,3vl5 are skipped to Plus < Seed version number...
  73. * Sat Jul 05 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-1vl5
  74. - applied new versioning policy
  75. - rebuilt with postgresql-8.3.3
  76. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.49-0vl5
  77. - rebuilt with postgresql-8.2.6
  78. * Wed Sep 19 2007 Shu KONNO <owa@bg.wakwak.com> 1.49-0vl4
  79. - rebuilt with postgresql-8.2.5
  80. * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.49-0vl1
  81. - new upstream release
  82. - rebuilt with perl-5.8.6, perl-DBI-1.51
  83. - changed Group to Development/Libraries
  84. - installed files to vendor_perl
  85. * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.22-0vl3
  86. - rebuilt for VineSeed
  87. -- built with perl-5.8.6, perl-DBI-1.46
  88. * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 1.22-0vl2
  89. - rebuilt for VineLinux-3.1
  90. -- built with perl-5.8.2, perl-DBI-1.46
  91. * Sat May 24 2003 IWAI Masaharu <iwai@alib.jp> 1.22-0vl1
  92. - first build for Vine Linux