]> git.pld-linux.org Git - packages/boomerang.git/blame - boomerang.spec
- looks like they are not using classic flex++
[packages/boomerang.git] / boomerang.spec
CommitLineData
cfcf678f
AM
1Summary: An attempt at a general, open source, retargetable decompiler of native executable files
2Name: boomerang
3Version: 0.0.0.20040707
4Release: 0.1
5License: GPL
6Group: Development/Languages
7Source0: %{name}.tar.gz
8# Source0-md5: 97d2b1825b3e2d5bcd85df48eb15a45e
9URL: http://boomerang.sourceforge.net/
10BuildRequires: bison++
720a611d
AM
11BuildRequires: flex
12BuildRequires: gc-devel
13BuildRequires: cppunit-devel
cfcf678f
AM
14BuildRequires: expat-devel
15BuildRequires: libstdc++-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19An attempt to develop a real decompiler through the open source
20community. A decompiler takes as input an executable file, and
21attempts to create a high level, compilable, even maintainable source
22file that does the same thing. It is therefore the opposite of a
23compiler, which of course takes a source file and makes an executable.
24It won't of course recreate the original source file; probably nothing
25like it. It does not matter if the executable file has symbols or not,
26or was compiled from any particular language. (However, languages like
27ML that are usually interpreted are not considered.)
28
29The intent is to create a retargetable decompiler (i.e. one that can
30work with different types of input executable files with modest
31effort, e.g. X86-windows, sparc-solaris, etc). It will be highly
32modular, so that different parts of the decompiler can be replaced
33with experimental modules. It is intended to eventually become
34interactive, a la IDA Pro, because some things (not just variable
35names and comments, though these are obviously very important) require
36expert intervention.
37
38%prep
39%setup -q -n %{name}
40
41%build
720a611d 42ln -s %{_includedir}/cppunit include/cppunit
cfcf678f
AM
43%configure
44
45%{__make} \
720a611d
AM
46 C="%{__cc} %{rpmcflags} -I%{_includedir}/gc" \
47 CC="%{__cxx} %{rpmcflags} -I%{_includedir}/gc"
cfcf678f
AM
48
49%install
50rm -rf $RPM_BUILD_ROOT
51install -d $RPM_BUILD_ROOT%{_libdir}/emacs/site-lisp
52
53%{__make} install \
54 DESTDIR="$RPM_BUILD_ROOT"
55
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
This page took 0.076872 seconds and 4 git commands to generate.