SPECS: openbabel.spec - build static library too - release 2
megabajt
megabajt at pld-linux.org
Thu Aug 21 20:05:10 CEST 2008
Author: megabajt Date: Thu Aug 21 18:05:10 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- build static library too
- release 2
---- Files affected:
SPECS:
openbabel.spec (1.25 -> 1.26)
---- Diffs:
================================================================
Index: SPECS/openbabel.spec
diff -u SPECS/openbabel.spec:1.25 SPECS/openbabel.spec:1.26
--- SPECS/openbabel.spec:1.25 Sun Aug 10 12:32:39 2008
+++ SPECS/openbabel.spec Thu Aug 21 20:05:05 2008
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): Międzyplatformowy program chemiczny i biblioteka do konwersji formatów plików
Name: openbabel
Version: 2.2.0
-Release: 1
+Release: 2
License: GPL v2
Group: Libraries
Source0: http://dl.sourceforge.net/openbabel/%{name}-%{version}.tar.gz
@@ -62,7 +62,8 @@
# registration to download
%configure \
ac_cv_lib_inchi_GetINCHI=no \
- --enable-shared
+ --enable-shared \
+ --enable-static
%{__make}
@@ -72,7 +73,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/openbabel/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/openbabel/*/*.{la,a}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -95,17 +96,15 @@
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libopenbabel.so
-%{_libdir}/openbabel/2.2.0/*.la
%{_libdir}/libopenbabel.la
%dir %{_includedir}/inchi
%{_includedir}/inchi/inchi_api.h
%{_includedir}/openbabel-2.0
%{_pkgconfigdir}/*.pc
-#%files static
-#%defattr(644,root,root,755)
-#%{_libdir}/libinchi.a
-#%{_libdir}/libopenbabel.a
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libopenbabel.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -113,6 +112,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.26 2008/08/21 18:05:05 megabajt
+- build static library too
+- release 2
+
Revision 1.25 2008/08/10 10:32:39 rotom
- up to 2.2.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/openbabel.spec?r1=1.25&r2=1.26&f=u
More information about the pld-cvs-commit
mailing list