]> git.pld-linux.org Git - packages/perl-DBD-SQLite.git/blob - perl-DBD-SQLite.spec
- up to 0.28
[packages/perl-DBD-SQLite.git] / perl-DBD-SQLite.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    DBD
7 %define         pnam    SQLite
8 Summary:        DBD::SQLite - DBI driver for SQLite database
9 Summary(pl):    DBD::SQLite - sterownik DBI dla bazy SQLite
10 Name:           perl-DBD-SQLite
11 Version:        0.28
12 Release:        0.1
13 License:        GPL/Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  f7143b55b27cc347936434a76fad15a8
17 BuildRequires:  perl-devel >= 5.6
18 %if %{?_without_tests:0}%{!?_without_tests:1}
19 BuildRequires:  perl-DBI
20 %endif
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 DBD::SQLite is a DBI driver for SQLite database. SQLite is a public
26 domain RDBMS database engine that you can find at
27 http://www.hwaci.com/sw/sqlite/.
28
29 %description -l pl
30 DBD::SQLite to sterownik DBI do baz danych SQLite. SQLite to silnik
31 relacyjnych baz danych na licencji public domain. Mo¿na go znale¼æ pod
32 http://www.hwaci.com/sw/sqlite/.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40
41 %{__make} OPTIMIZE="%{rpmcflags}"
42
43 %{!?_without_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes README
56 %{perl_vendorarch}/DBD/SQLite.pm
57 %dir %{perl_vendorarch}/auto/DBD/SQLite
58 %{perl_vendorarch}/auto/DBD/SQLite/SQLite.bs
59 %attr(755,root,root) %{perl_vendorarch}/auto/DBD/SQLite/SQLite.so
60 %{_mandir}/man3/DBD*
This page took 0.034739 seconds and 4 git commands to generate.