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