Hello community, here is the log from the commit of package konkretcmpi for openSUSE:Factory checked in at 2013-04-05 13:09:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/konkretcmpi (Old) and /work/SRC/openSUSE:Factory/.konkretcmpi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "konkretcmpi", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/konkretcmpi/konkretcmpi.changes 2012-04-02 19:52:54.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.konkretcmpi.new/konkretcmpi.changes 2013-04-05 13:09:57.000000000 +0200 @@ -1,0 +2,17 @@ +Mon Mar 11 16:15:15 UTC 2013 - [email protected] + +- Split off -devel subpackage + +------------------------------------------------------------------- +Mon Mar 11 13:56:51 UTC 2013 - [email protected] + +- Update to 0.9.0 + * Use CMake as buildsystem (added FindCMPI.cmake and + FindKonkretCMPI.cmake modules) + * Python bindings for the MOF parser + * Fixed using experimental schema + * Assertion crash fixed + * Add missing headers + * Many other minor bugs fixed + +------------------------------------------------------------------- Old: ---- konkretcmpi-0.8.7.tar.gz New: ---- konkretcmpi-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ konkretcmpi.spec ++++++ --- /var/tmp/diff_new_pack.fhgzS0/_old 2013-04-05 13:10:00.000000000 +0200 +++ /var/tmp/diff_new_pack.fhgzS0/_new 2013-04-05 13:10:00.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package konkretcmpi # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,15 @@ Name: konkretcmpi +Version: 0.9.0 +Release: 0 +BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: sblim-cmpi-devel -Url: http://konkretcmpi.org/ +Url: https://github.com/rnovacek/konkretcmpi # Increment the version every time the source code changes. -Version: 0.8.7 -Release: 0 -Summary: An open-source library/tool for rapidly developing CMPI providers in the C programming language +Summary: A tool for developing CMPI providers in the C programming language License: MIT Group: Development/Libraries/C and C++ # This is necessary to build the RPM as a non-root user. @@ -33,9 +34,10 @@ # setting it to "no" Requires: cim-schema >= 2.17 Requires: cim-server +Requires: cmake Requires: sblim-cmpi-devel +#Source0: https://github.com/rnovacek/konkretcmpi/archive/%{version}/konkretcmpi-%{version}.tar.gz Source0: konkretcmpi-%{version}.tar.gz -Patch0: konkretcmpi-gcc47.patch %description An open-source tool for rapidly developing CMPI providers in the C @@ -44,43 +46,66 @@ definitions and by providing default implementations for many of the provider operations. +%package devel +Requires: %{name} = %{version} +Summary: Development files for konkretcmpi +Group: Development/Libraries/C and C++ - -Authors: --------- - Michael E. Brasher +%description devel +Development files for konkretcmpi %prep # Untar the sources. %setup -n konkretcmpi-%{version} -%patch0 -p1 %build -CFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ -CXXFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ -%configure --with-schema=%{_datadir}/mof/cim-current +rm -rf build +mkdir build +cd build +# --with-schema=%{_datadir}/mof/cim-current +cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_VERBOSE_MAKEFILE=TRUE \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS -fstack-protector" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS -fstack-protector" \ + -DCMAKE_SKIP_RPATH=1 \ + -DPACKAGE_ARCHITECTURE=`uname -m` \ + -DEXPLICIT_TARGET="$EXPLICIT_TARGET" \ + -DLIB=%{_lib} \ + .. + %{__make} %install +cd build +%if 0%{?suse_version} %makeinstall +%else +make DESTDIR=$RPM_BUILD_ROOT install +%endif +cd .. %clean %{__rm} -rf $RPM_BUILD_ROOT -%pre - %post -p /sbin/ldconfig -%preun - %postun -p /sbin/ldconfig %files %defattr(-,root,root) +%{_libdir}/libkonkret.so.* +%{_libdir}/libkonkretmof.so.* + +%files devel +%defattr(-,root,root) %dir %{_includedir}/konkret %{_includedir}/konkret/*.h -%{_libdir}/*.a* +%{_libdir}/libkonkret.so +%{_libdir}/libkonkretmof.so %{_bindir}/konkret %{_bindir}/konkretreg +%{_datadir}/cmake/Modules/* %changelog ++++++ konkretcmpi-0.8.7.tar.gz -> konkretcmpi-0.9.0.tar.gz ++++++ ++++ 46695 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
