Summary: A cross-platform chemistry program and library designed to convert file formats Summary(pl): Międzyplatformowy program chemiczny i biblioteka do konwersji formatów plików Name: openbabel Version: 1.100.1 Release: 2 License: GPL v2 Group: X11/Libraries Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz # Source0-md5: 06ed9032ebaece0883420bd403c45215 URL: http://openbabel.sourceforge.net/ BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %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 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} %description devel Header files for OpenBabel. %description devel -l pl Pliki nagłówkowe dla OpenBabel. %package static Summary: Static OpenBabel library Summary(pl): Statyczna biblioteka OpenBabel Group: X11/Development/Libraries Requires: %{name}-devel = %{version} %description static Static OpenBabel library. %description static -l pl Statyczna biblioteka OpenBabel. %prep %setup -q %build %configure \ --enable-shared %{__make} #%%{__make} test %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/openbabel/math} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install src/math/{matrix3x3,vector3}.h \ $RPM_BUILD_ROOT%{_includedir}/openbabel/math %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog README THANKS doc/*.html %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/libopenbabel.so.*.*.* %dir %{_datadir}/openbabel %attr(755,root,root) %{_datadir}/openbabel/*.txt %{_mandir}/man1/*.1* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libopenbabel.so %{_libdir}/libopenbabel.la %{_includedir}/openbabel %{_pkgconfigdir}/*.pc %files static %defattr(644,root,root,755) %{_libdir}/libopenbabel.a