From: <kk...@us...> - 2008-09-18 13:39:06
|
Revision: 1008 http://omc.svn.sourceforge.net/omc/?rev=1008&view=rev Author: kkaempf Date: 2008-09-18 13:39:16 +0000 (Thu, 18 Sep 2008) Log Message: ----------- push OpenSUSE Buildservice fixes upstream. Modified Paths: -------------- cmpi-bindings/trunk/package/cmpi-bindings.changes cmpi-bindings/trunk/package/cmpi-bindings.spec.in Modified: cmpi-bindings/trunk/package/cmpi-bindings.changes =================================================================== --- cmpi-bindings/trunk/package/cmpi-bindings.changes 2008-09-18 04:50:54 UTC (rev 1007) +++ cmpi-bindings/trunk/package/cmpi-bindings.changes 2008-09-18 13:39:16 UTC (rev 1008) @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Sep 17 02:10:37 CEST 2008 - mru...@su... + +- provide the main package for the debug package. we dont use + debug_package_requires here as it would enforce to install both + packages. + +------------------------------------------------------------------- Thu Sep 11 15:29:08 CEST 2008 - kk...@su... - Support Python threads, do proper locking Modified: cmpi-bindings/trunk/package/cmpi-bindings.spec.in =================================================================== --- cmpi-bindings/trunk/package/cmpi-bindings.spec.in 2008-09-18 04:50:54 UTC (rev 1007) +++ cmpi-bindings/trunk/package/cmpi-bindings.spec.in 2008-09-18 13:39:16 UTC (rev 1008) @@ -2,22 +2,29 @@ # spec file for package cmpi-bindings # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # nodebuginfo +Url: http://omc-project.com Name: @PACKAGE@ Version: @VERSION@ Release: 0 -License: GPL -Summary: Bindings for cmpi -Group: Development/Sources +License: BSD 3-Clause; EPL 1.0 +Summary: Adapter to write and run CMPI-type CIM providers +Group: Development/Libraries/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: cmake gcc-c++ ruby-devel python-devel swig +BuildRequires: cmake gcc-c++ python-devel ruby-devel swig BuildRequires: sblim-sfcb Source: %{name}-%{version}.tar.bz2 Prefix: /usr @@ -49,8 +56,10 @@ %{__rm} -rf %{buildroot} %package -n cmpi-bindings-ruby -Summary: Ruby bindings for cmpi +Summary: Adapter to write and run CMPI-type CIM providers in Ruby Group: Development/Languages/Ruby +# for the debug package. we dont use debug_package_requires here as it would enforce to install both packages. +Provides: %{name} = %{version}-%{release} %description -n cmpi-bindings-ruby - @@ -61,8 +70,10 @@ %{_libdir}/ruby/vendor_ruby/%{rb_ver}/rcmpi_instance.rb %package -n cmpi-bindings-pywbem -Summary: Python bindings for cmpi +Summary: Adapter to write and run CMPI-type CIM providers in Python Group: Development/Languages/Python +# for the debug package. we dont use debug_package_requires here as it would enforce to install both packages. +Provides: %{name} = %{version}-%{release} %description -n cmpi-bindings-pywbem - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kk...@us...> - 2009-08-10 07:32:34
|
Revision: 1174 http://omc.svn.sourceforge.net/omc/?rev=1174&view=rev Author: kkaempf Date: 2009-08-10 07:32:20 +0000 (Mon, 10 Aug 2009) Log Message: ----------- use new python macros Modified Paths: -------------- cmpi-bindings/trunk/package/cmpi-bindings.changes cmpi-bindings/trunk/package/cmpi-bindings.spec.in Modified: cmpi-bindings/trunk/package/cmpi-bindings.changes =================================================================== --- cmpi-bindings/trunk/package/cmpi-bindings.changes 2009-05-05 14:56:53 UTC (rev 1173) +++ cmpi-bindings/trunk/package/cmpi-bindings.changes 2009-08-10 07:32:20 UTC (rev 1174) @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sun Aug 9 08:45:29 CEST 2009 - co...@no... + +- use new python macros + +------------------------------------------------------------------- Thu Oct 23 13:53:28 MDT 2008 - np...@no... - Update to latest code, prep for release for python bindings Modified: cmpi-bindings/trunk/package/cmpi-bindings.spec.in =================================================================== --- cmpi-bindings/trunk/package/cmpi-bindings.spec.in 2009-05-05 14:56:53 UTC (rev 1173) +++ cmpi-bindings/trunk/package/cmpi-bindings.spec.in 2009-08-10 07:32:20 UTC (rev 1174) @@ -82,7 +82,7 @@ #define some macros missing on fedora %if 0%{?fedora_version} -%{!?py_sitedir: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitelib: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?py_requires: %define py_requires Requires: python} %endif %{py_requires} @@ -93,10 +93,10 @@ %files -n cmpi-bindings-pywbem %defattr(-,root,root,-) %{_libdir}/cmpi/libpyCmpiProvider.so -%{py_sitedir}/cmpi_pywbem_bindings.py -%{py_sitedir}/cmpi_pywbem_bindings.pyc -%{py_sitedir}/cmpi.py -%{py_sitedir}/cmpi.pyc +%{python_sitelib}/cmpi_pywbem_bindings.py +%{python_sitelib}/cmpi_pywbem_bindings.pyc +%{python_sitelib}/cmpi.py +%{python_sitelib}/cmpi.pyc %package -n cmpi-bindings-perl Requires: perl = %{perl_version} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kk...@us...> - 2010-01-13 09:26:36
|
Revision: 1176 http://omc.svn.sourceforge.net/omc/?rev=1176&view=rev Author: kkaempf Date: 2010-01-13 09:26:30 +0000 (Wed, 13 Jan 2010) Log Message: ----------- fix build for Fedora and RHEL Modified Paths: -------------- cmpi-bindings/trunk/package/cmpi-bindings.changes cmpi-bindings/trunk/package/cmpi-bindings.spec.in Modified: cmpi-bindings/trunk/package/cmpi-bindings.changes =================================================================== --- cmpi-bindings/trunk/package/cmpi-bindings.changes 2009-11-04 17:25:48 UTC (rev 1175) +++ cmpi-bindings/trunk/package/cmpi-bindings.changes 2010-01-13 09:26:30 UTC (rev 1176) @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Jan 13 10:25:15 CET 2010 - kk...@su... + +- Fix build for Fedora and RHEL + +------------------------------------------------------------------- Sun Aug 9 08:45:29 CEST 2009 - co...@no... - use new python macros Modified: cmpi-bindings/trunk/package/cmpi-bindings.spec.in =================================================================== --- cmpi-bindings/trunk/package/cmpi-bindings.spec.in 2009-11-04 17:25:48 UTC (rev 1175) +++ cmpi-bindings/trunk/package/cmpi-bindings.spec.in 2010-01-13 09:26:30 UTC (rev 1176) @@ -24,9 +24,44 @@ Summary: Adapter to write and run CMPI-type CIM providers Group: Development/Libraries/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake gcc-c++ + # We need swig threads support. -BuildRequires: cmake gcc-c++ python-devel ruby-devel swig >= 1.3.34 perl -BuildRequires: sblim-sfcb +BuildRequires: swig >= 1.3.34 + +BuildRequires: sblim-cmpi-devel + +BuildRequires: python-devel perl + +%if 0%{?rhel_version} > 0 +BuildRequires: -vim +%endif + +%if 0%{?fedora} + 0%{?rhel_version} > 0 +BuildRequires: curl-devel pkgconfig ruby ruby-devel +%if 0%{?fedora} > 0 +BuildRequires: perl-devel +%endif +%endif + +%if 0%{?suse_version} > 0 + +BuildRequires: libcurl-devel +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes +%endif + +# SLE9 +%if 0%{?suse_version} < 920 +BuildRequires: pkgconfig ruby +%else +BuildRequires: ruby-devel +BuildRequires: pkg-config +%endif + +%endif + + Source: %{name}-%{version}.tar.bz2 Prefix: /usr @@ -34,7 +69,7 @@ - %prep -%setup -q +%setup -q %build mkdir build @@ -61,6 +96,16 @@ Group: Development/Languages/Ruby # for the debug package. we dont use debug_package_requires here as it would enforce to install both packages. Provides: %{name} = %{version}-%{release} +%if 0%{?fedora} + 0%{?rhel_version} > 0 +Requires: ruby(abi) = 1.8 +%endif +%if 0%{?suse_version} > 1110 +Requires: ruby(abi) = 1.8 +%endif +%if 0%{?ruby_sitelib} == 0 +%{!?ruby_sitelib: %global ruby_sitelib %(ruby -r rbconfig -e 'vd = Config::CONFIG["vendorlibdir"]; print(vd ? vd : Config::CONFIG["sitelibdir"])')} +%{!?ruby_sitearch: %global ruby_sitearch %(ruby -r rbconfig -e 'vad = Config::CONFIG["vendorarchdir"]; print(vad ? vad : Config::CONFIG["sitearchdir"])')} +%endif %description -n cmpi-bindings-ruby - @@ -68,23 +113,16 @@ %files -n cmpi-bindings-ruby %defattr(-,root,root,-) %{_libdir}/cmpi/librbCmpiProvider.so -%if 0%{?sles_version} == 10 -%{_libdir}/ruby/site_ruby/%{rb_ver}/cmpi_rbwbem_bindings.rb -%else -%{_libdir}/ruby/vendor_ruby/%{rb_ver}/cmpi_rbwbem_bindings.rb -%endif +%{ruby_sitelib}/cmpi_rbwbem_bindings.rb %package -n cmpi-bindings-pywbem Summary: Adapter to write and run CMPI-type CIM providers in Python Group: Development/Languages/Python # for the debug package. we dont use debug_package_requires here as it would enforce to install both packages. Provides: %{name} = %{version}-%{release} - -#define some macros missing on fedora -%if 0%{?fedora_version} -%{!?python_sitelib: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?py_requires: %define py_requires Requires: python} -%endif %{py_requires} %description -n cmpi-bindings-pywbem This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |