Name: BALL Version: 1.3.0 Release: alt1 Summary: Biochemical Algorithms Library License: LGPL, GPL Group: Sciences/Chemistry Url: http://www.ball-project.org Source: %name-%version.tar.gz Patch0: BALL-1.3.0-alt-shared.patch Patch1: BALL-1.3.0-alt-gcc44.patch Packager: Michael Shigorin #BuildRequires: libqt4-devel, libqt4-gui, libqt4-opengl, libqt4-opengl-devel, libqt4-sql, sip4, python-sip4-devel, flex, bison, autoconf, automake, libglew1.5-devel|libglew-devel, libfftw3-devel, libgsl0-devel, python-devel >= 2.4, libxrender-devel, libboost-devel, libboost-iostreams-devel, libboost-thread-devel, libboost-math-devel | libboost-devel (< 1.37), libboost-system-devel | libboost-devel (< 1.37), libasio-devel, libboost-regex-devel, libxmu-devel, doxygen, tidy, texlive-base, texlive-latex-recommended, texlive-fonts-recommended, gs-common, texlive-latex-extra, graphviz, chrpath BuildRequires: gcc-c++ libqt4-devel python-module-sip flex bison libglew-devel libfftw3-devel libgsl-devel libXrender-devel boost-devel asio libXmu-devel doxygen tidy texlive-base texlive-latex-recommended texlive-fonts-recommended ghostscript-common texlive-latex-extra graphviz chrpath BuildRequires: python-dev >= 2.4 #BuildRequires: libgsl-devel-static BuildRequires: libgsl-devel BuildRequires: libiberty-devel bison python-module-sip-devel ghostscript-utils %description BALL (Biochemical Algorithms Library) is an application framework in C++ that has been specifically designed for rapid software development in Molecular Modeling and Computational Molecular Biology. It provides an extensive set of data structures as well as classes for Molecular Mechanics, advanced solvation methods, comparison and analysis of protein structures, file import/export, and visualization. BALL is currently being developed in the groups of Oliver Kohlbacher (University of Tuebingen, Germany), Andreas Hildebrandt (Saarland University, Saarbruecken, Germany), and Hans-Peter Lenhof (Saarland University, Saarbruecken, Germany). This package contains the view - independent parts of BALL (libBALL, data directories, ..., but not libVIEW) and can be installed on machines without X11. %prep %setup %patch0 -p1 %patch1 -p1 %build unset QTDIR PATH=$PATH:%_libdir/qt4/bin #export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" cd source touch config.lic rm -f config.cache ./bootstrap %configure \ --enable-libtool \ --with-ball-path=%_datadir/%name \ --enable-optimization \ --disable-debuginfo \ --enable-glew \ --enable-python \ --enable-fftw \ --with-qt-libs=%_libdir \ --with-moc=%_bindir/moc-qt4 \ --with-uic=%_bindir/uic-qt4 \ --with-rcc=%_bindir/rcc-qt4 # --disable-static \ # --with-libtool-rpath=%name \ make depend %make_build # too time consuming for debug builds #make doc #for dir in PYTHON/EXTENSIONS APPLICATIONS/BALLVIEW; do for dir in APPLICATIONS/BALLVIEW; do pushd $dir %make_build popd done %install %makeinstall mkdir -p %buildroot{%_libdir,%_datadir/%name,%_includedir,%_man1dir,%_desktopdir,%_pixmapsdir} %files %_bindir/* # TODO: # - get rid of static libs: gslcblas.a %changelog * Fri Sep 18 2009 Michael Shigorin 1.3.0-alt1 - built for ALT Linux - added patch to link against shared libfftw3