blob: 0a3f6e807849aaf28c90514eab1af6c4fe2fb2f2 [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
Jim Grosbachc48d4dc2012-01-25 22:00:23 +00004Summary: LLVM (An Optimizing Compiler Infrastructure)
Reid Spencer10e46632006-08-16 00:42:52 +00005License: 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
Gabor Greiff70414f2007-07-13 09:48:29 +000018Illinois and Apple. It currently supports compilation of C and C++ programs,
19using front-ends derived from GCC 4.0.1. A new front-end for the C family of
20languages is in development. The compiler infrastructure
Reid Spencer10e46632006-08-16 00:42:52 +000021includes mirror sets of programming tools as well as libraries with equivalent
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000022functionality.
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000023
24%prep
Reid Spencer10e46632006-08-16 00:42:52 +000025%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000026
27%build
28./configure \
29--prefix=%{_prefix} \
30--bindir=%{_bindir} \
31--datadir=%{_datadir} \
32--includedir=%{_includedir} \
Reid Spencer2583f6b2006-04-07 16:07:37 +000033--libdir=%{_libdir} \
34--enable-optimized \
Reid Spencer10e46632006-08-16 00:42:52 +000035--enable-assertions
36make tools-only
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000037
38%install
39rm -rf %{buildroot}
40make install DESTDIR=%{buildroot}
41
42%clean
43rm -rf %{buildroot}
44
45%post -p /sbin/ldconfig
46
47%postun -p /sbin/ldconfig
48
49%files
50%defattr(-, root, root)
51%doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
52%{_bindir}/*
53%{_libdir}/*.o
54%{_libdir}/*.a
55%{_libdir}/*.so
56%{_includedir}/llvm
57
58%changelog
Reid Spencer10e46632006-08-16 00:42:52 +000059* Fri Aug 04 2006 Reid Spencer
60- Updates for release 1.8
Reid Spencer2583f6b2006-04-07 16:07:37 +000061* Fri Apr 07 2006 Reid Spencer
62- Make the build be optimized+assertions
Reid Spencer0b2bc7e2005-05-14 05:52:07 +000063* Fri May 13 2005 Reid Spencer
64- Minor adjustments for the 1.5 release
Brian Gaeke9f4b90d2004-02-10 03:57:51 +000065* Mon Feb 09 2003 Brian R. Gaeke
66- Initial working version of RPM spec file.
67