Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
openbabel
openbabel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openbabel.spec of Package openbabel
# # spec file for package openbabel # # Copyright (c) 2012 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: openbabel Version: 2.3.1 Release: 0 Summary: Open Babel - The Open Source 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 BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libeigen2-devel BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: swig BuildRequires: zlib-devel BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(libxml-2.0) 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. %package -n python-openbabel Summary: Open Babel - The Open Source 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. %prep %setup -q %patch0 %build %define libsuffix "" %if "%{_lib}" == "lib64" %define libsuffix 64 %endif cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=%libsuffix -DPYTHON_BINDINGS=ON make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %post -n libopenbabel4 -p /sbin/ldconfig %postun -n libopenbabel4 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/openbabel %{_bindir}/roundtrip %{_datadir}/openbabel %{_mandir}/man1/* %{_bindir}/ob* %{_bindir}/babel %{_libdir}/cmake/openbabel2/ %files -n libopenbabel4 %defattr(-,root,root,-) %{_libdir}/*.so.* %files -n libopenbabel-devel %defattr(-,root,root,-) %{_libdir}/pkgconfig/openbabel-2.0.pc %dir %{_includedir}/inchi %{_includedir}/inchi/inchi_api.h %dir %{_includedir}/openbabel-2.0 %{_includedir}/openbabel-2.0/openbabel/ %{_libdir}/*.so %files -n python-openbabel %defattr(-,root,root,-) %{python_sitearch}* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor