]> git.pld-linux.org Git - packages/perl-DBD-LDAP.git/blame - perl-DBD-LDAP.spec
- up to 0.07 rel1, builds here
[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
9Summary(pl): DBD::LDAP - sterownik DBI do baz danych LDAP
4e6c90f9 10Name: perl-DBD-LDAP
1da68d43 11Version: 0.07
7d53b6b8 12Release: 1
11d4dee0 13License: GPL or Artistic
4e6c90f9 14Group: Development/Languages/Perl
f13bbf6e 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
1da68d43 16# Source0-md5: 66cb22e36e537e143f5bb31d2fb26243
3f15e887 17Patch0: %{name}-paths.patch
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
26%description -l pl
27DBD::LDAP - sterownik DBI do baz danych LDAP.
28
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
3f15e887 31%patch0 -p1
4e6c90f9
JB
32
33%build
55fe07c9 34%{__perl} Makefile.PL \
a2a2aa82 35 INSTALLDIRS=vendor
4e6c90f9
JB
36%{__make}
37
9b02045c 38%{?with_tests:%{__make} test}
39
4e6c90f9
JB
40%install
41rm -rf $RPM_BUILD_ROOT
42
9b02045c 43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
4e6c90f9 45
4e6c90f9
JB
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
4a19fc35 51%doc Changes README
55fe07c9 52%{perl_vendorlib}/DBD/LDAP.pm
53%{perl_vendorlib}/JLdap.pm
7d53b6b8 54#%{perl_vendorlib}/auto/DBD
4e6c90f9 55%{_mandir}/man3/*
This page took 0.36032 seconds and 4 git commands to generate.