Name: libghemical Summary: Libraries for the Ghemical chemistry package Version: 2.99.1 Release: 16%{?dist} License: GPLv2+ Group: Applications/Engineering URL: http://www.uku.fi/~thassine/ghemical/ Source0: http://www.uku.fi/~thassine/projects/download/current/%{name}-%{version}.tar.gz Patch0: libghemical-use-atlas.patch BuildRequires: libtool BuildRequires: flex BuildRequires: glib2-devel gcc-gfortran BuildRequires: intltool BuildRequires: mpqc-devel libint-devel atlas-devel BuildRequires: mesa-libGLU-devel BuildRequires: mopac7-devel BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description Data files and dynamic libraries for the Ghemical chemistry package. These libraries implement the quantum-mechanics and molecular mechanics models used to compute molecular properties. %package devel Summary: Header files and static libraries from %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel Libraries and header include files for developing programs based on %{name}. %prep %setup -q %patch0 -p0 %build libtoolize --copy --force aclocal -I m4 autoconf automake ATLASLIBDIR="-L%{_libdir}/atlas" export ATLASLIBDIR %configure --enable-mopac7 --enable-mpqc --disable-static --disable-sctest make %{?_smp_mflags} sed -ir -e 's/^Libs:.*/Libs: -L${libdir} -lghemical/g' libghemical.pc %install rm -rf %{buildroot} make DESTDIR="%{buildroot}" INSTALL="install -p" install find %{buildroot}%{_libdir} -name *.la -exec rm -rf {} \; %find_lang %{name} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog TODO COPYING %{_datadir}/%{name}/ %{_libdir}/libghemical.so.* %files devel %defattr(-,root,root,-) %{_includedir}/ghemical/ %{_libdir}/libghemical.so %{_libdir}/pkgconfig/libghemical.pc %changelog * Sun Jun 20 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-16 - new tag need for make build * Tue Apr 20 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-15 - patch libghemical.pc to avoid unnecessary parts * Thu Apr 08 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-14 - patch configure.ac to pull in the required sc_ libs * Mon Apr 05 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-13 - improved package description - link against mopac7 since we need that - remove unnecessary build-requires * Sat Apr 03 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-12 - merge -data and -libs packages into main package * Sat Jan 09 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-11 - add COPYING license file to doc * Mon Jan 04 2010 Carl Byington <carl@five-ten-sg.com> 2.99.1-10 - use blas and lapack from atlas. * Wed Dec 22 2009 Carl Byington <carl@five-ten-sg.com> 2.99.1-9 - devel requires pkgconfig for EPEL * Wed Dec 22 2009 Carl Byington <carl@five-ten-sg.com> 2.99.1-8 - install -p to preserve timestamps - trim changelog - explicit includedir name - add pkgconfig for EPEL * Sun Dec 20 2009 Carl Byington <carl@five-ten-sg.com> 2.99.1-7 - explicit names in %%files section rather than wildcards * Sat Dec 05 2009 Carl Byington <carl@five-ten-sg.com> 2.99.1-6 - remove unnecessary f2c requirement * Wed Dec 02 2009 Carl Byington <carl@five-ten-sg.com> 2.99.1-5 - convert to fedora compatible spec file - remove static libraries * Fri Oct 16 2009 Guillaume Bedot <littletux@mandriva.org> 2.99.1-4mdv2010.0 - Revision: 457836 - rebuild