perl-DBD-SQLite-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. %define module DBD-SQLite
  2. Summary: Self Contained RDBMS in a DBI Driver
  3. Name: perl-%{module}
  4. Version: 1.70
  5. Release: 1%{_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: Artistic or GPL+
  10. URL: https://metacpan.org/pod/DBD::SQLite
  11. Source: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{module}-%{version}.tar.gz
  12. Buildroot: %{_tmppath}/%{name}-%{version}
  13. BuildRequires: perl(DBI)
  14. BuildRequires: sqlite3-devel
  15. BuildRequires: libxcrypt-devel
  16. Requires: perl(DBI)
  17. Requires: perl
  18. %description
  19. SQLite is a small fast embedded SQL database engine.
  20. DBD::SQLite embeds that database engine into a DBD driver, so
  21. if you want a relational database for your project, but don't
  22. want to install a large RDBMS system like MySQL or PostgreSQL,
  23. then DBD::SQLite may be just what you need.
  24. It supports quite a lot of features, such as transactions (atomic
  25. commit and rollback), indexes, DBA-free operation, a large subset
  26. of SQL92 supported, and more.
  27. #'
  28. %debug_package
  29. %prep
  30. %setup -q -n %{module}-%{version}
  31. %build
  32. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor"
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf %{buildroot}
  36. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  37. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  38. find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
  39. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  40. chmod -R u+w %{buildroot}/*
  41. rm -rf %{buildroot}%{perl_vendorarch}/auto/share
  42. %check
  43. make test
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root)
  48. %doc README* Changes
  49. %{perl_vendorarch}/DBD
  50. %{perl_vendorarch}/auto/DBD
  51. %{_mandir}/*/*
  52. %changelog
  53. * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.70-1
  54. - new upstream release.
  55. - built with perl-5.34.0.
  56. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.62-1
  57. - new upstream release.
  58. - rebuilt with perl-5.26.
  59. - added BR:libxcrypt-devel.
  60. * Sat Oct 11 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.42-1
  61. - new upstream release
  62. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.31-2
  63. - build with Perl 5.16
  64. - add Requires: MODULE_COMPAT_*
  65. * Thu Mar 31 2011 IWAI, Masaharu <iwai@alib.jp> 1.31-1
  66. - new upstream release
  67. - update {Build,}Requires: perl-DBI version: sync upstream
  68. * Fri May 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.14-1vl5
  69. - rebuild with perl 5.10
  70. - new versioning policy
  71. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.14-0vl1
  72. - rebuild for VineSeed
  73. - disable test
  74. * Sat Mar 08 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.14-0vl0.43
  75. - add Requires: perl(DBI) >= 1.03
  76. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.14-0vl0.42
  77. - new upstream release
  78. - built for Vine 4.2 testing
  79. * Sun Dec 17 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.13-2mdv2007.0
  80. + Revision: 98263
  81. - fix build dependencies
  82. * Sat Dec 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.13-1mdv2007.1
  83. + Revision: 98198
  84. - new version
  85. * Mon Aug 07 2006 Olivier Thauvin <nanardon@mandriva.org> 1.12-2mdv2007.0
  86. + Revision: 53730
  87. - rebuild
  88. - Import perl-DBD-SQLite
  89. * Thu Apr 13 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.12-1mdk
  90. - New release 1.12
  91. - better source URL
  92. - better buildrequires syntax
  93. * Tue Dec 20 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.11-1mdk
  94. - new version
  95. - fix directory ownership
  96. * Mon Sep 26 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-2mdk
  97. - rebuild to link against external library
  98. - spec cleanup
  99. - %%mkrel
  100. * Tue Jun 21 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.09-1mdk
  101. - 1.09
  102. - spec cleanups
  103. * Mon Mar 14 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.08-1mdk
  104. - new veresion 1.08
  105. * Mon Nov 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.07-2mdk
  106. - rebuild for new perl
  107. - remove README.urpmi
  108. * Thu Oct 14 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.07-1mdk
  109. - 1.07.
  110. * Tue Aug 10 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.03-1mdk
  111. - 1.03.
  112. - Remove patch 1.
  113. * Wed Jul 28 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.00-1mdk
  114. - 1.00, incompatible format with previous versions.
  115. - Remove MANIFEST, add README.update.urpmi.
  116. - Patch to prevent interactivity in Makefile.PL
  117. * Mon May 17 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.31-2mdk
  118. - Fix compile FLAGS
  119. * Fri Nov 01 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.31-1mdk
  120. - first version of rpm.