blob: 469a7c08eb8b66fd3f0f19476243d30de2276989 [file] [log] [blame]
Brian Gaeke9f4b90d2004-02-10 03:57:51 +00001Summary: Static and JIT research compiler infrastructure
2Name: llvm
Reid Spencer0b2bc7e2005-05-14 05:52:07 +00003Version: 1.5
Brian Gaeke9f4b90d2004-02-10 03:57:51 +00004Release: 0
5License: U of Illinois/NCSA Open Source License
6Group: Development/Languages
7Source0: llvm.tar.gz
8URL: http://llvm.cs.uiuc.edu/releases/index.html
9#BuildRequires: llvm-gcc
10# (someday...)
11BuildRoot: %{_tmppath}/%{name}-root
12Requires: /sbin/ldconfig
13
14%description
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000015LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000016and "idle-time" optimization of programs from arbitrary programming languages.
17LLVM is written in C++ and has been developed since 2000 at the
18University of Illinois. It currently supports compilation of C and C++
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000019programs, using front-ends derived from GCC 3.4. The compiler infrastructure
20includes mirror sets of programming tools as well as libraries with equivalent
21functionality.
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000022
23%prep
24%setup -q -n llvm
25
26%build
27./configure \
28--prefix=%{_prefix} \
29--bindir=%{_bindir} \
30--datadir=%{_datadir} \
31--includedir=%{_includedir} \
32--libdir=%{_libdir}
33make
34
35%install
36rm -rf %{buildroot}
37make install DESTDIR=%{buildroot}
38
39%clean
40rm -rf %{buildroot}
41
42%post -p /sbin/ldconfig
43
44%postun -p /sbin/ldconfig
45
46%files
47%defattr(-, root, root)
48%doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
49%{_bindir}/*
50%{_libdir}/*.o
51%{_libdir}/*.a
52%{_libdir}/*.so
53%{_includedir}/llvm
54
55%changelog
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000056* Fri May 13 2005 Reid Spencer
57- Minor adjustments for the 1.5 release
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000058* Mon Feb 09 2003 Brian R. Gaeke
59- Initial working version of RPM spec file.
60