SHA256
1
0
forked from pool/llvm
Ismail Dönmez 2011-06-01 19:48:25 +00:00 committed by Git OBS Bridge
parent 46b5e4ff85
commit 9d08f1c43c

View File

@ -241,6 +241,9 @@ for i in docs/CommandGuide/*.pod tools/clang/docs/tools/*.pod; do
groff -Tps -man $i > %{buildroot}%{_mandir}/man1/$page.1;
done
# Remove gtest library
rm -f %{buildroot}%{_libdir}/libgtest.*
%fdupes -s %{buildroot}%{_docdir}/%{name}
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
@ -265,6 +268,7 @@ done
%exclude %{_mandir}/man1/%{name}-config.1%{ext_man}
%{_mandir}/man1/llvm*.1%{ext_man}
%{_mandir}/man1/opt.1%{ext_man}
%{_mandir}/man1/FileCheck.1%{ext_man}
%files clang
%defattr(-,root,root)
@ -315,13 +319,22 @@ done
%defattr(-,root,root)
%{_includedir}/clang
%{_includedir}/clang-c
%{_libdir}/libclang*
%files devel
%defattr(-,root,root,-)
%{_bindir}/%{name}-config
%{_datadir}/llvm/cmake/*
%doc %{_mandir}/man1/%{name}-config.1%{ext_man}
%{_includedir}/%{name}/
%{_includedir}/%{name}-c/
%{_libdir}/libLLVM*
%{_libdir}/BugpointPasses.so
%{_libdir}/LLVMHello.so
%{_libdir}/libCompilerDriver.a
%{_libdir}/libEnhancedDisassembly.*
%{_libdir}/libLTO.*
%{_libdir}/*profile_rt*
%files doc
%defattr(-,root,root,-)