Hello community, here is the log from the commit of package mcpp for openSUSE:Factory checked in at 2012-11-02 17:30:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mcpp (Old) and /work/SRC/openSUSE:Factory/.mcpp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mcpp", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/mcpp/mcpp.changes 2011-09-23 02:12:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mcpp.new/mcpp.changes 2012-11-02 17:30:41.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Oct 18 16:49:49 UTC 2012 - [email protected] + +- enable building of the shared library + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mcpp.spec ++++++ --- /var/tmp/diff_new_pack.ByEo47/_old 2012-11-02 17:30:42.000000000 +0100 +++ /var/tmp/diff_new_pack.ByEo47/_new 2012-11-02 17:30:42.000000000 +0100 @@ -39,26 +39,63 @@ -------- Kiyoshi Matsui <[email protected]> +%define _libname libmcpp0 +%package -n %{_libname} +# +Summary: The shared library of Matsui's C Preprocessor +Group: Development/Libraries/C and C++ + +%description -n %{_libname} +mcpp is a small and portable C/C++ preprocessor implementing all of +C90, C99 and C++98. + +This package holds the shared libraries of libev. + +%package devel +# +Summary: Development files for mcpp +Group: Development/Libraries/C and C++ +Requires: %{_libname} = %{version} +Requires: %{name} = %{version} +%description devel +mcpp is a small and portable C/C++ preprocessor implementing all of +C90, C99 and C++98. + +This package holds the development files for libev. + %prep %setup -q %patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -D_BSD_SOURCE" -%configure +%configure --enable-mcpplib make %{?jobs:-j %jobs} %install %makeinstall rm -rf $RPM_BUILD_ROOT/usr/share/doc/mcpp +rm -rf %{buildroot}%{_libdir}/libmcpp.*a %clean rm -rf $RPM_BUILD_ROOT +%post -n %{_libname} -p /sbin/ldconfig +%postun -n %{_libname} -p /sbin/ldconfig + %files %defattr(-, root, root) %doc doc/mcpp-manual.html LICENSE NEWS README %{_prefix}/bin/* %{_mandir}/man1/mcpp.1.gz +%files -n %{_libname} +%defattr(-,root,root,-) +%{_libdir}/libmcpp.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/mcpp_*.h +%{_libdir}/libmcpp.so + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
