Accepting request 792571 from security:forensics
OBS-URL: https://build.opensuse.org/request/show/792571 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libevtx?expand=0&rev=16
This commit is contained in:
commit
b796e43ad6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d0661138389a0ffc01428143c7a905d6dc60837912dc7fd04624b356dea4ead
|
||||
size 1912084
|
3
libevtx-alpha-20191221.tar.gz
Normal file
3
libevtx-alpha-20191221.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c621b55c88b44786a28d19e02f976e33ce0c46c8de898d2d67d0e34da37a29d5
|
||||
size 1949526
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 7 18:49:27 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
- update to v0~20191221
|
||||
* Added binary XML creation time to API and evtxexport #21
|
||||
* worked on tests
|
||||
- rename python-libevtx to python2-libevtx
|
||||
- add python3 subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 17:20:30 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||
|
||||
|
37
libevtx.spec
37
libevtx.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libevtx
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,13 +18,13 @@
|
||||
|
||||
Name: libevtx
|
||||
%define lname libevtx1
|
||||
%define timestamp 20181227
|
||||
%define timestamp 20191221
|
||||
Version: 0~%timestamp
|
||||
Release: 0
|
||||
Summary: Library and tools to access the Windows XML Event Log (EVTX) format
|
||||
License: LGPL-3.0-or-later AND GFDL-1.3-only
|
||||
Group: Productivity/File utilities
|
||||
Url: https://github.com/libyal/libevtx/wiki
|
||||
URL: https://github.com/libyal/libevtx/wiki
|
||||
Source: https://github.com/libyal/libevtx/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
|
||||
Source2: Windows_XML_Event_Log_EVTX.pdf
|
||||
BuildRequires: pkg-config
|
||||
@ -92,15 +92,26 @@ libevtx is a library to access the Windows XML Event log format.
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of %name.
|
||||
|
||||
%package -n python-%name
|
||||
%package -n python2-%name
|
||||
Summary: Python2 bindings for libevtx
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %lname = %version
|
||||
BuildRequires: pkgconfig(python2)
|
||||
Obsoletes: pyevtx <= 20191221
|
||||
Obsoletes: python-%name <= 20191221
|
||||
|
||||
%description -n python2-%name
|
||||
Python bindings for libevtx, which can read Windows XML Event files.
|
||||
|
||||
%package -n python3-%name
|
||||
Summary: Python bindings for libevtx
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %lname = %version
|
||||
Requires: python
|
||||
Provides: pyevtx = %version
|
||||
BuildRequires: pkgconfig(python3)
|
||||
|
||||
%description -n python-%name
|
||||
%description -n python3-%name
|
||||
Python bindings for libevtx, which can read Windows XML Event files.
|
||||
|
||||
%prep
|
||||
@ -108,7 +119,7 @@ Python bindings for libevtx, which can read Windows XML Event files.
|
||||
cp "%SOURCE2" .
|
||||
|
||||
%build
|
||||
%configure --disable-static --enable-wide-character-type --enable-python
|
||||
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -138,10 +149,16 @@ find %buildroot -name '*.la' -delete
|
||||
%_libdir/pkgconfig/libevtx.pc
|
||||
%_mandir/man3/libevtx.3*
|
||||
|
||||
%files -n python-%name
|
||||
%files -n python2-%name
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%python_sitearch/pyevtx.so
|
||||
%python2_sitearch/pyevtx.so
|
||||
|
||||
%files -n python3-%name
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%python3_sitearch/pyevtx.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user