- Edit specfile to do multipython builds.
OBS-URL: https://build.opensuse.org/package/show/security:forensics/libesedb?expand=0&rev=22
This commit is contained in:
parent
f0b6d6e9f7
commit
62f2effdb6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 21 18:25:58 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Edit specfile to do multipython builds.
|
||||||
|
(Reenables python2 on Leap 15)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 26 09:51:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
Sat Jun 26 09:51:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libesedb
|
# spec file for package libesedb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -31,9 +31,11 @@ Source4: Forensic_analysis_of_the_Windows_Search_database.pdf
|
|||||||
Source5: Windows_Search.pdf
|
Source5: Windows_Search.pdf
|
||||||
Source6: libesedb-libfdata.pdf
|
Source6: libesedb-libfdata.pdf
|
||||||
Patch1: system-libs.patch
|
Patch1: system-libs.patch
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: c_compiler
|
BuildRequires: c_compiler
|
||||||
BuildRequires: gettext-tools >= 0.18.1
|
BuildRequires: gettext-tools >= 0.18.1
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(libbfio) >= 20201229
|
BuildRequires: pkgconfig(libbfio) >= 20201229
|
||||||
BuildRequires: pkgconfig(libcdata) >= 20200509
|
BuildRequires: pkgconfig(libcdata) >= 20200509
|
||||||
BuildRequires: pkgconfig(libcerror) >= 20201121
|
BuildRequires: pkgconfig(libcerror) >= 20201121
|
||||||
@ -52,7 +54,7 @@ BuildRequires: pkgconfig(libfvalue) >= 20210510
|
|||||||
BuildRequires: pkgconfig(libfwnt) >= 20210421
|
BuildRequires: pkgconfig(libfwnt) >= 20210421
|
||||||
BuildRequires: pkgconfig(libmapidb) >= 20170304
|
BuildRequires: pkgconfig(libmapidb) >= 20170304
|
||||||
BuildRequires: pkgconfig(libuna) >= 20201204
|
BuildRequires: pkgconfig(libuna) >= 20201204
|
||||||
BuildRequires: pkgconfig(python3)
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Library and tools to access the Extensible Storage Engine (ESE) Database File (EDB) format. ESEDB is used in may different applications like Windows Search, Windows Mail, Exchange, Active Directory, etc.
|
Library and tools to access the Extensible Storage Engine (ESE) Database File (EDB) format. ESEDB is used in may different applications like Windows Search, Windows Mail, Exchange, Active Directory, etc.
|
||||||
@ -86,19 +88,6 @@ applications like Windows Search, Windows Mail, Exchange, Active Directory, etc.
|
|||||||
This subpackage contains libraries and header files for developing
|
This subpackage contains libraries and header files for developing
|
||||||
applications that want to make use of libesedb.
|
applications that want to make use of libesedb.
|
||||||
|
|
||||||
%package -n python3-%{name}
|
|
||||||
Summary: Python bindings for libesedb, a EDB file format parser
|
|
||||||
License: LGPL-3.0-or-later
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
|
|
||||||
%description -n python3-%{name}
|
|
||||||
libesedb is a library to access EDB files. ESEDB is used in many different
|
|
||||||
applications like Windows Search, Windows Mail, Exchange, Active Directory, etc.
|
|
||||||
|
|
||||||
Python3 bindings for libesedb, which can read EDB files. ESEDB is used in many
|
|
||||||
different applications like Windows Search, Windows Mail, Exchange, Active
|
|
||||||
Directory, etc.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
cp "%{SOURCE2}" .
|
cp "%{SOURCE2}" .
|
||||||
@ -108,15 +97,19 @@ cp "%{SOURCE5}" .
|
|||||||
cp "%{SOURCE6}" .
|
cp "%{SOURCE6}" .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ ! -e configure ]; then ./autogen.sh; fi
|
autoreconf -fi
|
||||||
%configure \
|
# OOT builds are presently broken, so we have to install
|
||||||
--disable-static \
|
# within each python iteration now, not in %%install.
|
||||||
--enable-wide-character-type \
|
%{python_expand #
|
||||||
--enable-python3
|
%configure --disable-static --enable-wide-character-type \
|
||||||
|
--enable-python PYTHON_VERSION="%{$python_bin_suffix}"
|
||||||
%make_build
|
%make_build
|
||||||
|
%make_install DESTDIR="%_builddir/rt"
|
||||||
|
%make_build clean
|
||||||
|
}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
mv %_builddir/rt/* %buildroot/
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
@ -126,12 +119,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%license COPYING*
|
%license COPYING*
|
||||||
%{_libdir}/libesedb.so.*
|
%{_libdir}/libesedb.so.*
|
||||||
|
|
||||||
%files tools
|
%files -n %name-tools
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
%{_bindir}/esedb*
|
%{_bindir}/esedb*
|
||||||
%{_mandir}/man1/esedb*.1*
|
%{_mandir}/man1/esedb*.1*
|
||||||
|
|
||||||
%files devel
|
%files -n %name-devel
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
%doc Exchange.pdf
|
%doc Exchange.pdf
|
||||||
%doc Extensible_Storage_Engine_*
|
%doc Extensible_Storage_Engine_*
|
||||||
@ -144,8 +137,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/pkgconfig/libesedb.pc
|
%{_libdir}/pkgconfig/libesedb.pc
|
||||||
%{_mandir}/man3/libesedb.3*
|
%{_mandir}/man3/libesedb.3*
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files %python_files
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
%{python3_sitearch}/pyesedb.so
|
%{python_sitearch}/pyesedb.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user