]> git.pld-linux.org Git - packages/libprelude.git/blobdiff - libprelude.spec
Release 9 (by relup.sh)
[packages/libprelude.git] / libprelude.spec
index 2063f00e2f43fe2b740fc0d9e456d2a83602a35f..f08f638855446e36b89d1ce0cf3fa0cc0cd771d2 100644 (file)
 # 5.1 also possible, 5.2 is preferred
 %define        lua_ver 5.2
 %define        lua_pkg lua%(echo %{lua_ver} | tr -d .)
-%include       /usr/lib/rpm/macros.perl
 Summary:       The Prelude library
 Summary(pl.UTF-8):     Biblioteka Prelude
 Name:          libprelude
-Version:       3.1.0
-Release:       1
+Version:       5.1.1
+Release:       9
 License:       GPL v2 or commercial
 Group:         Libraries
-#Source0Download: https://www.prelude-ids.org/projects/prelude/files
-Source0:       https://www.prelude-ids.org/attachments/download/721/%{name}-%{version}.tar.gz
-# Source0-md5: 2e1a5d7cbf98a2d57fbb367a578dbf8c
+#Source0Download: https://www.prelude-siem.org/projects/prelude/files
+Source0:       https://www.prelude-siem.org/attachments/download/1181/%{name}-%{version}.tar.gz
+# Source0-md5: 9302c68e1c84a847f77574ab048177e6
 Patch0:                python-install.patch
 Patch1:                %{name}-lua.patch
-URL:           https://www.prelude-ids.org/
+Patch2:                gtk-doc-1.32.patch
+Patch3:                python-3.8-fix.patch
+URL:           https://www.prelude-siem.org/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.9
 BuildRequires: bison
 BuildRequires: flex
+BuildRequires: gnulib >= 0-0.20181013.2
 BuildRequires: gnutls-devel >= 1.0.17
 BuildRequires: gtk-doc >= 1.0
 BuildRequires: libgcrypt-devel >= 1.1.94
 BuildRequires: libltdl-devel >= 2:2.0
 BuildRequires: libstdc++-devel
 BuildRequires: libtool >= 2:2.0
+%{?with_lua:BuildRequires:     %{lua_pkg} >= %{lua_ver}}
 %{?with_lua:BuildRequires:     %{lua_pkg}-devel >= %{lua_ver}}
 %{?with_perl:BuildRequires:    perl-devel}
 %{?with_python2:BuildRequires: python-devel >= 1:2.5}
 %{?with_python3:BuildRequires: python3-devel >= 1:3.2}
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.745
 %{?with_ruby:BuildRequires:    ruby-devel >= 1.9}
 BuildRequires: sed >= 4.0
 %{?with_perl:BuildRequires: swig-perl}
@@ -227,6 +230,8 @@ Wiązania języka Ruby do libprelude.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %if %{with python3}
 # regenerate with fresh swig for python 3.5+
@@ -234,6 +239,9 @@ Wiązania języka Ruby do libprelude.
 %endif
 
 %build
+gnulib-tool --copy-file lib/fseeko.c libmissing/fseeko.c
+gnulib-tool --copy-file m4/fseeko.m4 libmissing/m4/fseeko.m4
+%{__gtkdocize}
 %{__libtoolize}
 %{__aclocal} -I m4 -I libmissing/m4
 %{__autoconf}
@@ -301,7 +309,7 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libprelude.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libprelude.so.23
+%attr(755,root,root) %ghost %{_libdir}/libprelude.so.28
 
 %files devel
 %defattr(644,root,root,755)
@@ -324,7 +332,7 @@ rm -rf $RPM_BUILD_ROOT
 %files c++
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpreludecpp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpreludecpp.so.8
+%attr(755,root,root) %ghost %{_libdir}/libpreludecpp.so.12
 
 %files c++-devel
 %defattr(644,root,root,755)
This page took 0.074349 seconds and 4 git commands to generate.