Fix memory leak.
[llvm-complete.git] / llvm.spec.in
blob1091f2d9f818ab56bffe14f45c7cbecd29d5c420
1 Name: @PACKAGE_NAME@
2 Version: @PACKAGE_VERSION@
3 Release: 0
4 Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
5 License: University of Illinois/NCSA Open Source License
6 Vendor: None (open source)
7 Group: Development/Compilers
8 URL: http://llvm..org/
9 Source: http://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-root
11 Requires: /sbin/ldconfig
12 BuildRequires: gcc >= 3.4
14 %description
15 LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
16 and idle-time optimization of programs from arbitrary programming languages.
17 LLVM is written in C++ and has been developed since 2000 at the University of
18 Illinois and Apple. It currently supports compilation of C and C++ programs,
19 using front-ends derived from GCC 3.4 and 4.0.1. The compiler infrastructure
20 includes mirror sets of programming tools as well as libraries with equivalent
21 functionality.
23 %prep
24 %setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
26 %build
27 ./configure \
28 --prefix=%{_prefix} \
29 --bindir=%{_bindir} \
30 --datadir=%{_datadir} \
31 --includedir=%{_includedir} \
32 --libdir=%{_libdir} \
33 --enable-optimized \
34 --enable-assertions
35 make tools-only
37 %install
38 rm -rf %{buildroot}
39 make install DESTDIR=%{buildroot}
41 %clean
42 rm -rf %{buildroot}
44 %post -p /sbin/ldconfig
46 %postun -p /sbin/ldconfig
48 %files
49 %defattr(-, root, root)
50 %doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
51 %{_bindir}/*
52 %{_libdir}/*.o
53 %{_libdir}/*.a
54 %{_libdir}/*.so
55 %{_includedir}/llvm
57 %changelog
58 * Fri Aug 04 2006 Reid Spencer
59 - Updates for release 1.8
60 * Fri Apr 07 2006 Reid Spencer
61 - Make the build be optimized+assertions
62 * Fri May 13 2005 Reid Spencer
63 - Minor adjustments for the 1.5 release
64 * Mon Feb 09 2003 Brian R. Gaeke
65 - Initial working version of RPM spec file.