commit satsolver-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package satsolver-bindings for openSUSE:Factory checked in at Wed Mar 23 13:52:04 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ satsolver-bindings/satsolver-bindings.changes 2011-02-01 20:09:27.000000000 +0100 @@ -0,0 +1,24 @@ +------------------------------------------------------------------- +Tue Feb 1 12:51:05 UTC 2011 - kkaempf@novell.com + +- Split satsolver-bindings from satsolver in order to provide + stable bindings across multiple versions of satsolver. +- Bump version to 0.42 + +------------------------------------------------------------------- +Mon Sep 6 13:50:02 UTC 2010 - dmacvicar@novell.com + +- ruby bindings: fix bugs regarding include path loading + (was hardcoded) and refactor the way the library path is defined + (only once in a helper) + +------------------------------------------------------------------- +Mon Sep 6 12:38:21 UTC 2010 - dmacvicar@novell.com + +- SLE10SP3 also has vendor_ruby + +------------------------------------------------------------------- +Wed Aug 18 14:11:08 UTC 2010 - kkaempf@novell.com + +- refactor ruby-satsolver, pure-Ruby extensions added +- 0.15.1 calling whatdependson for head-i586 New: ---- satsolver-bindings-0.42.0.tar.bz2 satsolver-bindings.changes satsolver-bindings.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ satsolver-bindings.spec ++++++ # # spec file for package satsolver-bindings # # Copyright (c) 2011 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 # 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/ # Name: satsolver-bindings Version: 0.42.0 Release: 1 License: BSD3c Url: git://gitorious.org/opensuse/sat-solver-bindings.git Source: satsolver-bindings-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/C and C++ Summary: Placeholder for subpackages of satsolver-bindings Prefix: /usr BuildRequires: libsatsolver-devel BuildRequires: doxygen %if 0%{?mandriva_version} # force this version on mandriva BuildRequires: libneon0.26-devel %endif %if 0%{?fedora_version} BuildRequires: db4-devel perl-devel %endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: ruby %if 0%{?fedora_version} || 0%{?rhel_version} > 500 || 0%{?centos_version} > 500 BuildRequires: ruby-rdoc %endif %endif %if 0%{?suse_version} %if 0%{?suse_version} < 1030 BuildRequires: expat %else BuildRequires: libexpat-devel %endif %if 0%{?suse_version} < 1100 BuildRequires: graphviz %endif %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif %else BuildRequires: expat-devel %endif BuildRequires: cmake gcc-c++ perl python-devel rpm-devel ruby-devel swig BuildRequires: zlib-devel # the testsuite uses the check framework BuildRequires: check-devel # add macros if not already defined %{!?py_sitedir: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?py_requires: %define py_requires Requires: python} %{!?ruby_sitelib: %global ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"] ')} %{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')} %description This is not a package but a .spec placeholder fo subpackages of satsolver-bindings. %package -n libsatsolverapp0 License: BSD3c Summary: Sat-solver application layer Group: Development/Libraries/C and C++ %description -n libsatsolverapp0 An application layer to make using satsolver easier for developers. Authors: -------- Klaus Kaempf <kkaempf@suse.de> %package -n libsatsolverapp0-devel License: BSD3c Summary: Sat-solver application layer Group: Development/Libraries/C and C++ Requires: %{name} = %version %description -n libsatsolverapp0-devel Development files for libsatsolverapp Authors: -------- Klaus Kaempf <kkaempf@suse.de> %package -n ruby-satsolver License: BSD3c Summary: Ruby bindings for sat solver Group: Development/Languages/Ruby %description -n ruby-satsolver Ruby bindings for sat solver. Authors: -------- Klaus Kaempf <kkaempf@suse.de> Duncan Mac-Vicar P. <dmacvicar@suse.de> %package -n python-satsolver License: BSD3c %py_requires Summary: Python bindings for sat solver Group: Development/Languages/Python %description -n python-satsolver Python bindings for sat solver. Authors: -------- Klaus Kaempf <kkaempf@suse.de> Duncan Mac-Vicar P. <dmacvicar@suse.de> %package -n perl-satsolver License: BSD3c Requires: perl = %{perl_version} Summary: Perl bindings for sat solver Group: Development/Languages/Perl %description -n perl-satsolver Perl bindings for sat solver. Authors: -------- Klaus Kaempf <kkaempf@suse.de> Duncan Mac-Vicar P. <dmacvicar@suse.de> Bernhard Wiedemann <bwiedemann@suse.de> %package -n satsolver-bindings-devel License: BSD3c Requires: swig %{name}-devel Summary: Swig input files for satsolver bindings Group: Development/Libraries/Other %description -n satsolver-bindings-devel The Swig input files for satsolver bindings allow for reuse of the bindings concept in other projects, i.e. libzypp-bindings. Authors: -------- Klaus Kaempf <kkaempf@suse.de> %prep %setup -n %{name}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$CFLAGS" CMAKE_FLAGS= %if 0%{?fedora_version} CMAKE_FLAGS="-DFEDORA=1" %endif # Hack for openSUSE 11.1, satsolver has different ruleinfo there %if 0%{?suse_version} == 1110 && 0%{?sles_version} == 0 CMAKE_FLAGS="-DSATSOLVER_VERSION=1110" %endif cmake $CMAKE_FLAGS \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DPYTHON_SITEDIR=%{py_sitedir} \ -DLIB=%{_lib} \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=1 make %{?jobs:-j %jobs} # make doc_forced %if 0%{?run_testsuite} ln -s . build ctest . %endif %install make DESTDIR=$RPM_BUILD_ROOT install # we want to leave the .a file untouched export NO_BRP_STRIP_DEBUG=true #pushd doc/autodoc #make install #popd %if 0%{?suse_version} > 1020 # create symlinks for documentation #%fdupes -s %{buildroot}%{_docdir}/ruby-satsolver %fdupes -s bindings/ruby/html %endif %clean rm -rf "$RPM_BUILD_ROOT" %files -n libsatsolverapp0 %defattr(-,root,root) %doc LICENSE* README %files -n libsatsolverapp0-devel %defattr(-,root,root) %_libdir/libsatsolverapp.a %dir /usr/include/satsolver-app /usr/include/satsolver-app/* %files -n ruby-satsolver %defattr(-,root,root,-) # SUSE %if 0%{?suse_version} %if 0%{?suse_version} < 1010 %dir %{_libdir}/ruby/site_ruby/%{rb_ver}/%{rb_arch} %dir %{_libdir}/ruby/site_ruby/%{rb_ver}/satsolver %{_libdir}/ruby/site_ruby/%{rb_ver}/satsolver/*.rb %{_libdir}/ruby/site_ruby/%{rb_ver}/satsolver.rb %{_libdir}/ruby/site_ruby/%{rb_ver}/%{rb_arch}/satsolver.so %else %dir %{_libdir}/ruby/vendor_ruby/%{rb_ver}/satsolver %{_libdir}/ruby/vendor_ruby/%{rb_ver}/satsolver/*.rb %{_libdir}/ruby/vendor_ruby/%{rb_ver}/satsolver.rb %{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/satsolver.so %endif %endif # Mandriva %if 0%{?mandriva_version} %dir %{ruby_sitelibdir}/satsolver %{ruby_sitelibdir}/satsolver/*.rb %{ruby_sitelibdir}/satsolver.rb %{ruby_sitearchdir}/satsolver.so %endif # Fedora/RHEL/Centos %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} %dir %{ruby_sitelib}/satsolver %{ruby_sitelib}/satsolver.rb %{ruby_sitelib}/satsolver/*.rb %{ruby_sitearch}/satsolver.so %endif # rdoc-swig doesn't work with Ruby 1.8.1 on RHEL4 %if 0%{?rhel_version} == 0 || 0%{?rhel_version} >= 500 %doc bindings/ruby/html %endif %files -n python-satsolver %defattr(-,root,root,-) #%doc swig/python/examples/*.py %{py_sitedir}/_satsolver.so %{py_sitedir}/satsolver.py* %files -n perl-satsolver %defattr(-,root,root,-) %{perl_vendorarch}/satsolver.so %{perl_vendorlib}/satsolver.pm %files -n satsolver-bindings-devel %defattr(-,root,root,-) %dir %{prefix}/share/satsolver-bindings %{prefix}/share/satsolver-bindings/*.i %{prefix}/share/satsolver-bindings/*.h %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de