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