Summary(pl): Miêdzyplatformowy program chemiczny i biblioteka do konwersji formatów plików
Name: openbabel
Version: 1.99
-Release: 2
+Release: 3
License: GPL v2
Group: X11/Libraries
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: %{name}-DESTDIR.patch
URL: http://openbabel.sourceforge.net/
BuildRequires: autoconf
+BuildRequires: automake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
many file formats used in molecular modeling and computational
chemistry.
+%description -l pl
+Open Babel to projekt maj±cy pozbieraæ to, co zosta³o po zaniechaniu
+projektu Babel, jako miêdzyplatformowy program i biblioteka s³u¿±ce do
+konwersji miêdzy wielona formatami u¿ywanymi w modelowaniu cz±steczek
+i chemii obliczeniowej.
+
%package devel
Summary: Header files for OpenBabel
Summary(pl): Pliki nag³ówkowe dla OpenBabel
Group: X11/Development/Libraries
-Requires: %{name} = %{version}
+# static only library, so no R necessary
+#Requires: %{name} = %{version}
%description devel
Header files for OpenBabel.
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{%{_libdir},%{_includedir}/openbabel}
+install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/openbabel}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install src/libopenbabel.a $RPM_BUILD_ROOT/%{_libdir}
-install src/*.h $RPM_BUILD_ROOT/%{_includedir}/openbabel/
+install src/libopenbabel.a $RPM_BUILD_ROOT%{_libdir}
+install src/*.h $RPM_BUILD_ROOT%{_includedir}/openbabel
%clean
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README THANKS doc/{FAQ,Migration,*.html}
%attr(755,root,root) %{_bindir}/*
+%dir %{_datadir}/openbabel
%attr(755,root,root) %{_datadir}/openbabel/*.txt
%{_mandir}/man1/*.1*
%files devel
%defattr(644,root,root,755)
%{_libdir}/libopenbabel.a
+%dir %{_includedir}/openbabel
%{_includedir}/openbabel/*.h