blob: 1091f2d9f818ab56bffe14f45c7cbecd29d5c420 [file] [log] [blame]
Reid Spencer10e46632006-08-16 00:42:52 +00001Name: @PACKAGE_NAME@
2Version: @PACKAGE_VERSION@
Brian Gaeke9f4b90d2004-02-10 03:57:51 +00003Release: 0
Reid Spencer10e46632006-08-16 00:42:52 +00004Summary: 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
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000010BuildRoot: %{_tmppath}/%{name}-root
11Requires: /sbin/ldconfig
Reid Spencer10e46632006-08-16 00:42:52 +000012BuildRequires: gcc >= 3.4
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000013
14%description
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000015LLVM is a compiler infrastructure designed for compile-time, link-time, runtime,
Reid Spencer10e46632006-08-16 00:42:52 +000016and idle-time optimization of programs from arbitrary programming languages.
Misha Brukman0e9dfcb2005-05-18 20:23:20 +000017LLVM is written in C++ and has been developed since 2000 at the University of
Reid Spencer10e46632006-08-16 00:42:52 +000018Illinois and Apple. It currently supports compilation of C and C++ programs,
Reid Spencer422fa622006-08-21 01:58:57 +000019using front-ends derived from GCC 3.4 and 4.0.1. The compiler infrastructure
Reid Spencer10e46632006-08-16 00:42:52 +000020includes mirror sets of programming tools as well as libraries with equivalent
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000021functionality.
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000022
23%prep
Reid Spencer10e46632006-08-16 00:42:52 +000024%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000025
26%build
27./configure \
28--prefix=%{_prefix} \
29--bindir=%{_bindir} \
30--datadir=%{_datadir} \
31--includedir=%{_includedir} \
Reid Spencer2583f6b2006-04-07 16:07:37 +000032--libdir=%{_libdir} \
33--enable-optimized \
Reid Spencer10e46632006-08-16 00:42:52 +000034--enable-assertions
35make tools-only
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000036
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
Reid Spencer10e46632006-08-16 00:42:52 +000058* Fri Aug 04 2006 Reid Spencer
59- Updates for release 1.8
Reid Spencer2583f6b2006-04-07 16:07:37 +000060* Fri Apr 07 2006 Reid Spencer
61- Make the build be optimized+assertions
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000062* Fri May 13 2005 Reid Spencer
63- Minor adjustments for the 1.5 release
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000064* Mon Feb 09 2003 Brian R. Gaeke
65- Initial working version of RPM spec file.
66