Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 1 | Name: @PACKAGE_NAME@ |
| 2 | Version: @PACKAGE_VERSION@ |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 3 | Release: 0 |
Jim Grosbach | c48d4dc | 2012-01-25 22:00:23 +0000 | [diff] [blame] | 4 | Summary: LLVM (An Optimizing Compiler Infrastructure) |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 5 | License: University of Illinois/NCSA Open Source License |
| 6 | Vendor: None (open source) |
| 7 | Group: Development/Compilers |
| 8 | URL: http://llvm..org/ |
| 9 | Source: http://llvm.org/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 10 | BuildRoot: %{_tmppath}/%{name}-root |
| 11 | Requires: /sbin/ldconfig |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 12 | BuildRequires: gcc >= 3.4 |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 13 | |
| 14 | %description |
Reid Spencer | 0b2bc7e | 2005-05-14 05:52:07 +0000 | [diff] [blame] | 15 | LLVM is a compiler infrastructure designed for compile-time, link-time, runtime, |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 16 | and idle-time optimization of programs from arbitrary programming languages. |
Misha Brukman | 0e9dfcb | 2005-05-18 20:23:20 +0000 | [diff] [blame] | 17 | LLVM is written in C++ and has been developed since 2000 at the University of |
Gabor Greif | f70414f | 2007-07-13 09:48:29 +0000 | [diff] [blame] | 18 | Illinois and Apple. It currently supports compilation of C and C++ programs, |
| 19 | using front-ends derived from GCC 4.0.1. A new front-end for the C family of |
| 20 | languages is in development. The compiler infrastructure |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 21 | includes mirror sets of programming tools as well as libraries with equivalent |
Reid Spencer | 0b2bc7e | 2005-05-14 05:52:07 +0000 | [diff] [blame] | 22 | functionality. |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 23 | |
| 24 | %prep |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 25 | %setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@ |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 26 | |
| 27 | %build |
| 28 | ./configure \ |
| 29 | --prefix=%{_prefix} \ |
| 30 | --bindir=%{_bindir} \ |
| 31 | --datadir=%{_datadir} \ |
| 32 | --includedir=%{_includedir} \ |
Reid Spencer | 2583f6b | 2006-04-07 16:07:37 +0000 | [diff] [blame] | 33 | --libdir=%{_libdir} \ |
| 34 | --enable-optimized \ |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 35 | --enable-assertions |
| 36 | make tools-only |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 37 | |
| 38 | %install |
| 39 | rm -rf %{buildroot} |
| 40 | make install DESTDIR=%{buildroot} |
| 41 | |
| 42 | %clean |
| 43 | rm -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 Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 59 | * Fri Aug 04 2006 Reid Spencer |
| 60 | - Updates for release 1.8 |
Reid Spencer | 2583f6b | 2006-04-07 16:07:37 +0000 | [diff] [blame] | 61 | * Fri Apr 07 2006 Reid Spencer |
| 62 | - Make the build be optimized+assertions |
Reid Spencer | 0b2bc7e | 2005-05-14 05:52:07 +0000 | [diff] [blame] | 63 | * Fri May 13 2005 Reid Spencer |
| 64 | - Minor adjustments for the 1.5 release |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 65 | * Mon Feb 09 2003 Brian R. Gaeke |
| 66 | - Initial working version of RPM spec file. |
| 67 | |