SPECS: llvm.spec (NEW) - initial, nfy

undefine undefine at pld-linux.org
Sun Oct 21 15:35:06 CEST 2007


Author: undefine                     Date: Sun Oct 21 13:35:06 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, nfy

---- Files affected:
SPECS:
   llvm.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/llvm.spec
diff -u /dev/null SPECS/llvm.spec:1.1
--- /dev/null	Sun Oct 21 15:35:06 2007
+++ SPECS/llvm.spec	Sun Oct 21 15:35:01 2007
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+Summary:	The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
+Name:		llvm
+Version:	2.1
+Release:	0.1
+License:	University of Illinois/NCSA Open Source License
+Group:		Development/Languages
+URL:		http://llvm.org/
+Source0:	http://llvm.org/releases/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	b930e7213b37acc934d0d163cf13af18
+Patch0:		%{name}-dirs.patch
+BuildRequires:	gcc >= 3.4
+Requires:	/sbin/ldconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+LLVM is a compiler infrastructure designed for compile-time,
+link-time, runtime, and idle-time optimization of programs from
+arbitrary programming languages. LLVM is written in C++ and has been
+developed since 2000 at the University of Illinois and Apple. It
+currently supports compilation of C and C++ programs, using front-ends
+derived from GCC 4.0.1. A new front-end for the C family of languages
+is in development. The compiler infrastructure includes mirror sets of
+programming tools as well as libraries with equivalent functionality.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+%configure \
+	--enable-optimized \
+	--enable-assertions
+
+%{__make} tools-only
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS.TXT LICENSE.TXT README.txt docs
+%attr(755,root,root) %{_bindir}/*
+%{_libdir}/*.o
+%{_libdir}/*.a
+%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/*.so*
+%{_includedir}/llvm
+%{_mandir}/man?/llvm*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/10/21 13:35:01  undefine
+- initial, nfy
+
+* Fri Aug 04 2006 Reid Spencer
+- Updates for release 1.8
+* Fri Apr 07 2006 Reid Spencer
+- Make the build be optimized+assertions
+* Fri May 13 2005 Reid Spencer
+- Minor adjustments for the 1.5 release
+* Mon Feb 09 2003 Brian R. Gaeke
+- Initial working version of RPM spec file.
+
================================================================


More information about the pld-cvs-commit mailing list