Hello community, here is the log from the commit of package openbabel for openSUSE:Factory checked in at 2018-02-20 17:56:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openbabel (Old) and /work/SRC/openSUSE:Factory/.openbabel.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openbabel" Tue Feb 20 17:56:09 2018 rev:32 rq:578245 version:2.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/openbabel/openbabel.changes 2016-06-21 12:29:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openbabel.new/openbabel.changes 2018-02-20 17:56:13.727972324 +0100 @@ -1,0 +2,35 @@ +Sun Feb 18 12:18:20 UTC 2018 - [email protected] + +- Fix RPM groups. Update descriptions. + +------------------------------------------------------------------- +Sat Feb 3 21:54:05 UTC 2018 - [email protected] + +- Force python2 by passing -DPYTHON_EXECUTABLE=%{_bindir}/python2 + to cmake to fix build on Tumbleweed + +------------------------------------------------------------------- +Mon Feb 6 12:34:16 UTC 2017 - [email protected] + +- build with wxWidgets support +- add baselibs.conf +- enable python support (for real now) +- add libinchi0 and openbabel sub packages +- correct the .so version suffix for libopenbabel +- Drop openbabel-2.3.1-no-build-date.patch + +------------------------------------------------------------------- +Sun Nov 20 08:29:20 UTC 2016 - [email protected] + +- Update to version 2.4.1, see + https://sourceforge.net/projects/openbabel/files/openbabel/2.4.0 + for changelog +- Dropped cripple_source.sh +- Replaced openbabel-2.2.3-no-build-date.patch with + sed regex +- Dropped build-checks.diff due to significant source + changes +- Dropped python-installdir.patch (included upstream) +- Dropped openbabel-gcc5.patch (included upstream) + +------------------------------------------------------------------- Old: ---- cripple_source.sh openbabel-2.3.1-no-build-date.patch openbabel-2.3.2-crippled.tar.bz2 openbabel-gcc5.patch openbabel-gcc6.patch python-installdir.patch New: ---- openbabel-2.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openbabel.spec ++++++ --- /var/tmp/diff_new_pack.I7jC4n/_old 2018-02-20 17:56:16.115886343 +0100 +++ /var/tmp/diff_new_pack.I7jC4n/_new 2018-02-20 17:56:16.119886199 +0100 @@ -1,7 +1,7 @@ # # spec file for package openbabel # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX 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,116 +17,140 @@ Name: openbabel -Version: 2.3.2 -Release: 0 -Summary: Open Babel - The Open Source Chemistry Toolbox +Version: 2.4.1 +Release: 1.5 +Summary: A chemistry toolbox License: GPL-2.0 Group: Development/Libraries/C and C++ Url: http://openbabel.sourceforge.net/ -Source: %{name}-%{version}-crippled.tar.bz2 -Source1: baselibs.conf -Source99: cripple_source.sh -# PATCH-FIX-OPENSUSE -- No build date -Patch0: openbabel-2.3.1-no-build-date.patch -# PATCH-FIX-UPSTREAM openbabel-gcc5.patch [email protected] -- Fix build with GCC5, taken from git -Patch1: openbabel-gcc5.patch -# PATCH-FIX-UPSTREAM openbabel-gcc6.patch [email protected] -- Fix build with GCC6 -Patch2: openbabel-gcc6.patch -# PATCH-MERGED-UPSTREAM python-installdir.patch [email protected] -- Fix bindings install dir -Patch3: python-installdir.patch -BuildRequires: cmake +Source0: https://sourceforge.net/projects/openbabel/files/openbabel/%{version}/%{name}-%{version}.tar.gz +Source1: %{name}.changes +Source2: baselibs.conf +BuildRequires: cairo-devel +BuildRequires: cmake >= 2.4.8 +BuildRequires: eigen3-devel BuildRequires: gcc-c++ -BuildRequires: libeigen2-devel +BuildRequires: libxml2-devel BuildRequires: pkgconfig BuildRequires: python-devel BuildRequires: swig BuildRequires: zlib-devel -BuildRequires: pkgconfig(cairo) -BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: wxWidgets-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Open Babel is a chemical toolbox designed to speak the many languages -of chemical data. It's an open, collaborative project allowing anyone -to search, convert, analyze, or store data from molecular modeling, -chemistry, solid-state materials, biochemistry, or related areas. - -%package -n libopenbabel4 -Summary: Open Babel - The Open Source Chemistry Toolbox -Group: Development/Libraries/C and C++ - -%description -n libopenbabel4 -Open Babel is a chemical toolbox designed to speak the many languages -of chemical data. It's an open, collaborative project allowing anyone -to search, convert, analyze, or store data from molecular modeling, -chemistry, solid-state materials, biochemistry, or related areas. - -%package -n libopenbabel-devel -Summary: Open Babel - The Open Source Chemistry Toolbox -Group: Development/Libraries/C and C++ -Requires: libopenbabel4 = %{version} -Requires: zlib-devel - -%description -n libopenbabel-devel -Open Babel is a chemical toolbox designed to speak the many languages -of chemical data. It's an open, collaborative project allowing anyone -to search, convert, analyze, or store data from molecular modeling, -chemistry, solid-state materials, biochemistry, or related areas. +Open Babel is a chemical toolbox understanding many formats of +chemical data. It allows to search, convert, analyze, or store data +from molecular modeling, chemistry, solid-state materials, +biochemistry, or related areas. + +%package -n libopenbabel5 +Summary: Component library of Open Babel, a chemistry toolbox +Group: System/Libraries + +%description -n libopenbabel5 +Open Babel is a chemical toolbox understanding many formats of +chemical data. It allows to search, convert, analyze, or store data +from molecular modeling, chemistry, solid-state materials, +biochemistry, or related areas. + +%package -n libinchi0 +Summary: Component library of Open Babel, a chemistry toolbox +Group: System/Libraries + +%description -n libinchi0 +Open Babel is a chemical toolbox understanding many formats of +chemical data. It allows to search, convert, analyze, or store data +from molecular modeling, chemistry, solid-state materials, +biochemistry, or related areas. %package -n python-openbabel -Summary: Open Babel - The Open Source Chemistry Toolbox +Summary: Python bindings for Open Babel, a chemistry toolbox Group: Productivity/Scientific/Chemistry %py_requires %description -n python-openbabel -Open Babel is a chemical toolbox designed to speak the many languages -of chemical data. It's an open, collaborative project allowing anyone -to search, convert, analyze, or store data from molecular modeling, -chemistry, solid-state materials, biochemistry, or related areas. +Open Babel is a chemical toolbox understanding many formats of +chemical data. It allows to search, convert, analyze, or store data +from molecular modeling, chemistry, solid-state materials, +biochemistry, or related areas. + +%package devel +Summary: Development files for Open Babel +Group: Development/Libraries/C and C++ +Requires: libopenbabel5 = %{version} +Requires: zlib-devel + +%description devel +Open Babel is a chemical toolbox understanding many formats of +chemical data. It allows to search, convert, analyze, or store data +from molecular modeling, chemistry, solid-state materials, +biochemistry, or related areas. %prep %setup -q -%patch0 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 + +# fix builddate info +# Remove build time references so build-compare can do its work +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M') +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE1} '+%%b %%e %%Y') +sed -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" -i tools/babel.cpp tools/obabel.cpp +sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i tools/babel.cpp tools/obabel.cpp %build -export CXXFLAGS="%{optflags} -std=gnu++98 -fno-strict-aliasing" %cmake \ - -DPYTHON_BINDINGS=ON \ +%if 0%{?suse_version} > 1320 +%ifarch ppc64 ppc64le + -DCMAKE_CXX_FLAGS="%{optflags} -std=gnu++98" \ +%endif +%endif + -DCMAKE_BUILD_TYPE="Release" \ -DRUN_SWIG=ON \ - -DOPTIMIZE_NATIVE=OFF + -DPYTHON_BINDINGS=ON \ + -DPYTHON_EXECUTABLE=%{_bindir}/python2 \ + -DBUILD_GUI=FALSE make %{?_smp_mflags} %install -%cmake_install +pushd build +make %{?_smp_mflags} DESTDIR=%{buildroot} install +rm -rf %{buildroot}/%{_bindir} +rm -rf %{buildroot}/%{_datadir}/man -%post -n libopenbabel4 -p /sbin/ldconfig -%postun -n libopenbabel4 -p /sbin/ldconfig +%post -n libinchi0 -p /sbin/ldconfig +%postun -n libinchi0 -p /sbin/ldconfig + +%post -n libopenbabel5 -p /sbin/ldconfig +%postun -n libopenbabel5 -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/openbabel -%{_bindir}/roundtrip %{_datadir}/openbabel -%{_mandir}/man1/* -%{_bindir}/ob* -%{_bindir}/babel -%{_libdir}/cmake/openbabel2/ -%files -n libopenbabel4 +%files -n libinchi0 %defattr(-,root,root,-) -%{_libdir}/*.so.* +%{_libdir}/libinchi.so.0 +%{_libdir}/libinchi.so.0.4.1 -%files -n libopenbabel-devel +%files -n libopenbabel5 +%defattr(-,root,root,-) +%{_libdir}/libopenbabel.so.5 +%{_libdir}/libopenbabel.so.5.0.0 + +%files devel %defattr(-,root,root,-) -%{_libdir}/pkgconfig/openbabel-2.0.pc %dir %{_includedir}/inchi -%{_includedir}/inchi/inchi_api.h %dir %{_includedir}/openbabel-2.0 +%dir %{_libdir}/cmake/openbabel2 +%{_includedir}/inchi/inchi_api.h %{_includedir}/openbabel-2.0/openbabel/ -%{_libdir}/*.so +%{_libdir}/cmake/openbabel2/OpenBabel2Config.cmake +%{_libdir}/cmake/openbabel2/OpenBabel2ConfigVersion.cmake +%{_libdir}/cmake/openbabel2/OpenBabel2_EXPORTS*.cmake +%{_libdir}/libinchi.so +%{_libdir}/libopenbabel.so +%{_libdir}/pkgconfig/openbabel-2.0.pc %files -n python-openbabel %defattr(-,root,root,-) ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.I7jC4n/_old 2018-02-20 17:56:16.155884902 +0100 +++ /var/tmp/diff_new_pack.I7jC4n/_new 2018-02-20 17:56:16.159884758 +0100 @@ -1 +1,2 @@ -libopenbabel4 +libopenbabel5 +libinchi0
