mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Merge branch 'f15' into f13
This commit is contained in:
commit
af6dfd6077
1 changed files with 29 additions and 8 deletions
37
llvm.spec
37
llvm.spec
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 2.8
|
Version: 2.8
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
@ -42,6 +42,7 @@ BuildRequires: dejagnu tcl-devel python
|
||||||
%if 0%{?_with_doxygen}
|
%if 0%{?_with_doxygen}
|
||||||
BuildRequires: doxygen graphviz
|
BuildRequires: doxygen graphviz
|
||||||
%endif
|
%endif
|
||||||
|
Requires: llvm-libs = %{version}-%{release}
|
||||||
|
|
||||||
# LLVM is not supported on PPC64
|
# LLVM is not supported on PPC64
|
||||||
# http://llvm.org/bugs/show_bug.cgi?id=3729
|
# http://llvm.org/bugs/show_bug.cgi?id=3729
|
||||||
|
@ -81,10 +82,19 @@ Obsoletes: %{name}-doc < %{version}-%{release}
|
||||||
Documentation for the LLVM compiler infrastructure.
|
Documentation for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: LLVM shared libraries
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Shared libraries for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
|
|
||||||
%package -n clang
|
%package -n clang
|
||||||
Summary: A C language family front-end for LLVM
|
Summary: A C language family front-end for LLVM
|
||||||
License: NCSA
|
License: NCSA
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
Requires: llvm = %{version}-%{release}
|
||||||
# clang requires gcc; clang++ gcc-c++
|
# clang requires gcc; clang++ gcc-c++
|
||||||
Requires: gcc-c++
|
Requires: gcc-c++
|
||||||
|
|
||||||
|
@ -309,24 +319,23 @@ chmod -x %{buildroot}%{_libdir}/%{name}/*.a
|
||||||
find examples -name 'Makefile' | xargs -0r rm -f
|
find examples -name 'Makefile' | xargs -0r rm -f
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
%post -n clang -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
%postun -n clang -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CREDITS.TXT LICENSE.TXT README.txt llvm-testlog.txt
|
%doc CREDITS.TXT LICENSE.TXT README.txt
|
||||||
%{_bindir}/bugpoint
|
%{_bindir}/bugpoint
|
||||||
%{_bindir}/llc
|
%{_bindir}/llc
|
||||||
%{_bindir}/lli
|
%{_bindir}/lli
|
||||||
%exclude %{_bindir}/llvm-config
|
%exclude %{_bindir}/llvm-config
|
||||||
%{_bindir}/llvm*
|
%{_bindir}/llvm*
|
||||||
%{_bindir}/opt
|
%{_bindir}/opt
|
||||||
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
|
|
||||||
%dir %{_libdir}/llvm
|
|
||||||
%{_libdir}/llvm/*.so
|
|
||||||
%exclude %{_mandir}/man1/clang.1.*
|
%exclude %{_mandir}/man1/clang.1.*
|
||||||
%exclude %{_mandir}/man1/llvmg??.1.*
|
%exclude %{_mandir}/man1/llvmg??.1.*
|
||||||
%doc %{_mandir}/man1/*.1.*
|
%doc %{_mandir}/man1/*.1.*
|
||||||
|
@ -338,12 +347,20 @@ find examples -name 'Makefile' | xargs -0r rm -f
|
||||||
%{_includedir}/%{name}-c
|
%{_includedir}/%{name}-c
|
||||||
%{_libdir}/%{name}/*.a
|
%{_libdir}/%{name}/*.a
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
|
||||||
|
%dir %{_libdir}/%{name}
|
||||||
|
%exclude %{_libdir}/%{name}/libclang.so
|
||||||
|
%{_libdir}/%{name}/*.so
|
||||||
|
|
||||||
%files -n clang
|
%files -n clang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc clang-docs/* clang-testlog.txt
|
%doc clang-docs/*
|
||||||
%{_bindir}/clang*
|
%{_bindir}/clang*
|
||||||
%{_bindir}/c-index-test
|
%{_bindir}/c-index-test
|
||||||
%{_bindir}/tblgen
|
%{_bindir}/tblgen
|
||||||
|
%{_libdir}/%{name}/libclang.so
|
||||||
%{_prefix}/lib/clang
|
%{_prefix}/lib/clang
|
||||||
%doc %{_mandir}/man1/clang.1.*
|
%doc %{_mandir}/man1/clang.1.*
|
||||||
|
|
||||||
|
@ -395,6 +412,10 @@ find examples -name 'Makefile' | xargs -0r rm -f
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.8-10
|
||||||
|
- Don't include test logs; breaks multilib (# 666195)
|
||||||
|
- Split shared libraries into separate subpackage
|
||||||
|
|
||||||
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.8-9
|
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.8-9
|
||||||
- clang++: fix platform-specific include dirs (# 680644)
|
- clang++: fix platform-specific include dirs (# 680644)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue