Files
ghidra-data/ghidra-data.spec

58 lines
1.8 KiB
RPMSpec

#
# spec file for package ghidra-data
#
# Copyright (c) 2020 SUSE LINUX 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/
#
Name: ghidra-data
Version: 9.2
Release: 0
Summary: Supporting Data Archives for Ghidra (Windows)
License: Apache-2.0
Group: Development/Libraries/Java
Url: https://ghidra-sre.org
Source0: https://github.com/NationalSecurityAgency/%{name}/archive/Ghidra_%{version}_build.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: ghidra
%description
These are datasets for Ghidra's Function Identification analyzer.
Covering Visual Studio 2012, 2015, 2017, and 2019 as well as older
versions.
%prep
%setup -q -n %{name}-Ghidra_%{version}_build
%build
%install
mkdir -p %{buildroot}%{_libdir}/ghidra/Ghidra/Features/FunctionID
rm FunctionID/*md
cp -a FunctionID %{buildroot}%{_libdir}/ghidra/Ghidra/Features/FunctionID/data
%files
%defattr(-,root,root)
%dir %{_libdir}/ghidra
%dir %{_libdir}/ghidra/Ghidra
%dir %{_libdir}/ghidra/Ghidra/Features
%dir %{_libdir}/ghidra/Ghidra/Features/FunctionID
%dir %{_libdir}/ghidra/Ghidra/Features/FunctionID/data
%{_libdir}/ghidra/Ghidra/Features/FunctionID/data/*
%changelog