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