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