]> git.pld-linux.org Git - packages/perl-DB_File.git/blame - perl-DB_File.spec
- converted to UTF-8
[packages/perl-DB_File.git] / perl-DB_File.spec
CommitLineData
31e73cd9
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
ceb60edc 5%include /usr/lib/rpm/macros.perl
fc31e86c 6%define pdir DB_File
7%define pnam DB_File
7ba6502b 8Summary: DB_File allows to manage a simple ASCII database
42fd7c4d 9Summary(pl.UTF-8): DB_File pozwala na korzystanie z prostej, tekstowej bazy danych
ceb60edc 10Name: perl-DB_File
7df71bef 11Version: 1.814
06676fee 12Release: 2
f738e29b 13# same as perl
14License: GPL or Artistic
ceb60edc 15Group: Development/Languages/Perl
812dc1e7 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
7df71bef 17# Source0-md5: 5ae102fe172f2aaf771a8d9cae23ca3a
b68728d0 18Patch0: %{name}-rpm-automation.patch
cd93ca57 19BuildRequires: db-devel
31e73cd9 20BuildRequires: perl-devel >= 1:5.8.0
b8125d38 21BuildRequires: rpm-perlprov >= 4.1-13
ceb60edc 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
146735dc 25DB_File is a module which allows Perl programs to make use of the
26facilities provided by Berkeley DB version 1.
ceb60edc 27
42fd7c4d
JR
28%description -l pl.UTF-8
29DB_File jest modułem, który pozwala programom w Perlu na korzystanie
30z udogodnień, dostarczanych przez Berkeley DB w wersji 1.
ceb60edc 31
32%prep
cf3e26a7 33%setup -q -n %{pnam}-%{version}
b68728d0 34%patch0 -p1
ceb60edc 35
36%build
8608adff 37%{__perl} -pi -e "s/INSTALLDIRS => 'perl',//" Makefile.PL
b8125d38 38%{__perl} Makefile.PL \
46ae606c 39 INSTALLDIRS=vendor
31e73cd9
JB
40%{__make} \
41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
ceb60edc 44
45%install
46rm -rf $RPM_BUILD_ROOT
47
cd93ca57 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
0ca5cfa5 50
ceb60edc 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
ec10bcd4 56%doc Changes README
8608adff 57%{perl_vendorarch}/DB_File.pm
58%dir %{perl_vendorarch}/auto/DB_File
59%{perl_vendorarch}/auto/DB_File/DB_File.bs
60%{perl_vendorarch}/auto/DB_File/autosplit.ix
61%attr(755,root,root) %{perl_vendorarch}/auto/DB_File/DB_File.so
0ca5cfa5 62%{_mandir}/man3/*
This page took 0.080933 seconds and 4 git commands to generate.