Fix bugs section.
[llvm-complete.git] / llvm.spec.in
blob9284d65d00774595585385c4e862f21a2eff0f7b
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 4.0.1. A new front-end for the C family of
20 languages is in development. The compiler infrastructure
21 includes mirror sets of programming tools as well as libraries with equivalent
22 functionality.
24 %prep
25 %setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
27 %build
28 ./configure \
29 --prefix=%{_prefix} \
30 --bindir=%{_bindir} \
31 --datadir=%{_datadir} \
32 --includedir=%{_includedir} \
33 --libdir=%{_libdir} \
34 --enable-optimized \
35 --enable-assertions
36 make tools-only
38 %install
39 rm -rf %{buildroot}
40 make install DESTDIR=%{buildroot}
42 %clean
43 rm -rf %{buildroot}
45 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
49 %files
50 %defattr(-, root, root)
51 %doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
52 %{_bindir}/*
53 %{_libdir}/*.o
54 %{_libdir}/*.a
55 %{_libdir}/*.so
56 %{_includedir}/llvm
58 %changelog
59 * Fri Aug 04 2006 Reid Spencer
60 - Updates for release 1.8
61 * Fri Apr 07 2006 Reid Spencer
62 - Make the build be optimized+assertions
63 * Fri May 13 2005 Reid Spencer
64 - Minor adjustments for the 1.5 release
65 * Mon Feb 09 2003 Brian R. Gaeke
66 - Initial working version of RPM spec file.