]> git.pld-linux.org Git - packages/perl-CDB_File.git/blame - perl-CDB_File.spec
rebuild with perl 5.32
[packages/perl-CDB_File.git] / perl-CDB_File.spec
CommitLineData
c761b0b7 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
917bb11b 4#
76593924 5Summary: CDB_File - Perl extension for access to cdb databases
e1e13796 6Summary(pl.UTF-8): CDB_File - rozszerzenie Perla umożliwiające dostęp do baz cdb
5e5d212a 7Name: perl-CDB_File
6427dfa4 8Version: 0.97
269d62d8 9Release: 12
76593924 10# same as perl
11License: GPL v1+ or Artistic
5e5d212a 12Group: Development/Languages/Perl
269fa45f 13Source0: http://www.cpan.org/modules/by-module/CDB_File/CDB_File-%{version}.tar.gz
6427dfa4 14# Source0-md5: 22fd84f6b2176528001835eae706e66d
917bb11b 15URL: http://search.cpan.org/dist/CDB_File/
235adac3 16BuildRequires: perl-devel >= 1:5.8.0
2db6f964 17BuildRequires: rpm-perlprov >= 4.1-13
4a50630c 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
5e5d212a 19
20%description
76593924 21CDB_File is a module which provides a Perl interface to Dan Berstein's
22cdb package. cdb is a fast, reliable, lightweight package for creating
23and reading constant databases.
5e5d212a 24
f840b84e
JR
25%description -l pl.UTF-8
26CDB_File jest modułem stanowiącym interfejs perlowy do pakietu cdb
76593924 27Dana Bersteina. cdb jest szybkim, niezawodnym, lekkim pakietem do
f840b84e 28odczytu i tworzenia stałych baz danych.
5e5d212a 29
30%prep
31%setup -q -n CDB_File-%{version}
32
33%build
2db6f964 34%{__perl} Makefile.PL \
24bb6d7f 35 INSTALLDIRS=vendor
c761b0b7 36%{__make} \
8e123aa0 37 CC="%{__cc}" \
c761b0b7 38 OPTIMIZE="%{rpmcflags}"
39
40%{?with_tests: %{__make} test}
5e5d212a 41
42%install
43rm -rf $RPM_BUILD_ROOT
5e5d212a 44
c761b0b7 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
5e5d212a 47
5e5d212a 48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
b6a083d0 53%doc README ACKNOWLEDGE CHANGES
2db6f964 54%{perl_vendorarch}/CDB_File.pm
55%dir %{perl_vendorarch}/auto/CDB_File
2db6f964 56%attr(755,root,root) %{perl_vendorarch}/auto/CDB_File/CDB_File.so
5e5d212a 57%{_mandir}/man3/*
This page took 0.282671 seconds and 4 git commands to generate.