2014-08-27 05:45:55 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-dfVFS
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
%define timestamp 20140727
|
|
|
|
Name: python-dfVFS
|
|
|
|
Version: 0~%{timestamp}
|
|
|
|
Release: 0
|
|
|
|
Summary: Digital Forensics Virtual File System
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Productivity/File utilities
|
|
|
|
Url: http://code.google.com/p/libpff/
|
|
|
|
#DL-URL: https://8cc686ffe05394af72c9b3d507f0b2bcff74f031.googledrive.com/host/0B3fBvzttpiiSZTI3MWV6di1fRDg/dfvfs-20140727.tar.gz
|
|
|
|
Source: dfvfs-%{timestamp}.tar.gz
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
Requires: pybde
|
|
|
|
Requires: pyewf
|
|
|
|
Requires: pyqcow
|
|
|
|
Requires: pysmdev
|
|
|
|
Requires: pytsk
|
|
|
|
Requires: pyvshadow
|
2014-09-06 10:18:07 +00:00
|
|
|
Requires: pysmraw
|
|
|
|
Requires: pyvmdk
|
|
|
|
Requires: pyvhdi
|
2014-08-27 05:45:55 +00:00
|
|
|
Requires: python-construct
|
|
|
|
Requires: python-protobuf
|
|
|
|
Requires: python-six
|
|
|
|
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"
|
|
|
|
|
|
|
|
%build
|
|
|
|
python setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE.TXT
|
|
|
|
%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info
|
|
|
|
%{python_sitelib}/dfvfs
|
|
|
|
|
|
|
|
%changelog
|