Accepting request 460442 from home:gregfreemyer:Tools-for-forensic-boot-cd

2017 update

OBS-URL: https://build.opensuse.org/request/show/460442
OBS-URL: https://build.opensuse.org/package/show/security:forensics/libqcow?expand=0&rev=8
This commit is contained in:
Greg Freemyer 2017-02-25 18:31:05 +00:00 committed by Git OBS Bridge
parent 4b679bf3fb
commit 930a3b8a8a
4 changed files with 73 additions and 32 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9487b3221ebed9d700b6bf96690a3ef7abaf88a705c41783efea11a5021fba0
size 1419626

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b4a3f97b3091cb8dc4990a03a1c9c42385e37d876eba6e6513b1e9104e9512d
size 1426203

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Feb 25 17:50:19 UTC 2017 - Greg.Freemyer@gmail.com
- update to v0~20170222
- change RPM Group to Development/Languages/Python
- review and update libyal dependencies
- add python3 binding sub-package
- fix Summary and Description fields which had wrong info in them
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 27 22:52:05 UTC 2016 - Greg.Freemyer@gmail.com Wed Jan 27 22:52:05 UTC 2016 - Greg.Freemyer@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libqcow # spec file for package libqcow
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -17,7 +17,7 @@
%define lname libqcow1 %define lname libqcow1
%define timestamp 20160123 %define timestamp 20170222
Name: libqcow Name: libqcow
Version: 0~%{timestamp} Version: 0~%{timestamp}
Release: 0 Release: 0
@ -28,7 +28,6 @@ Url: https://github.com/libyal/libqcow/wiki
Source: https://github.com/libyal/libqcow/releases/download/%timestamp/%{name}-alpha-%{timestamp}.tar.gz Source: https://github.com/libyal/libqcow/releases/download/%timestamp/%{name}-alpha-%{timestamp}.tar.gz
Source2: QEMU_Copy-On-Write_file_format.pdf Source2: QEMU_Copy-On-Write_file_format.pdf
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: pkgconfig(fuse) >= 2.6 BuildRequires: pkgconfig(fuse) >= 2.6
BuildRequires: pkgconfig(libbfio) >= 20130721 BuildRequires: pkgconfig(libbfio) >= 20130721
BuildRequires: pkgconfig(libcaes) >= 20140731 BuildRequires: pkgconfig(libcaes) >= 20140731
@ -37,16 +36,15 @@ BuildRequires: pkgconfig(libcerror) >= 20140105
BuildRequires: pkgconfig(libcfile) >= 20130609 BuildRequires: pkgconfig(libcfile) >= 20130609
BuildRequires: pkgconfig(libclocale) >= 20130609 BuildRequires: pkgconfig(libclocale) >= 20130609
BuildRequires: pkgconfig(libcnotify) >= 20120425 BuildRequires: pkgconfig(libcnotify) >= 20120425
BuildRequires: pkgconfig(libcpath) >= 20130609
BuildRequires: pkgconfig(libcsplit) >= 20130609 BuildRequires: pkgconfig(libcsplit) >= 20130609
BuildRequires: pkgconfig(libcstring) >= 20120425
BuildRequires: pkgconfig(libcsystem) >= 20120425
BuildRequires: pkgconfig(libcthreads) >= 20130723 BuildRequires: pkgconfig(libcthreads) >= 20130723
BuildRequires: pkgconfig(libfcache) >= 20120405 BuildRequires: pkgconfig(libfcache) >= 20120405
BuildRequires: pkgconfig(libfdata) >= 20120405 BuildRequires: pkgconfig(libfdata) >= 20120405
BuildRequires: pkgconfig(libuna) >= 20120425 BuildRequires: pkgconfig(libuna) >= 20120425
BuildRequires: pkgconfig(openssl) >= 1.0 BuildRequires: pkgconfig(openssl) >= 1.0
BuildRequires: pkgconfig(zlib) >= 1.2.5 BuildRequires: pkgconfig(zlib) >= 1.2.5
# using these packages from factory breaks the build, verified 2/25/2107
#BuildRequires: pkgconfig(libcpath) > 20170108
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -74,61 +72,90 @@ version 3 support
Multi-threading support Multi-threading support
%package -n %{lname} %package -n %{lname}
Summary: Library to access Microsoft PFF and OFF format files Summary: Library to access the QEMU Copy-On-Write (QCOW) image format
License: LGPL-3.0+ License: LGPL-3.0+
Group: System/Libraries Group: System/Libraries
%description -n %{lname} %description -n %{lname}
libqcow is a library to access the Personal Folder File (PFF) and the Library to access the QEMU Copy-On-Write (QCOW) image format.
Offline Folder File (OFF) format. These are used in several file
Types: PAB (Personal Address Book), PST (Personal Storage Table) and Read supported QCOW formats:
OST (Offline Storage Table).
version 1
version 2
Supported QCOW format features:
compression
encryption
QCOW format features not supported at the moment:
backing file-based snapshots
in-image snapshots
%package tools %package tools
Summary: Tools to access Microsoft PST and OST files Summary: Tools to access the QEMU Copy-On-Write (QCOW) image format
License: LGPL-3.0+ License: LGPL-3.0+
Group: Productivity/File utilities Group: Productivity/File utilities
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
%description tools %description tools
Tools to access the Personal Folder File (PFF) and the Offline Folder Tools to access the QEMU Copy-On-Write (QCOW) image format.
File (OFF) format. These are used in several file types: PAB
(Personal Address Book), PST (Personal Storage Table) and OST Read supported QCOW formats:
(Offline Storage Table).
version 1
version 2
Supported QCOW format features:
compression
encryption
QCOW format features not supported at the moment:
backing file-based snapshots
in-image snapshots
%package devel %package devel
Summary: Development files for libqcow, a PFF/OFF file format library Summary: Development files for libqcow
License: LGPL-3.0+ and GFDL-1.1+ and GFDL-1.3+ License: LGPL-3.0+ and GFDL-1.1+ and GFDL-1.3+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
%description devel %description devel
libqcow is a library to access the Personal Folder File (PFF) and the libqcow is a library to access the QEMU Copy-On-Write (QCOW) image format.
Offline Folder File (OFF) format. These are used in several file
Types: PAB (Personal Address Book), PST (Personal Storage Table) and
OST (Offline Storage Table).
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 libqcow. applications that want to make use of libqcow.
%package -n python-%{name} %package -n python2-%{name}
Summary: Python bindings for libqcow, a PFF/OFF file format parser Summary: Python 2 bindings for libqcow
License: LGPL-3.0+ License: LGPL-3.0+
Group: Development/Libraries/Python Group: Development/Languages/Python
Requires: python Requires: python
BuildRequires: pkgconfig(python2)
Provides: pyqcow = %{version} Provides: pyqcow = %{version}
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
%description -n python-%{name} %description -n python2-%{name}
Python bindings for libqcow, which can read Personal Folder File (PFF) Python 2 bindings for libqcow, which can access the QEMU Copy-On-Write (QCOW) image format
and Offline Folder File (OFF) formats.
%package -n python3-%{name}
Summary: Python 3 bindings for libqcow
License: LGPL-3.0+
Group: Development/Languages/Python
Requires: python3
BuildRequires: pkgconfig(python3)
Provides: pyqcow = %{version}
Requires: %{lname} = %{version}
%description -n python3-%{name}
Python 3 bindings for libqcow, which can access the QEMU Copy-On-Write (QCOW) image format
%prep %prep
%setup -q -n libqcow-%{timestamp} %setup -q -n libqcow-%{timestamp}
cp "%{SOURCE2}" . cp "%{SOURCE2}" .
%build %build
%configure --disable-static --enable-wide-character-type --enable-python %configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -160,9 +187,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/pkgconfig/libqcow.pc %{_libdir}/pkgconfig/libqcow.pc
%{_mandir}/man3/libqcow.3* %{_mandir}/man3/libqcow.3*
%files -n python-%{name} %files -n python2-%{name}
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog %doc AUTHORS COPYING README ChangeLog
%{python_sitearch}/pyqcow.so %{python_sitearch}/pyqcow.so
%files -n python3-%{name}
%defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog
%{python3_sitearch}/pyqcow.so
%changelog %changelog