Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047236
en ru br
Репозитории ALT
S:3.1.1-alt3
5.1: 2.2.2-alt1
4.1: 2.2.0-alt0.M41.1
4.0: 2.0.2-alt1
3.0: 1.100.2-alt1.1
www.altlinux.org/Changes

Группа :: Науки/Химия
Пакет: openbabel

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: openbabel
Version: 2.4.1
Release: alt1

Summary: Chemistry software file format converter
License: GPL
Group: Sciences/Chemistry

Url: http://openbabel.sourceforge.net
Source0: http://dl.sf.net/%name/%name-%version.tar.gz
Source1: %name.watch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Sun Apr 13 2014

# optimized out: cmake-modules fontconfig libcloog-isl4 libgdk-pixbuf libstdc++-devel libwayland-client libwayland-server pkg-config python-base zlib-devel
BuildRequires: cmake eigen2 gcc-c++ libcairo-devel libwxGTK-devel libxml2-devel python-devel xml-utils

BuildPreReq: python-devel eigen2

Summary(ru_RU.UTF-8): п п╬п╫п╡п╣я─я┌п╬я─ п╠п╦п╬я┘п╦п╪п╦я┤п╣я│п╨п╦я┘ я└п╬я─п╪п╟я┌п╬п╡ п╢п╟п╫п╫я▀я┘
Summary(uk_UA.UTF-8): п п╬п╫п╡п╣я─я┌п╬я─ п╠я√п╬я┘я√п╪я√я┤п╫п╦я┘ я└п╬я─п╪п╟я┌я√п╡ п╢п╟п╫п╦я┘

%description
Open Babel is a project designed to pick up where Babel left off,
as a cross-platform program and library designed to interconvert
between many file formats used in molecular modeling and computational
chemistry.

%description -l ru_RU.UTF-8
Open Babel - п©я─п╬п╢п╬п╩п╤п╣п╫п╦п╣ п©я─п╬п╣п╨я┌п╟ Babel п╨п╟п╨ п╨я─п╬я│п©п╩п╟я┌я└п╬я─п╪п╣п╫п╫п╬пЁп╬
п╦п╫я│я┌я─я┐п╪п╣п╫я┌п╟ п╢п╩я▐ п╨п╬п╫п╡п╣я─я┌п╦я─п╬п╡п╟п╫п╦я▐ п╪п╫п╬пЁп╬я┤п╦я│п╩п╣п╫п╫я▀я┘ я└п╬я─п╪п╟я┌п╬п╡ п╢п╟п╫п╫я▀я┘,
п╦я│п©п╬п╩я▄п╥я┐п╣п╪я▀я┘ п╡ п╪п╬п╩п╣п╨я┐п╩я▐я─п╫п╬п╪ п╪п╬п╢п╣п╩п╦я─п╬п╡п╟п╫п╦п╦ п╦ п╡я▀я┤п╦я│п╩п╦я┌п╣п╩я▄п╫п╬п╧ я┘п╦п╪п╦п╦.

%description -l uk_UA.UTF-8
Open Babel - п©я─п╬п╢п╬п╡п╤п╣п╫п╫я▐ п©я─п╬п╣п╨я┌я┐ Babel я▐п╨ п╨я─п╬я│п©п╩п╟я┌я└п╬я─п╪п╣п╫п╫п╬пЁп╬
я√п╫я│я┌я─я┐п╪п╣п╫я┌я┐ п╢п╩я▐ п╨п╬п╫п╡п╣я─я┌я┐п╡п╟п╫п╫я▐ я┤п╦я│п╩п╣п╫п╫п╦я┘ я└п╬я─п╪п╟я┌я√п╡ п╢п╟п╫п╦я┘, я┴п╬
п╡п╦п╨п╬я─п╦я│я┌п╬п╡я┐я▌я┌я▄я│я▐ я┐ п╪п╬п╩п╣п╨я┐п╩я▐я─п╫п╬п╪я┐ п╪п╬п╢п╣п╩я▌п╡п╟п╫п╫я√ я┌п╟ п╬п╠я┤п╦я│п╩я▌п╡п╟п╩я▄п╫я√п╧ я┘я√п╪я√я≈.

%package -n lib%name
Summary: Shared libraries for programs which will use Open Babel
Group: System/Libraries

%package -n lib%name-devel
Summary: Development tools for programs which will use the lib%name library
Group: Development/C++
Requires: lib%name = %version-%release

%package -n python-module-%name
Summary: Python bindings for Open Babel
Group: Development/Python
Requires: lib%name = %version-%release

%if_enabled static
%package -n lib%name-devel-static
Summary: Static development files for lib%name
Group: Development/C++
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
Static development files for lib%name
%endif

%description -n lib%name
Shared libraries for programs which will use Open Babel

%description -n lib%name-devel
The lib%name-devel package includes the header files and static libraries
necessary for developing programs using the lib%name library.

If you are going to develop programs which will use this library
you should install lib%name-devel.  You'll also need to have the
lib%name package installed.

%description -n python-module-%name
Python bindings for Open Babel.

%prep
%setup
echo PYTHON_BINDINGS:BOOL=ON >CMakeCache.txt

%build
%add_optflags -I%_includedir/eigen2
%cmake_insource
%make_build VERBOSE=1

%install
%makeinstall_std

%if_enabled static
%else
rm -f %buildroot%_libdir/*.a
rm -f %buildroot%_libdir/%name/{%version/,}*.{a,la}
%endif

%files
%doc AUTHORS README* THANKS
%doc doc/FAQ* doc/README* doc/dioxin.*
%_bindir/*
%_man1dir/*
%_datadir/%name

%files -n lib%name
%_libdir/*.so.*
%dir %_libdir/%name/
%dir %_libdir/%name/%version/
%_libdir/%name/%version/*.so

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_libdir/cmake/openbabel2

%files -n python-module-%name
%python_sitelibdir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

# TODO:

# - BR: eigen3 (FTBFS as of 20140413)

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin