#%define name androguard #%define version 3.0 #%define unmangled_version 3.0 #%define unmangled_version 3.0 #%define release 1 Summary: Reverse engineering, Malware and goodware analysis of Android applications Name: androguard Version: 3.0 Release: 0.1%{?dist} Source0: https://pypi.python.org/packages/source/a/androguard/androguard-3.0.tar.gz License: Apache License v2.0 Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch URL: https://github.com/androguard/androguard Requires: python-ipython python-ipython-console python-magic python-pygments pydot python-ptrace python-fuzzywuzzy python-pyside mercury muParser BuildRequires: python-devel BuildRequires: python-setuptools %description Androguard is mainly a tool written in python to play with : * Dex/Odex (Dalvik virtual machine) (.dex) (disassemble, decompilation), * APK (Android application) (.apk), * Android's binary xml (.xml), * Android Resources (.arsc). %prep %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build python setup.py build %install python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Mon Nov 2 2015 - 3.0.1 - Updated to version 3.0 * Wed Sep 23 2015 - 2.0-0.2 - Updated to version 2.0 * Thu Mar 26 2015 - 1.9-5 - Git version : 900568b7eee681f4002d26bc896300df3de12c6c * Sun Jan 20 2013 Huaren Zhong - 1.9 - Rebuild for Fedora