-
Notifications
You must be signed in to change notification settings - Fork 0
/
libduckdb.spec
43 lines (35 loc) · 1.27 KB
/
libduckdb.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
%define debug_package %{nil}
Name: libduckdb
Version: 1.1.2
Release: 1PIGSTY%{?dist}
Summary: In-process SQL OLAP Database Management System
License: MIT License
URL: https://github.com/duckdb/duckdb/
Source0: libduckdb-%{version}.tar.gz
# https://github.com/duckdb/duckdb/releases/download/v1.1.2/libduckdb-src.zip
%description
DuckDB is a high-performance analytical database system.
It is designed to be fast, reliable, portable, and easy to use.
DuckDB provides a rich SQL dialect, with support far beyond basic SQL.
DuckDB supports arbitrary and nested correlated subqueries, window functions,
collations, complex types (arrays, structs), and more.
%prep
%setup -q -n libduckdb-%{version}
%build
clang++ -c -fPIC -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 duckdb.cpp -o duckdb.o
clang++ -shared -o libduckdb.so *.o
%install
mkdir -p %{buildroot}/usr/lib64
install -m 0755 libduckdb.so %{buildroot}/usr/lib64
%files
/usr/lib64/libduckdb.so
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%changelog
* Sun Nov 03 2024 Vonng <[email protected]> - 1.1.2
* Fri Jun 28 2024 Vonng <[email protected]> - 1.0.0
* Sat Apr 27 2024 Vonng <[email protected]> - 0.10.2
* Tue Jan 30 2024 Vonng <[email protected]> - 0.9.2
- Initial RPM release, used by Pigsty <https://pigsty.io>