]> git.pld-linux.org Git - packages/perl-DBD-ODBC.git/blob - perl-DBD-ODBC.spec
- should be ready for perl-5.8.0; release++
[packages/perl-DBD-ODBC.git] / perl-DBD-ODBC.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    ODBC
8 Summary:        DBD::ODBC perl module
9 Summary(pl):    Modu³ perla DBD::ODBC
10 Name:           perl-DBD-ODBC
11 Version:        1.04
12 Release:        2
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 BuildRequires:  perl-DBI > 1.20
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  unixODBC-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 DBD::ODBC - DBD module interfacing the ODBC databases.
23
24 %description -l pl
25 DBD::ODBC - modu³ DBD komunikuj±cy siê z bazami danych z u¿yciem
26 ODBC.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL -o /usr \
33         INSTALLDIRS=vendor 
34
35 %{__make} OPTIMIZE="%{rpmcflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %{!?_without_tests:%{__make} test}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc Changes README
51 %{perl_vendorarch}/DBD/ODBC.pm
52 %dir %{perl_vendorarch}/auto/DBD/ODBC
53 %{perl_vendorarch}/auto/DBD/ODBC/ODBC.bs
54 %attr(755,root,root) %{perl_vendorarch}/auto/DBD/ODBC/ODBC.so
55 %{_mandir}/man3/*
This page took 0.060097 seconds and 4 git commands to generate.