]> git.pld-linux.org Git - packages/perl-DBD-ODBC.git/blob - perl-DBD-ODBC.spec
- massive attack: change CPAN URLs
[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:        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 BuildRequires:  perl-DBI > 1.20
17 BuildRequires:  rpm-perlprov >= 3.0.3-16
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
34 %{__make} OPTIMIZE="%{rpmcflags}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %{!?_without_tests:%{__make} test}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Changes README
50 %{perl_sitearch}/DBD/ODBC.pm
51 %dir %{perl_sitearch}/auto/DBD/ODBC
52 %{perl_sitearch}/auto/DBD/ODBC/ODBC.bs
53 %attr(755,root,root) %{perl_sitearch}/auto/DBD/ODBC/ODBC.so
54 %{_mandir}/man3/*
This page took 0.060393 seconds and 4 git commands to generate.