Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
python3-evtx.29613
python3-evtx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python3-evtx.spec of Package python3-evtx.29613
# # spec file for package python-evtx # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname python-evtx Name: python3-evtx Version: 0.5.3b Release: 0 Summary: Windows Event Log files parser License: Apache-2.0 Group: Development/Libraries/Python Url: https://github.com/williballenthin/%{modname} Source: https://github.com/williballenthin/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildArch: noarch %endif %python_subpackages %description python-evtx is a pure Python parser for recent Windows Event Log files (those with the file extension ".evtx"). The module provides programmatic access to the File and Chunk headers, record templates, and event entries. For example, you can use python-evtx to review the event logs of Windows 7 systems from a Mac or Linux workstation. The structure definitions and parsing strategies were heavily inspired by the work of Andreas Schuster and his Perl implementation "Parse-Evtx". %prep %setup -q -n %{modname}-%{version} %build %python_build %install %python_install mkdir -p %{buildroot}%{_bindir} for script in evtxdump.py evtxinfo.py; do sed -i -e 's:^#!/usr/bin/env python:#!%{__python3}:' scripts/$script dos2unix scripts/$script install -m 0755 scripts/$script %{buildroot}%{_bindir}/$script done %fdupes %{buildroot} %files %{python_files} %defattr(-,root,root) %doc LICENSE.TXT README.md %{python_sitelib}/* %python3_only %{_bindir}/evtxdump.py %python3_only %{_bindir}/evtxinfo.py %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor