15824c4
Name:           timescaledb
96e786c
Version:        1.3.0
96e786c
Release:        1%{?dist}
15824c4
Summary:        Open-source time-series database powered by PostgreSQL
15824c4
15824c4
License:        ASL 2.0
15824c4
URL:            http://www.timescale.com
cb898cd
Source0:        %{name}-%{version}.tar.gz
15824c4
da1dd03
%if 0%{?fedora} >= 30
db886ed
BuildRequires:  cmake gcc openssl-devel postgresql-server-devel
da1dd03
%else
da1dd03
BuildRequires:  cmake gcc openssl-devel postgresql-devel
da1dd03
%endif
15824c4
15824c4
%{?postgresql_module_requires}
15824c4
15824c4
%description
15824c4
TimescaleDB is an open-source database designed to make SQL scalable for
15824c4
time-series data.  It is engineered up from PostgreSQL, providing automatic
15824c4
partitioning across time and space (partitioning key), as well as full SQL
15824c4
support.
15824c4
15824c4
15824c4
%prep
15824c4
%setup -q -n %{name}-%{version}
3b6126a
# Remove tsl directory containing sources licensed under Timescale license
3b6126a
rm -rf tsl 
15824c4
15824c4
15824c4
%build
da1dd03
%if 0%{?fedora} >= 30
0333538
%cmake -DPROJECT_INSTALL_METHOD=fedora -DAPACHE_ONLY=1 -DPG_CONFIG=%_bindir/pg_server_config .
da1dd03
%else
0333538
%cmake -DPROJECT_INSTALL_METHOD=fedora -DAPACHE_ONLY=1 -DPG_CONFIG=%_bindir/pg_config .
da1dd03
%endif
15824c4
%make_build
15824c4
15824c4
15824c4
%install
15824c4
%make_install
15824c4
15824c4
15824c4
%files
72505a0
%license LICENSE-APACHE
15824c4
%doc README.md
15824c4
%{_libdir}/pgsql/%{name}-%{version}.so
15824c4
%{_libdir}/pgsql/%{name}.so
15824c4
%{_datadir}/pgsql/extension/%{name}--*%{version}.sql
15824c4
%{_datadir}/pgsql/extension/%{name}.control
15824c4
15824c4
15824c4
%changelog
96e786c
* Tue May 07 2019 Patrik Novotný <panovotn@redhat.com> - 1.3.0-1
96e786c
- New upstream version: 1.3.0
96e786c
0333538
* Tue Mar 26 2019 Patrik Novotný <panovotn@redhat.com> - 1.2.2-2
0333538
- Add PROJECT_INSTALL_METHOD build flag for upstream telemetry
0333538
cb898cd
* Thu Mar 21 2019 Patrik Novotný <panovotn@redhat.com> - 1.2.2-1
cb898cd
- Rebase to usptream version 1.2.2
cb898cd
3b6126a
* Thu Jan 31 2019 Patrik Novotný <panovotn@redhat.com> - 1.2.0-1
3b6126a
- Update to upstream release 1.2.0
3b6126a
72505a0
* Thu Jan 03 2019 Patrik Novotný <panovotn@redhat.com> - 1.1.0
72505a0
- Update to upstream release 1.1.0
72505a0
db886ed
* Wed Sep 19 2018 panovotn@redhat.com - 0.12.0-1
db886ed
- Upstream update to 0.12.0
db886ed
1548eaf
* Wed Sep 05 2018 praiskup@redhat.com - 0.11.0-2
1548eaf
- rebuild against postgresql-server-devel (rhbz#1618698)
1548eaf
2e57b98
* Thu Aug  9 2018 Patrik Novotný <panovotn@redhat.com> - 0.11.0-1
2e57b98
- An upstream update to 0.11.0
2e57b98
15824c4
* Tue Aug  7 2018 Patrik Novotný <panovotn@redhat.com> - 0.10.1-1
15824c4
- Initial build