SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2016-09-08 09:16:14 +00:00 committed by Git OBS Bridge
parent 32426b786f
commit 4c9c3d8dee
2 changed files with 20 additions and 12 deletions

View File

@ -1,4 +1,4 @@
libLLVM3_8 libLLVM3_8
libclang3_8 libclang3_8
llvm-devel llvm-devel
llvm-clang-devel clang-devel

View File

@ -143,7 +143,7 @@ Requires: oprofile-devel
This package contains library and header files needed to develop This package contains library and header files needed to develop
new native programs that use the LLVM infrastructure. new native programs that use the LLVM infrastructure.
%package clang %package -n clang
Summary: CLANG frontend for LLVM Summary: CLANG frontend for LLVM
Group: Development/Languages/Other Group: Development/Languages/Other
# Avoid multiple provider errors # Avoid multiple provider errors
@ -156,11 +156,17 @@ Recommends: scan-view
%if %{with openmp} %if %{with openmp}
Recommends: libomp Recommends: libomp
%endif %endif
%if %{with libcxx}
Recommends: libc++
Recommends: libc++-devel
%endif
Provides: llvm-clang = %{version}
Obsoletes: llvm-clang < %{version}
%description clang %description -n clang
This package contains the clang (C language) frontend for LLVM. This package contains the clang (C language) frontend for LLVM.
%package clang-checker %package -n clang-checker
Summary: Static code analyzer for CLANG Summary: Static code analyzer for CLANG
Group: Development/Languages/Other Group: Development/Languages/Other
# Avoid multiple provider errors # Avoid multiple provider errors
@ -170,7 +176,7 @@ Conflicts: otherproviders(scan-view)
Provides: scan-build Provides: scan-build
Provides: scan-view Provides: scan-view
%description clang-checker %description -n clang-checker
This package contains scan-build and scan-view, command line This package contains scan-build and scan-view, command line
static code analyzers for CLANG. static code analyzers for CLANG.
@ -184,14 +190,16 @@ Requires: libstdc++-devel
%description -n libclang%{_sonum} %description -n libclang%{_sonum}
This package contains the shared libraries needed for clang. This package contains the shared libraries needed for clang.
%package clang-devel %package -n clang-devel
Summary: CLANG frontend for LLVM (devel package) Summary: CLANG frontend for LLVM (devel package)
Group: Development/Languages/Other Group: Development/Languages/Other
Requires: llvm-clang = %{version} Requires: llvm-clang = %{version}
Requires: cmake(LLVM) = %{version} Requires: cmake(LLVM) = %{version}
Conflicts: otherproviders(cmake(Clang)) Conflicts: otherproviders(cmake(Clang))
Provides: llvm-clang-devel = %{version}
Obsoletes: llvm-clang-devel < %{version}
%description clang-devel %description -n clang-devel
This package contains the clang (C language) frontend for LLVM. This package contains the clang (C language) frontend for LLVM.
(development files) (development files)
@ -551,8 +559,8 @@ ninja -v %{?_smp_mflags} check-libcxxabi
%postun gold -p /sbin/ldconfig %postun gold -p /sbin/ldconfig
%post devel -p /sbin/ldconfig %post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig
%post clang-devel -p /sbin/ldconfig %post -n clang-devel -p /sbin/ldconfig
%postun clang-devel -p /sbin/ldconfig %postun -n clang-devel -p /sbin/ldconfig
%post LTO-devel -p /sbin/ldconfig %post LTO-devel -p /sbin/ldconfig
%postun LTO-devel -p /sbin/ldconfig %postun LTO-devel -p /sbin/ldconfig
@ -593,7 +601,7 @@ ninja -v %{?_smp_mflags} check-libcxxabi
%exclude %{_bindir}/llvm-config %exclude %{_bindir}/llvm-config
%exclude %{_mandir}/man1/llvm-config.1%{ext_man} %exclude %{_mandir}/man1/llvm-config.1%{ext_man}
%files clang %files -n clang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/c-index-test %{_bindir}/c-index-test
%{_bindir}/c++-analyzer %{_bindir}/c++-analyzer
@ -608,7 +616,7 @@ ninja -v %{?_smp_mflags} check-libcxxabi
%dir %{_libdir}/clang/ %dir %{_libdir}/clang/
%{_libdir}/clang/%{_relver}/ %{_libdir}/clang/%{_relver}/
%files clang-checker %files -n clang-checker
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/scan-build %{_bindir}/scan-build
%{_bindir}/scan-view %{_bindir}/scan-view
@ -674,7 +682,7 @@ ninja -v %{?_smp_mflags} check-libcxxabi
%{_docdir}/llvm/ %{_docdir}/llvm/
%{_mandir}/man1/llvm-config.1%{ext_man} %{_mandir}/man1/llvm-config.1%{ext_man}
%files clang-devel %files -n clang-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libclang*.so %{_libdir}/libclang*.so
%{_includedir}/clang/ %{_includedir}/clang/