1 Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
5 License: University of Illinois/NCSA Open Source License
6 Group: Development/Languages
8 Source0: http://llvm.org/releases/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: b930e7213b37acc934d0d163cf13af18
10 Patch0: %{name}-dirs.patch
11 BuildRequires: gcc >= 3.4
12 Requires: /sbin/ldconfig
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 LLVM is a compiler infrastructure designed for compile-time,
17 link-time, runtime, and idle-time optimization of programs from
18 arbitrary programming languages. LLVM is written in C++ and has been
19 developed since 2000 at the University of Illinois and Apple. It
20 currently supports compilation of C and C++ programs, using front-ends
21 derived from GCC 4.0.1. A new front-end for the C family of languages
22 is in development. The compiler infrastructure includes mirror sets of
23 programming tools as well as libraries with equivalent functionality.
37 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
45 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
50 %defattr(644,root,root,755)
51 %doc CREDITS.TXT LICENSE.TXT README.txt docs
52 %attr(755,root,root) %{_bindir}/*
56 %attr(755,root,root) %{_libdir}/*.so*