1 Summary: A cross-platform chemistry program and library designed to convert file formats
2 Summary(pl.UTF-8): Międzyplatformowy program chemiczny i biblioteka do konwersji formatów plików
8 Source0: http://dl.sourceforge.net/openbabel/%{name}-%{version}.tar.gz
9 # Source0-md5: a2a002c6913d6fb94fdc7dede2166194
10 URL: http://openbabel.sourceforge.net/
11 BuildRequires: libstdc++-devel
12 BuildRequires: libxml2-devel >= 2.6.5
13 BuildRequires: zlib-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Open Babel is a project designed to pick up where Babel left off, as a
18 cross-platform program and library designed to interconvert between
19 many file formats used in molecular modeling and computational
22 %description -l pl.UTF-8
23 Open Babel to projekt mający pozbierać to, co zostało po zaniechaniu
24 projektu Babel, jako międzyplatformowy program i biblioteka służące do
25 konwersji między wieloma formatami używanymi w modelowaniu cząsteczek
26 i chemii obliczeniowej.
29 Summary: Header files for OpenBabel
30 Summary(pl.UTF-8): Pliki nagłówkowe dla OpenBabel
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
33 Requires: libstdc++-devel
37 Header files for OpenBabel.
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe dla OpenBabel.
43 Summary: Static OpenBabel library
44 Summary(pl.UTF-8): Statyczna biblioteka OpenBabel
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{version}-%{release}
49 Static OpenBabel library.
51 %description static -l pl.UTF-8
52 Statyczna biblioteka OpenBabel.
58 # simulate there is no libinchi installed (if openbabel is already installed),
59 # so it will be build with openbabel
60 # inchi is available separately at http://www.iupac.org/inchi/, but requires
61 # registration to download
63 ac_cv_lib_inchi_GetINCHI=no \
69 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
74 rm -f $RPM_BUILD_ROOT%{_libdir}/openbabel/*.{la,a}
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog README THANKS doc/*.html
85 %attr(755,root,root) %{_bindir}/*
86 %attr(755,root,root) %{_libdir}/libinchi.so.*.*.*
87 %attr(755,root,root) %{_libdir}/libinchi.so.?
88 %attr(755,root,root) %{_libdir}/libopenbabel.so.*.*.*
89 %attr(755,root,root) %{_libdir}/libopenbabel.so.?
90 %dir %{_libdir}/openbabel
91 %attr(755,root,root) %{_libdir}/openbabel/*.so
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libinchi.so
98 %attr(755,root,root) %{_libdir}/libopenbabel.so
99 %{_libdir}/libinchi.la
100 %{_libdir}/libopenbabel.la
102 %{_includedir}/openbabel-2.0
103 %{_pkgconfigdir}/*.pc
106 %defattr(644,root,root,755)
107 %{_libdir}/libinchi.a
108 %{_libdir}/libopenbabel.a