1 %define module decompyle
3 Summary: Python 1.5 Decompiler
8 Group: Development/Languages/Python
9 Source0: http://downloads.sourceforge.net/decompyle/decompyle_%{version}.tar.gz
10 # Source0-md5: 6d715feebf748fb0da3b8c1f705584b3
11 Patch0: %{name}-hack.patch
12 URL: http://sourceforge.net/projects/decompyle/
13 BuildRequires: python-devel
14 BuildRequires: rpmbuild(macros) >= 1.710
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Decompyle is a Python 1.5 disassembler and decompiler which converts
19 Python 1.5 byte-code (.pyc or .pyo) back into equivalent Python
20 source. Verification of the produced code (re-compiled) is avaliable
24 %setup -q -n %{module}-%{version}.orig
31 rm -rf $RPM_BUILD_ROOT
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %doc ANNOUNCE CHANGES README TODO
43 %attr(755,root,root) %{_bindir}/decompyle
44 %dir %{py_sitedir}/decompyle
45 %{py_sitedir}/decompyle/*.py*
46 %{py_sitedir}/decompyle-*.egg-info
47 %attr(755,root,root) %{py_sitedir}/decompyle/marshal_*.so