+%define keepstatic 1
+
Name: llvm
Summary: PUT SUMMARY HERE
Version: 3.8.1
This package contains library and header files needed to develop
new native programs that use the LLVM infrastructure.
+%package static-devel
+Summary: Static libraries for LLVM
+Requires: %{name} = %{version}
+
+%description static-devel
+This package contains static libraries needed to develop new
+native programs that use the LLVM infrastructure.
+
%package -n libllvm
Summary: LLVM shared libraries
rm -rf %{buildroot}/usr/lib/debug/*
-rm -rf %{buildroot}%{library_dir}/lib*.a
%post -n clang -p /sbin/ldconfig
%postun -n clang -p /sbin/ldconfig
%{install_prefix}/include/llvm-c/*
%{install_prefix}/share/*
+%files static-devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{library_dir}/lib*.a
+
%files -n libllvm
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{library_dir}/libLLVM*.so*
-
%files -n clang
%manifest %{name}.manifest
%defattr(-,root,root,-)