+
+%if %sgen == yes
+%package -n libmonosgen-2_0-0
+License: LGPL v2.1 only
+Summary: A Library for embedding Mono in your Application (sgen version)
+Group: Development/Libraries/C and C++
+
+%description -n libmonosgen-2_0-0
+The Mono Project is an open development initiative that is working to
+develop an open source, Unix version of the .NET development platform.
+Its objective is to enable Unix developers to build and deploy
+cross-platform .NET applications. The project will implement various
+technologies that have been submitted to the ECMA for standardization.
+
+A Library for embedding Mono in your Application (sgen version).
+
+%files -n libmonosgen-2_0-0
+%defattr(-, root, root)
+%_libdir/libmonosgen-2.0.so.0*
+%_libdir/pkgconfig/monosgen-2.pc
+
+%post -n libmonosgen-2_0-0 -p /sbin/ldconfig
+
+%postun -n libmonosgen-2_0-0 -p /sbin/ldconfig
+
+%package -n libmonosgen-2_0-devel
+License: LGPL v2.1 only
+Summary: Development files for libmonosgen
+Group: Development/Languages/Mono
+Requires: mono-core == %version-%release
+
+%description -n libmonosgen-2_0-devel
+The Mono Project is an open development initiative that is working to
+develop an open source, Unix version of the .NET development platform.
+Its objective is to enable Unix developers to build and deploy
+cross-platform .NET applications. The project will implement various
+technologies that have been submitted to the ECMA for standardization.
+
+Development files for libmonosgen.
+
+%files -n libmonosgen-2_0-devel
+%defattr(-, root, root)
+%_libdir/libmonosgen-2.0.a
+%_libdir/libmonosgen-2.0.so
+%endif
+
+%if %llvm == yes
+%package -n libmono-llvm0
+License: LGPL v2.1 only
+Summary: Loadable LLVM libary for mono
+Group: Development/Libraries/C and C++
+
+%description -n libmono-llvm0
+The Mono Project is an open development initiative that is working to
+develop an open source, Unix version of the .NET development platform.
+Its objective is to enable Unix developers to build and deploy
+cross-platform .NET applications. The project will implement various
+technologies that have been submitted to the ECMA for standardization.
+
+Loadable LLVM libary for mono.
+
+%files -n libmono-llvm0
+%defattr(-, root, root)
+%_libdir/libmono-llvm.so*
+
+%post -n libmono-llvm0 -p /sbin/ldconfig
+
+%postun -n libmono-llvm0 -p /sbin/ldconfig
+%endif