summaryrefslogtreecommitdiff
path: root/packaging/biboumi.spec.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/biboumi.spec.cmake')
-rw-r--r--packaging/biboumi.spec.cmake20
1 files changed, 13 insertions, 7 deletions
diff --git a/packaging/biboumi.spec.cmake b/packaging/biboumi.spec.cmake
index 45f9376..bd8ffdc 100644
--- a/packaging/biboumi.spec.cmake
+++ b/packaging/biboumi.spec.cmake
@@ -13,9 +13,10 @@ BuildRequires: libuuid-devel
BuildRequires: systemd-devel
BuildRequires: sqlite-devel
BuildRequires: postgresql-devel
+BuildRequires: botan2-devel
BuildRequires: cmake
BuildRequires: systemd
-BuildRequires: pandoc
+BuildRequires: python3-sphinx
%global _hardened_build 1
@@ -37,14 +38,14 @@ cmake . -DCMAKE_CXX_FLAGS="%{optflags}" \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPOLLER=EPOLL \
- -DWITHOUT_BOTAN=1 \
+ -DWITH_BOTAN=1 \
-DWITH_SYSTEMD=1 \
-DWITH_LIBIDN=1 \
-DWITH_SQLITE3=1 \
-DWITH_POSTGRESQL=1
make %{?_smp_mflags}
-
+make man SPHINXBUILD=sphinx-build-3
%install
make install DESTDIR=%{buildroot}
@@ -57,12 +58,17 @@ make check %{?_smp_mflags}
%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
-%doc README.rst COPYING doc/biboumi.1.rst
+%doc README.rst COPYING doc/*.rst
%{_unitdir}/%{name}.service
%config(noreplace) %{biboumi_confdir}/*policy.txt
%changelog
+* ${RPM_DATE} Le Coz Florent <louiz@louiz.org> - ${RPM_VERSION}-1
+- Build latest git revision
+- Build against botan2
+- Build with sphinx instead of pandoc
+
* Sat May 9 2020 Le Coz Florent <louiz@louiz.org> - 8.5-1
Update to version 8.5
@@ -72,10 +78,10 @@ make check %{?_smp_mflags}
* Wed Jun 1 2018 Le Coz Florent <louiz@louiz.org> - 8.3-1
Update to version 8.3
-* Wed May 25 2018 Le Coz Florent <louiz@louiz.org> - 8.2-1
+* Fri May 25 2018 Le Coz Florent <louiz@louiz.org> - 8.2-1
Update to version 8.2
-* Wed May 14 2018 Le Coz Florent <louiz@louiz.org> - 8.1-1
+* Mon May 14 2018 Le Coz Florent <louiz@louiz.org> - 8.1-1
Update to version 8.1
* Wed May 2 2018 Le Coz Florent <louiz@louiz.org> - 8.0-1
@@ -84,7 +90,7 @@ make check %{?_smp_mflags}
* Wed Jan 24 2018 Le Coz Florent <louiz@louiz.org> - 7.2-1
Update to version 7.2
-* Wed Jan 22 2018 Le Coz Florent <louiz@louiz.org> - 7.1-1
+* Mon Jan 22 2018 Le Coz Florent <louiz@louiz.org> - 7.1-1
Update to version 7.1
* Wed Jan 17 2018 Le Coz Florent <louiz@louiz.org> - 7.0-1