diff --git a/openbabel.spec b/openbabel.spec index 344121b..f6e4cab 100644 --- a/openbabel.spec +++ b/openbabel.spec @@ -1,7 +1,7 @@ -%define apiver 2.0 +%define apiver 3.0 %define minver %(echo %version | cut -d. -f 2-) Name: openbabel -Version: 2.3.2.20160804git +Version: 3.1.1 Release: 1mamba Summary: Chemistry file translation program Group: Applications/Educational @@ -24,6 +24,8 @@ BuildRequires: libwxGTK-unicode-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END +BuildRequires: libmaeparser-devel +BuildRequires: libcoordgen-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -39,10 +41,15 @@ OpenBabel is a project designed to pick up where Babel left off, as a cross-plat This package contains static libraries and header files need for development. +%debug_package + %prep %setup -q #-D -T #%patch0 -p1 +#%ifarch x86_64 +#sed -i "s|DESTINATION lib$|DESTINATION lib64|" external/maeparser-1.1/CMakeLists.txt +#%endif %build %cmake \ @@ -63,41 +70,46 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -#%{_bindir}/OBGUI -%{_bindir}/babel %{_bindir}/ob* %{_bindir}/roundtrip %{_libdir}/libinchi.so.* %{_libdir}/libopenbabel.so.* %dir %{_libdir}/openbabel %{_libdir}/openbabel/*/*.so -%{_libdir}/libinchi.so -%{_libdir}/libopenbabel.so %{_datadir}/openbabel/* -%{_mandir}/man1/babel.1.gz -%{_mandir}/man1/ob*.1.gz -%{_mandir}/man1/roundtrip.1.gz +#%{_mandir}/man1/babel.1* +%{_mandir}/man1/ob*.1* +%{_mandir}/man1/roundtrip.1* %doc AUTHORS COPYING # ChangeLog NEWS README THANKS %files devel %defattr(-,root,root) +%dir %{_includedir}/inchi %{_includedir}/inchi/inchi_api.h -%dir %{_includedir}/openbabel-%{apiver} -%dir %{_includedir}/openbabel-%{apiver}/openbabel -%{_includedir}/openbabel-%{apiver}/openbabel/*.h -%dir %{_includedir}/openbabel-%{apiver}/openbabel/json -%{_includedir}/openbabel-%{apiver}/openbabel/json/*.h -%dir %{_includedir}/openbabel-%{apiver}/openbabel/math -%{_includedir}/openbabel-%{apiver}/openbabel/math/*.h -%dir %{_includedir}/openbabel-%{apiver}/openbabel/stereo -%{_includedir}/openbabel-%{apiver}/openbabel/stereo/*.h -%{_includedir}/openbabel-%{apiver}/openbabel/*.h -%dir %{_libdir}/cmake/openbabel2 -%{_libdir}/cmake/openbabel2/OpenBabel2*.cmake +%dir %{_includedir}/openbabel3 +%dir %{_includedir}/openbabel3/openbabel +%{_includedir}/openbabel3/openbabel/* +%{_includedir}/openbabel3/LBFGS.h +%dir %{_includedir}/openbabel3/LBFGS +%{_includedir}/openbabel3/LBFGS/* +%{_libdir}/libinchi.so +%{_libdir}/libopenbabel.so +#%{_libdir}/libmaeparser.so +%dir %{_libdir}/cmake/openbabel3 +%{_libdir}/cmake/openbabel3/OpenBabel3*.cmake %{_libdir}/pkgconfig/*.pc %changelog +* Mon May 11 2020 Automatic Build System 3.1.1-1mamba +- automatic version update by autodist + +* Tue Mar 17 2020 Automatic Build System 3.0.0-1mamba +- automatic version update by autodist + +* Wed Dec 28 2016 Automatic Build System 2.4.1-1mamba +- automatic version update by autodist + * Thu Aug 04 2016 Silvan Calarco 2.3.2.20160804git-1mamba - update to 2.3.2.20160804git