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 |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 4 | Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure) |
| 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 |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 18 | Illinois and Apple. It currently supports compilation of C and C++ programs, |
Reid Spencer | 422fa62 | 2006-08-21 01:58:57 +0000 | [diff] [blame] | 19 | using front-ends derived from GCC 3.4 and 4.0.1. The compiler infrastructure |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 20 | includes mirror sets of programming tools as well as libraries with equivalent |
Reid Spencer | 0b2bc7e | 2005-05-14 05:52:07 +0000 | [diff] [blame] | 21 | functionality. |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 22 | |
| 23 | %prep |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 24 | %setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@ |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 25 | |
| 26 | %build |
| 27 | ./configure \ |
| 28 | --prefix=%{_prefix} \ |
| 29 | --bindir=%{_bindir} \ |
| 30 | --datadir=%{_datadir} \ |
| 31 | --includedir=%{_includedir} \ |
Reid Spencer | 2583f6b | 2006-04-07 16:07:37 +0000 | [diff] [blame] | 32 | --libdir=%{_libdir} \ |
| 33 | --enable-optimized \ |
Reid Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 34 | --enable-assertions |
| 35 | make tools-only |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 36 | |
| 37 | %install |
| 38 | rm -rf %{buildroot} |
| 39 | make install DESTDIR=%{buildroot} |
| 40 | |
| 41 | %clean |
| 42 | rm -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 Spencer | 10e4663 | 2006-08-16 00:42:52 +0000 | [diff] [blame] | 58 | * Fri Aug 04 2006 Reid Spencer |
| 59 | - Updates for release 1.8 |
Reid Spencer | 2583f6b | 2006-04-07 16:07:37 +0000 | [diff] [blame] | 60 | * Fri Apr 07 2006 Reid Spencer |
| 61 | - Make the build be optimized+assertions |
Reid Spencer | 0b2bc7e | 2005-05-14 05:52:07 +0000 | [diff] [blame] | 62 | * Fri May 13 2005 Reid Spencer |
| 63 | - Minor adjustments for the 1.5 release |
Brian Gaeke | 9f4b90d | 2004-02-10 03:57:51 +0000 | [diff] [blame] | 64 | * Mon Feb 09 2003 Brian R. Gaeke |
| 65 | - Initial working version of RPM spec file. |
| 66 | |