2014-08-27 05:45:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-dfVFS
|
|
|
|
#
|
2017-02-26 22:15:57 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-08-27 05:45:55 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2014-12-23 10:50:59 +00:00
|
|
|
|
2016-09-21 02:59:22 +00:00
|
|
|
%define timestamp 20160918
|
2014-08-27 05:45:55 +00:00
|
|
|
Name: python-dfVFS
|
|
|
|
Version: 0~%{timestamp}
|
|
|
|
Release: 0
|
|
|
|
Summary: Digital Forensics Virtual File System
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Productivity/File utilities
|
2014-12-23 10:50:59 +00:00
|
|
|
Url: https://github.com/log2timeline/dfvfs/wiki
|
2015-01-09 23:38:20 +00:00
|
|
|
Source: https://github.com/log2timeline/dfvfs/releases/download/%timestamp/dfvfs-%timestamp.tar.gz
|
2014-08-27 05:45:55 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
Requires: pybde
|
|
|
|
Requires: pyewf
|
2017-02-26 22:15:57 +00:00
|
|
|
Requires: pyfsntfs >= 0~20160418
|
2016-09-21 02:59:22 +00:00
|
|
|
Requires: pyfvde
|
2016-09-13 22:32:18 +00:00
|
|
|
Requires: pyfwnt
|
2014-08-27 05:45:55 +00:00
|
|
|
Requires: pyqcow
|
2015-03-25 22:33:01 +00:00
|
|
|
Requires: pysigscan
|
2014-08-27 05:45:55 +00:00
|
|
|
Requires: pysmdev
|
2014-09-06 10:18:07 +00:00
|
|
|
Requires: pysmraw
|
2014-08-27 05:45:55 +00:00
|
|
|
Requires: python-construct
|
2016-09-21 02:59:22 +00:00
|
|
|
Requires: python-dfdatetime
|
2014-08-27 05:45:55 +00:00
|
|
|
Requires: python-protobuf
|
|
|
|
Requires: python-six
|
2014-12-23 10:50:59 +00:00
|
|
|
Requires: pytsk
|
|
|
|
Requires: pyvhdi
|
|
|
|
Requires: pyvmdk
|
2017-02-15 13:45:38 +00:00
|
|
|
Requires: pyvshadow >= 20160110
|
2016-09-13 22:32:18 +00:00
|
|
|
Requires: pyvslvm
|
2014-08-27 05:45:55 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
dfVFS, or Digital Forensics Virtual File System, provides read-only access to file-system objects from various storage media types and file formats. The goal of dfVFS is to provide a generic interface for accessing file-system objects, for which it uses several back-ends that provide the actual implementation of the various storage media types, volume systems and file systems.
|
|
|
|
|
|
|
|
dfVFS originates from the Plaso project and is also based on ideas from the GRR project. It was largely rewritten and made into a stand-alone project to provide more flexibility and allow other projects to make use of the VFS functionality. dfVFS originally was named PyVFS, but that name conflicted with another project.
|
|
|
|
|
|
|
|
dfVFS is currently implemented as a Python module.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n dfvfs-%{timestamp}
|
|
|
|
find dfvfs -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d"
|
2014-12-23 10:50:59 +00:00
|
|
|
chmod -x utils/check_dependencies.py
|
2015-03-25 22:33:01 +00:00
|
|
|
chmod -x run_tests.py
|
2014-08-27 05:45:55 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
2015-01-09 23:38:20 +00:00
|
|
|
# force complie to resolve an rpmlint complaint
|
|
|
|
pushd %{buildroot}%{python_sitelib}/dfvfs/
|
|
|
|
%py_compile .
|
2016-09-21 02:59:22 +00:00
|
|
|
%py_compile serializer
|
2015-01-09 23:38:20 +00:00
|
|
|
popd
|
2014-08-27 05:45:55 +00:00
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-03-25 22:33:01 +00:00
|
|
|
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE README
|
2014-12-23 10:50:59 +00:00
|
|
|
%doc utils/check_dependencies.py
|
2015-01-21 20:31:39 +00:00
|
|
|
%doc run_tests.py
|
|
|
|
%doc examples
|
2014-08-27 05:45:55 +00:00
|
|
|
%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info
|
|
|
|
%{python_sitelib}/dfvfs
|
2015-03-25 22:33:01 +00:00
|
|
|
# these are installed into the wrong place
|
|
|
|
%exclude %{_datadir}/doc/dfvfs/
|
2014-08-27 05:45:55 +00:00
|
|
|
|
|
|
|
%changelog
|