]> git.pld-linux.org Git - packages/perl-DBD-LDAP.git/blob - perl-DBD-LDAP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DBD-LDAP.git] / perl-DBD-LDAP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    DBD
6 %define         pnam    LDAP
7 Summary:        DBD::LDAP - a DBI driver for LDAP databases
8 Summary(pl.UTF-8):      DBD::LDAP - sterownik DBI do baz danych LDAP
9 Name:           perl-DBD-LDAP
10 Version:        1.00
11 Release:        1
12 License:        GPL or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  436fa67e50a37dd54e302e4f115c7c3c
16 URL:            http://search.cpan.org/dist/DBD-LDAP/
17 BuildRequires:  perl-DBI >= 1.03
18 BuildRequires:  perl-ldap >= 0.01
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 DBD::LDAP - a DBI driver for LDAP databases.
24
25 %description -l pl.UTF-8
26 DBD::LDAP - sterownik DBI do baz danych LDAP.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc Changes README
50 %{perl_vendorlib}/DBD/LDAP.pm
51 %{perl_vendorlib}/JLdap.pm
52 #%{perl_vendorlib}/auto/DBD
53 %{_mandir}/man3/*
This page took 0.083165 seconds and 4 git commands to generate.