forked from pool/binwalk
Accepting request 837806 from home:mnhauke
- Create (via help2man) and package manpage - Recommend more unpacking programs * capstone, cramfs-tools, cramfsswap, jefferson, lhasa, lzop, sasquatch, sleuthkit, squashfs, srecord, ubi_reader, yaffshiv OBS-URL: https://build.opensuse.org/request/show/837806 OBS-URL: https://build.opensuse.org/package/show/devel:tools/binwalk?expand=0&rev=19
This commit is contained in:
parent
cd763567e8
commit
1448d52a30
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 25 16:08:57 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Create (via help2man) and package manpage
|
||||
- Recommend more unpacking programs
|
||||
* capstone, cramfs-tools, cramfsswap, jefferson, lhasa, lzop,
|
||||
sasquatch, sleuthkit, squashfs, srecord, ubi_reader, yaffshiv
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 19:05:14 UTC 2020 - Klaus Kämpf <kkaempf@suse.com>
|
||||
|
||||
|
19
binwalk.spec
19
binwalk.spec
@ -24,6 +24,7 @@ License: MIT
|
||||
URL: https://github.com/devttys0/binwalk
|
||||
Source: https://github.com/devttys0/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: help2man
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-curses
|
||||
BuildRequires: python3-setuptools
|
||||
@ -34,10 +35,22 @@ Requires: python3-curses
|
||||
Requires: ssdeep
|
||||
Recommends: bzip2
|
||||
Recommends: cabextract
|
||||
Recommends: capstone
|
||||
Recommends: cpio
|
||||
Recommends: cramfs-tools
|
||||
Recommends: cramfsswap
|
||||
Recommends: gzip
|
||||
Recommends: jefferson
|
||||
Recommends: lhasa
|
||||
Recommends: lzop
|
||||
Recommends: sasquatch
|
||||
Recommends: sleuthkit
|
||||
Recommends: squashfs
|
||||
Recommends: srecord
|
||||
Recommends: ubi_reader
|
||||
Recommends: unrar
|
||||
Recommends: xz
|
||||
Recommends: yaffshiv
|
||||
Recommends: zlib
|
||||
Suggests: java
|
||||
BuildArch: noarch
|
||||
@ -60,6 +73,7 @@ bootloaders, filesystems, etc.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i -e '/^#!\//, 1d' src/binwalk/plugins/hilink.py
|
||||
|
||||
%build
|
||||
%python3_build
|
||||
@ -67,11 +81,16 @@ bootloaders, filesystems, etc.
|
||||
%install
|
||||
%python3_install
|
||||
chmod 644 API.md
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
help2man %{buildroot}/%{_bindir}/binwalk --no-discard-stderr --version-string="%{version}" --no-info > binwalk.1
|
||||
install -Dpm 0644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc API.md
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/binwalk.1%{?ext_man}
|
||||
%{python3_sitelib}/%{name}/
|
||||
%{python3_sitelib}/%{name}-*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user