packages: libghemical/libghemical.spec - use autotools

amateja amateja at pld-linux.org
Thu Feb 25 09:57:33 CET 2010


Author: amateja                      Date: Thu Feb 25 08:57:33 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use autotools

---- Files affected:
packages/libghemical:
   libghemical.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/libghemical/libghemical.spec
diff -u packages/libghemical/libghemical.spec:1.7 packages/libghemical/libghemical.spec:1.8
--- packages/libghemical/libghemical.spec:1.7	Thu Feb 25 09:25:43 2010
+++ packages/libghemical/libghemical.spec	Thu Feb 25 09:57:28 2010
@@ -9,7 +9,10 @@
 Source0:	http://bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz
 # Source0-md5:	d2dae2d7d786d3cba335cb29d85033ea
 URL:		http://bioinformatics.org/ghemical/ghemical/index.html
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
 BuildRequires:	mopac7-devel >= 1.2.5
 BuildRequires:	mpqc-devel >= 1.10
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,6 +55,12 @@
 %{__sed} -i -e 's/#include "typedef.h"/#include "typedef.h"\n#include <stdlib.h>\n#include <algorithm>/g' src/sasaeval.h
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
 %configure \
 	--enable-mopac7 \
 	--enable-mpqc
@@ -76,7 +85,7 @@
 %doc AUTHORS ChangeLog TODO
 %attr(755,root,root) %{_libdir}/libghemical.so.*.*.*
 %{_datadir}/libghemical
-%ghost %{_libdir}/libghemical.so.5
+%attr(755,root,root) %ghost %{_libdir}/libghemical.so.5
 
 %files devel
 %defattr(644,root,root,755)
@@ -95,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2010/02/25 08:57:28  amateja
+- use autotools
+
 Revision 1.7  2010/02/25 08:25:43  amateja
 - updated to 2.99.1
 - packaged locale
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libghemical/libghemical.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list