]> git.pld-linux.org Git - packages/perl-DBD-LDAP.git/blame_incremental - perl-DBD-LDAP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DBD-LDAP.git] / perl-DBD-LDAP.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir DBD
6%define pnam LDAP
7Summary: DBD::LDAP - a DBI driver for LDAP databases
8Summary(pl.UTF-8): DBD::LDAP - sterownik DBI do baz danych LDAP
9Name: perl-DBD-LDAP
10Version: 1.00
11Release: 1
12License: GPL or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/DBD/%{pdir}-%{pnam}-%{version}.tar.gz
15# Source0-md5: 436fa67e50a37dd54e302e4f115c7c3c
16URL: http://search.cpan.org/dist/DBD-LDAP/
17BuildRequires: perl-DBI >= 1.03
18BuildRequires: perl-ldap >= 0.01
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23DBD::LDAP - a DBI driver for LDAP databases.
24
25%description -l pl.UTF-8
26DBD::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
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT
43
44%clean
45rm -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.169668 seconds and 4 git commands to generate.