]> git.pld-linux.org Git - packages/perl-DBD-SQLite2.git/blame - perl-DBD-SQLite2.spec
- updated to 0.37
[packages/perl-DBD-SQLite2.git] / perl-DBD-SQLite2.spec
CommitLineData
2bf3d5ce 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%include /usr/lib/rpm/macros.perl
6%define pdir DBD
7%define pnam SQLite2
e6437ca0 8Summary: DBD::SQLite2 - Self Contained RDBMS in a DBI Driver (sqlite 2.x)
7b269968 9Summary(pl.UTF-8): DBD::SQlite2 - Kompletny RDBMS zawarty w sterowniku DBI (sqlite 2.x)
2bf3d5ce 10Name: perl-DBD-SQLite2
2e2ea32f
MK
11Version: 0.37
12Release: 1
2bf3d5ce 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
2e2ea32f 17# Source0-md5: f05f60d8a54f0024abb3b3e39861ee3d
e6437ca0 18URL: http://search.cpan.org/dist/DBD-SQLite2/
2bf3d5ce 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-DBI
23%endif
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27DBD::SQLite2 is a DBI driver for SQLite database. SQLite is a public
28domain RDBMS database engine that you can find at
aca7e343 29<http://www.sqlite.org/>.
b639477f 30
2bf3d5ce 31Rather than ask you to install SQLite first, DBD::SQLite2 includes the
32entire thing in the distribution. So in order to get a fast
33transaction capable RDBMS working for your perl project you simply
34have to install this module, and nothing else.
b639477f 35
e6437ca0
ER
36This version uses older version of SQLite engine (2.x). To get a
37newest one please use perl-DBD-SQLite.
2bf3d5ce 38
341edd66 39%description -l pl.UTF-8
2bf3d5ce 40DBD::SQLite2 to sterownik DBI do baz danych SQLite. SQLite to silnik
341edd66 41relacyjnych baz danych na licencji public domain. Można go znaleźć pod
aca7e343 42adresem <http://www.sqlite.org/>.
b639477f 43
341edd66
JR
44DBD::SQLite2 zawiera w sobie cały silnik bazy danych. Dzięki temu aby
45otrzymać działający RDBMS dostępny z poziomu Perla nie trzeba
46instalować żadnych innych pakietów.
b639477f 47
341edd66
JR
48Ta wersja korzysta ze starszej wersji silnika SQLite (2.x). Aby użyć
49nowszej wersji należy zainstalować pakiet perl-DBD-SQLite.
2bf3d5ce 50
51%prep
52%setup -q -n %{pdir}-%{pnam}-%{version}
53
74be0501 54# not real test
55mv t/ak-dbd.t{,est}
56
2bf3d5ce 57%build
74be0501 58%{__perl} Makefile.PL \
2bf3d5ce 59 INSTALLDIRS=vendor
74be0501 60
2bf3d5ce 61%{__make} \
14a30d94 62 CC="%{__cc}" \
74be0501 63 OPTIMIZE="%{rpmcflags}"
2bf3d5ce 64
65%{?with_tests:%{__make} test}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT
72
e6437ca0
ER
73rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/DBD/getsqlite.pl
74
2bf3d5ce 75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%files
79%defattr(644,root,root,755)
80%doc Changes README
81%{perl_vendorarch}/DBD/SQLite2.pm
82%dir %{perl_vendorarch}/auto/DBD/SQLite2
2bf3d5ce 83%attr(755,root,root) %{perl_vendorarch}/auto/DBD/SQLite2/SQLite2.so
84%{_mandir}/man3/DBD*
This page took 0.153043 seconds and 4 git commands to generate.