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)
15 %define _sysconfdir /etc/%{name}
18 LLVM is a compiler infrastructure designed for compile-time,
19 link-time, runtime, and idle-time optimization of programs from
20 arbitrary programming languages. LLVM is written in C++ and has been
21 developed since 2000 at the University of Illinois and Apple. It
22 currently supports compilation of C and C++ programs, using front-ends
23 derived from GCC 4.0.1. A new front-end for the C family of languages
24 is in development. The compiler infrastructure includes mirror sets of
25 programming tools as well as libraries with equivalent functionality.
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
44 find $RPM_BUILD_ROOT -name .dir |xargs rm -f
47 rm -rf $RPM_BUILD_ROOT
49 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 %defattr(644,root,root,755)
55 %doc CREDITS.TXT LICENSE.TXT README.txt docs
56 %attr(755,root,root) %{_bindir}/*
58 %verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/*
62 %attr(755,root,root) %{_libdir}/*.so*