|
 |
f6754d6 |
Name: androguard
|
|
 |
f6754d6 |
Version: 3.3.5
|
|
 |
91fd7e0 |
Release: 12%{?dist}
|
|
 |
f6754d6 |
Summary: Reverse engineering, mal- or goodware analysis of Android applications
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
License: ASL 2.0
|
|
 |
f6754d6 |
URL: https://github.com/androguard/androguard/
|
|
 |
f6754d6 |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
 |
f6754d6 |
Source1: %{name}.desktop
|
|
 |
f6754d6 |
BuildArch: noarch
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
BuildRequires: python3-devel
|
|
 |
b804e3c |
BuildRequires: python3-setuptools
|
|
 |
f6754d6 |
BuildRequires: python3-mock
|
|
 |
f6754d6 |
BuildRequires: python3-pytest
|
|
 |
f6754d6 |
BuildRequires: python3-magic
|
|
 |
f6754d6 |
BuildRequires: python3-asn1crypto
|
|
 |
f6754d6 |
BuildRequires: python3-click
|
|
 |
f6754d6 |
BuildRequires: python3-future
|
|
 |
f6754d6 |
BuildRequires: python3-lxml
|
|
 |
f6754d6 |
BuildRequires: python3-ipython
|
|
 |
f6754d6 |
BuildRequires: python3-networkx
|
|
 |
f6754d6 |
BuildRequires: python3-pydot
|
|
 |
f6754d6 |
BuildRequires: desktop-file-utils
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
Requires: python3-magic
|
|
 |
f6754d6 |
Requires: python3-pyperclip
|
|
 |
f6754d6 |
Requires: python3-qt5
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%description
|
|
 |
f6754d6 |
Androguard is a tool to play with Android files.
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
- DEX, ODEX
|
|
 |
f6754d6 |
- APK
|
|
 |
f6754d6 |
- Android's binary XML
|
|
 |
f6754d6 |
- Android resources
|
|
 |
f6754d6 |
- Disassemble DEX/ODEX bytecodes
|
|
 |
f6754d6 |
- Decompiler for DEX/ODEX files
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%package docs
|
|
 |
f6754d6 |
Summary: Androguard documentation
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
BuildRequires: python3-sphinx
|
|
 |
f6754d6 |
BuildRequires: python3-sphinxcontrib-programoutput
|
|
 |
f6754d6 |
BuildRequires: python3-sphinx_rtd_theme
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%description docs
|
|
 |
f6754d6 |
Documentation for Androguard.
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%prep
|
|
 |
f6754d6 |
%autosetup
|
|
 |
f6754d6 |
sed -i -e '/^#!\//, 1d' androguard/cli/entry_points.py
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%build
|
|
 |
f6754d6 |
%py3_build
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%install
|
|
 |
f6754d6 |
%py3_install
|
|
 |
f6754d6 |
PATH=%{buildroot}%{_bindir}:$PATH PYTHONPATH=%{buildroot}%{python3_sitelib} sphinx-build-3 docs html
|
|
 |
f6754d6 |
rm -rf html/.{doctrees,buildinfo}
|
|
 |
f6754d6 |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
for file in androarsc.py androaxml.py androcg.py androdd.py androdis.py androgui.py androlyze.py androsign.py; do
|
|
 |
f6754d6 |
mv %{buildroot}%{_bindir}/$file -T %{buildroot}%{_bindir}/$(echo "$file" | cut -f 1 -d '.')
|
|
 |
f6754d6 |
done
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%check
|
|
 |
f6754d6 |
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \
|
|
 |
f6754d6 |
-k "not testMagic and not EntryPointsTest"
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%files
|
|
 |
f6754d6 |
%doc README.md
|
|
 |
f6754d6 |
%license LICENCE-2.0
|
|
 |
f6754d6 |
%{_bindir}/andro*
|
|
 |
f6754d6 |
%{_datadir}/applications/%{name}.desktop
|
|
 |
f6754d6 |
%{python3_sitelib}/%{name}/
|
|
 |
f6754d6 |
%{python3_sitelib}/*.egg-info/
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%files docs
|
|
 |
f6754d6 |
%doc html examples
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
%changelog
|
|
 |
91fd7e0 |
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-12
|
|
 |
91fd7e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
 |
91fd7e0 |
|
|
 |
a84c01c |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-11
|
|
 |
a84c01c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
 |
a84c01c |
|
|
 |
733e616 |
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 3.3.5-10
|
|
 |
733e616 |
- Rebuilt for Python 3.11
|
|
 |
733e616 |
|
|
 |
2c83248 |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-9
|
|
 |
2c83248 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
2c83248 |
|
|
 |
1749652 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-8
|
|
 |
1749652 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
1749652 |
|
|
 |
599c40c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.3.5-7
|
|
 |
599c40c |
- Rebuilt for Python 3.10
|
|
 |
599c40c |
|
|
 |
51f3d53 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-6
|
|
 |
51f3d53 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
51f3d53 |
|
|
 |
60798e1 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.5-5
|
|
 |
60798e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
60798e1 |
|
|
 |
b804e3c |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.3.5-4
|
|
 |
b804e3c |
- Add python3-setuptools as BR
|
|
 |
b804e3c |
|
|
 |
cabe60b |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 3.3.5-3
|
|
 |
cabe60b |
- Rebuilt for Python 3.9
|
|
 |
cabe60b |
|
|
 |
f6754d6 |
* Wed Apr 01 2020 Fabian Affolter <mail@fabian-affolter.ch> - 3.3.5-2
|
|
 |
f6754d6 |
- Add docs subpackage (rhbz#1786653)
|
|
 |
f6754d6 |
- Enable tests
|
|
 |
f6754d6 |
- Fix requirements
|
|
 |
f6754d6 |
|
|
 |
f6754d6 |
* Sat Dec 14 2019 Fabian Affolter <mail@fabian-affolter.ch> - 3.3.5-1
|
|
 |
f6754d6 |
- Initial package for Fedora
|