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