-
Notifications
You must be signed in to change notification settings - Fork 1
/
perl-DBD-monetdb.spec
68 lines (51 loc) · 1.81 KB
/
perl-DBD-monetdb.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name: perl-DBD-monetdb
Version: 1.3
Release: 1%{?dist}
Summary: MonetDB perl interface
License: MPLv2.0
URL: https://www.monetdb.org/
Source0: https://dev.monetdb.org/perl/monetdb-perl-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: perl
# Correct for lots of packages, other common choices include eg. Module::Build
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Digest::SHA)
Obsoletes: MonetDB-client-perl < 11.25
%if (0%{?fedora} >= 22)
# no recommendations on old Fedora or RHEL
Recommends: MonetDB-SQL-server5
Recommends: perl(DBI)
%endif
%{?perl_default_filter}
%description
MonetDB is a database management system that is developed from a
main-memory perspective with use of a fully decomposed storage model,
automatic index management, extensibility of data types and search
accelerators. It also has an SQL frontend.
This package contains the files needed to use MonetDB from a Perl
program.
%prep
%autosetup -n monetdb-perl-%{version}
%build
%make_build CONFIG=INSTALLDIRS=vendor
%install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
%files
%license COPYING
#%doc add-docs-here
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Mon Nov 25 2019 Sjoerd Mullender <sjoerd@acm.org> - 1.1-2
- Recommend package perl(DBI).
* Mon Sep 30 2019 Sjoerd Mullender <sjoerd@acm.org> - 1.1-1
- Removed build dependency for perl-generators.
* Mon Aug 19 2019 Sjoerd Mullender <sjoerd@acm.org> - 1.1-1
- Fixed the blocksize in the Mapi protocol.
* Mon Sep 19 2016 Sjoerd Mullender <sjoerd@mullender.nl>
- The Perl interface to MonetDB is now a separate package.