packages: llvm/llvm.spec - 2.7 - Not finished yet (llvm depends on libLLVM-...
aredridel
aredridel at pld-linux.org
Tue Jun 1 04:18:22 CEST 2010
Author: aredridel Date: Tue Jun 1 02:18:22 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- 2.7
- Not finished yet (llvm depends on libLLVM-2.7.so from -devel)
---- Files affected:
packages/llvm:
llvm.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/llvm/llvm.spec
diff -u packages/llvm/llvm.spec:1.12 packages/llvm/llvm.spec:1.13
--- packages/llvm/llvm.spec:1.12 Sat Sep 19 22:17:41 2009
+++ packages/llvm/llvm.spec Tue Jun 1 04:18:16 2010
@@ -8,19 +8,14 @@
Summary: The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
Summary(pl.UTF-8): Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
Name: llvm
-Version: 2.6
+Version: 2.7
Release: 0.1
License: University of Illinois/NCSA Open Source License
Group: Development/Languages
-Source0: http://llvm.org/prereleases/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: d4d2cfbb962eca0c96aa1d794e23a681
-Source1: http://llvm.org/prereleases/2.6/clang-%{version}.tar.gz
-# Source1-md5: 80a2a9bbe8fa7c403b2ec7aca8b4108f
-# http://llvm.org/bugs/show_bug.cgi?id=3153
-Patch0: %{name}-2.6-destdir.patch
-Patch1: %{name}-2.6-destdir-clang.patch
-# http://llvm.org/bugs/show_bug.cgi?id=4911
-Patch2: %{name}-2.5-tclsh_check.patch
+Source0: http://llvm.org/releases/%{version}/%{name}-%{version}.tgz
+# Source0-md5: ac322661f20e7d6c810b1869f886ad9b
+Source1: http://llvm.org/releases/2.7/clang-%{version}.tgz
+# Source1-md5: b83260aa8c13494adf8978b5f238bf1b
# Data files should be installed with timestamps preserved
Patch3: %{name}-2.6-timestamp.patch
URL: http://llvm.org/
@@ -133,11 +128,6 @@
%prep
%setup -q -a1
mv clang-*.* tools/clang
-%patch0 -p0 -b .destdir
-cd tools/clang
-%patch1 -p0 -b .destdir-clang
-cd ../..
-%patch2 -p1 -b .tclsh_check
%patch3 -p1 -b .timestamp
%build
@@ -179,27 +169,20 @@
cd ..
# Static analyzer not installed by default:
-# http://clang-analyzer.llvm.org/installation#OtherPlatforms
-install -d $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/libexec
+install -d $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/
# wrong path used
install -d $RPM_BUILD_ROOT%{_libexecdir}
-mv $RPM_BUILD_ROOT/usr/libexec/clang-cc $RPM_BUILD_ROOT%{_libexecdir}/clang-cc
-# link clang-cc for scan-build to find
-ln -s %{_libexecdir}/clang-cc $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/libexec/
# create launchers
+
for f in scan-{build,view}; do
ln -s %{_libdir}/clang-analyzer/$f $RPM_BUILD_ROOT%{_bindir}/$f
done
-cd tools/clang/utils
-cp -p ccc-analyzer $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/libexec/
+cd tools/clang/tools/scan-build
for f in scan-build scanview.css sorttable.js; do
cp -p $f $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/
done
-cd ../../..
-
-cd tools/clang/tools/scan-view
cp -pr * $RPM_BUILD_ROOT%{_libdir}/clang-analyzer/
cd ../../../../
@@ -222,9 +205,6 @@
# Get rid of erroneously installed example files.
rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*LLVMHello.*
-# Remove deprecated tools.
-rm $RPM_BUILD_ROOT%{_bindir}/gcc{as,ld}
-
# FIXME file this bug
sed -i 's,ABS_RUN_DIR/lib",ABS_RUN_DIR/%{_lib}/%{name}",' \
$RPM_BUILD_ROOT%{_bindir}/llvm-config
@@ -279,13 +259,9 @@
%doc clang-docs/*
%doc tools/clang/docs/*
%attr(755,root,root) %{_bindir}/clang*
-%attr(755,root,root) %{_bindir}/FileCheck
-%attr(755,root,root) %{_bindir}/FileUpdate
%attr(755,root,root) %{_bindir}/tblgen
%{_prefix}/lib/clang
-%{_libexecdir}/clang-cc
%{_mandir}/man1/clang.1.*
-%{_mandir}/man1/FileCheck.1.*
%files -n clang-analyzer
%defattr(644,root,root,755)
@@ -293,10 +269,10 @@
%attr(755,root,root) %{_bindir}/scan-view
%dir %{_libdir}/clang-analyzer
%attr(755,root,root) %{_libdir}/clang-analyzer/scan-*
+%attr(755,root,root) %{_libdir}/clang-analyzer/c++-*
+%attr(755,root,root) %{_libdir}/clang-analyzer/ccc-*
+%attr(755,root,root) %{_libdir}/clang-analyzer/set-xcode-*
%{_libdir}/clang-analyzer/*.*
-%dir %{_libdir}/clang-analyzer/libexec
-%attr(755,root,root) %{_libdir}/clang-analyzer/libexec/*
-%{_libdir}/clang-analyzer/Resource
%files ocaml
%defattr(644,root,root,755)
@@ -316,6 +292,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2010/06/01 02:18:16 aredridel
+- 2.7
+- Not finished yet (llvm depends on libLLVM-2.7.so from -devel)
+
Revision 1.12 2009/09/19 20:17:41 arekm
- fix some files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/llvm/llvm.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list