-
Notifications
You must be signed in to change notification settings - Fork 2
/
rubygem-monetdb-sql.spec
83 lines (60 loc) · 2 KB
/
rubygem-monetdb-sql.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
%global gem_name monetdb-sql
Name: rubygem-%{gem_name}
Epoch: 1
Version: 1.2
Release: 1%{?dist}
Summary: Pure Ruby database driver for MonetDB/SQL
Group: Applications/Databases
License: MPLv2.0
URL: http://www.monetdb.org/
Source0: http://dev.monetdb.org/downloads/ruby/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby >= 1.8.0
BuildArch: noarch
Requires: ruby(release)
Requires: rubygem-bigdecimal
%if (0%{?fedora} >= 22)
Recommends: MonetDB-SQL-server5
Suggests: %{name}-doc = %{epoch}:%{version}-%{release}
%endif
%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 a pure Ruby database driver for MonetDB/SQL.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{epoch}:%{version}-%{release}
BuildArch: noarch
%description doc
This package contains documentation for %{name}.
%prep
%setup -q -c -T
cp %{SOURCE0} .
%build
%gem_install
%install
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* %{buildroot}/%{gem_dir}
find %{buildroot}%{gem_instdir} -name \*.rb -exec chmod 0644 '{}' +
%files
%dir %{gem_instdir}
%{gem_libdir}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%doc %{gem_docdir}
%changelog
* Tue Dec 3 2019 Pedro Ferreira <[email protected]> - 1:1.2-1
- Look for column names starting with '%' symbol at parse_header_table.
* Mon Aug 19 2019 Sjoerd Mullender <[email protected]> - 1:1.1-1
- Fixed the blocksize in the Mapi protocol.
* Tue Sep 20 2016 Sjoerd Mullender <[email protected]> - 1:1.0-2
- Fixed dependency for rubygem-monetdb-sql-doc.
* Wed Mar 2 2016 Sjoerd Mullender <[email protected]> - 1.0-1
- The Ruby interface to MonetDB is now a separate package.
- The Ruby interface was updated to Ruby 2, and the activerecord
integration was removed.