blob: d1f53cb2e452dab7253d141b4f39fcfedbb67eba [file] [log] [blame]
Reid Spencer0afdce32006-08-16 00:42:52 +00001Name: @PACKAGE_NAME@
2Version: @PACKAGE_VERSION@
3Release: 0
4Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
5License: University of Illinois/NCSA Open Source License
6Vendor: None (open source)
7Group: Development/Compilers
8URL: http://llvm..org/
9Source: http://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz
10BuildRoot: %{_tmppath}/%{name}-root
11Requires: /sbin/ldconfig
12BuildRequires: gcc >= 3.4
13
14%description
15LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
16and idle-time optimization of programs from arbitrary programming languages.
17LLVM is written in C++ and has been developed since 2000 at the University of
18Illinois and Apple. It currently supports compilation of C and C++ programs,
19using front-ends derived from GCC 3.4 and 4.0.2. The compiler infrastructure
20includes mirror sets of programming tools as well as libraries with equivalent
21functionality.
22
23%prep
24%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
25
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
35make tools-only
36
37%install
38rm -rf %{buildroot}
39make install DESTDIR=%{buildroot}
40
41%clean
42rm -rf %{buildroot}
43
44%post -p /sbin/ldconfig
45
46%postun -p /sbin/ldconfig
47
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
56
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.
66