Accepting request 792043 from home:gregfreemyer:Tools-for-forensic-boot-cd
- update to v0~20191221 * minor release * Worked on Python wheel support - add python3 bindings submodule OBS-URL: https://build.opensuse.org/request/show/792043 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwsi?expand=0&rev=12
This commit is contained in:
parent
a427ae0f3d
commit
2e0f92606b
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a604da34dd37138f3b0f1f29bb8030a9b4c22042666839ed2b9d1f758c37a73b
|
|
||||||
size 1296946
|
|
3
libfwsi-experimental-20191221.tar.gz
Normal file
3
libfwsi-experimental-20191221.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:923fb8b533b00ba4bdd4d1491d58af19dd53508e856d18e188e4083963f12a3c
|
||||||
|
size 1314475
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 7 19:21:03 UTC 2020 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
- update to v0~20191221
|
||||||
|
* minor release
|
||||||
|
* Worked on Python wheel support
|
||||||
|
- add python3 bindings submodule
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 15 22:16:20 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
Mon Apr 15 22:16:20 UTC 2019 - Greg Freemyer <Greg.Freemyer@gmail.com>
|
||||||
|
|
||||||
|
39
libfwsi.spec
39
libfwsi.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libfwsi
|
# spec file for package libfwsi
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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,18 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define lname libfwsi1
|
%define lname libfwsi1
|
||||||
%define timestamp 20181227
|
%define timestamp 20191221
|
||||||
Name: libfwsi
|
Name: libfwsi
|
||||||
Version: 0~%{timestamp}
|
Version: 0~%{timestamp}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to access the Windows Shell Item format
|
Summary: Library to access the Windows Shell Item format
|
||||||
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Url: https://github.com/libyal/libfwsi/wiki
|
URL: https://github.com/libyal/libfwsi/wiki
|
||||||
Source: https://github.com/libyal/libfwsi/releases/download/%timestamp/%name-experimental-%timestamp.tar.gz
|
Source: https://github.com/libyal/libfwsi/releases/download/%timestamp/%name-experimental-%timestamp.tar.gz
|
||||||
Source2: Windows_Shell_Item_format.pdf
|
Source2: Windows_Shell_Item_format.pdf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: pkgconfig(libcdata) >= 20140105
|
BuildRequires: pkgconfig(libcdata) >= 20140105
|
||||||
BuildRequires: pkgconfig(libcerror) >= 20140105
|
BuildRequires: pkgconfig(libcerror) >= 20140105
|
||||||
BuildRequires: pkgconfig(libclocale)
|
BuildRequires: pkgconfig(libclocale)
|
||||||
@ -68,23 +67,33 @@ Library to access the Windows Shell Item format for the libyal family of librari
|
|||||||
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 libfwsi.
|
applications that want to make use of libfwsi.
|
||||||
|
|
||||||
%package -n python-%name
|
%package -n python2-%name
|
||||||
|
Summary: Python2 bindings for libfwsi
|
||||||
|
License: LGPL-3.0-or-later
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
Requires: %{lname} = %{version}
|
||||||
|
BuildRequires: pkgconfig(python2)
|
||||||
|
Obsoletes: pyfwsi <= 20191221
|
||||||
|
|
||||||
|
%description -n python2-%name
|
||||||
|
Python2 bindings for libfwsi, a library to access Windows Shell Items.
|
||||||
|
|
||||||
|
%package -n python3-%name
|
||||||
Summary: Python bindings for libfwsi
|
Summary: Python bindings for libfwsi
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{lname} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
Requires: python
|
BuildRequires: pkgconfig(python3)
|
||||||
Provides: pyfwsi = %{version}
|
|
||||||
|
|
||||||
%description -n python-%name
|
%description -n python3-%name
|
||||||
Python bindings for libfwsi, a library to access Windows Shell Items.
|
Python3 bindings for libfwsi, a library to access Windows Shell Items.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libfwsi-%{timestamp}
|
%setup -q -n libfwsi-%{timestamp}
|
||||||
cp "%{S:2}" .
|
cp "%{S:2}" .
|
||||||
|
|
||||||
%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
|
||||||
@ -112,10 +121,16 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/pkgconfig/libfwsi.pc
|
%{_libdir}/pkgconfig/libfwsi.pc
|
||||||
%{_mandir}/man3/libfwsi.3*
|
%{_mandir}/man3/libfwsi.3*
|
||||||
|
|
||||||
%files -n python-%name
|
%files -n python2-%name
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog
|
%doc AUTHORS ChangeLog
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%python_sitearch/pyfwsi.so
|
%python2_sitearch/pyfwsi.so
|
||||||
|
|
||||||
|
%files -n python3-%name
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog
|
||||||
|
%license COPYING
|
||||||
|
%python3_sitearch/pyfwsi.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user