packages: mopac7/mopac7.spec - added paths patch - auto* to get libtool com...
sparky
sparky at pld-linux.org
Thu Feb 25 15:44:44 CET 2010
Author: sparky Date: Thu Feb 25 14:44:44 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added paths patch
- auto* to get libtool compatible with as-needed
- droped library hack
- BR: autoconf, automake, gcc-fortran, libtool; dropped BR: libf2c-devel
- rel 2
---- Files affected:
packages/mopac7:
mopac7.spec (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/mopac7/mopac7.spec
diff -u packages/mopac7/mopac7.spec:1.9 packages/mopac7/mopac7.spec:1.10
--- packages/mopac7/mopac7.spec:1.9 Thu Feb 25 09:08:20 2010
+++ packages/mopac7/mopac7.spec Thu Feb 25 15:44:39 2010
@@ -3,14 +3,17 @@
Summary(pl.UTF-8): Biblioteka do semiempirycznych obliczeń z zakresu mechaniki kwantowej
Name: mopac7
Version: 1.15
-Release: 1
+Release: 2
License: Public Domain
Group: Libraries
Source0: http://bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz
# Source0-md5: 7e509fd03154b37cc682593365c233f4
+Patch0: %{name}-paths.patch
URL: http://sourceforge.net/projects/mopac7/
-BuildRequires: libf2c-devel
-BuildRequires: sed >= 4.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gcc-fortran
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,14 +49,15 @@
%prep
%setup -q
-
-sed -i -e 's/-lg2c/-lf2c/' libmopac7.pc.in
+%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__automake}
+%{__autoconf}
%configure
-%{__make} \
- libmopac7_la_LIBADD=-lf2c \
- mopac7_LDFLAGS="-lmopac7 -lf2c -lf2cmain -lm"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
@@ -71,7 +75,7 @@
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libmopac7.so.*.*.*
-%ghost %{_libdir}/libmopac7.so.1
+%attr(755,root,root) %ghost %{_libdir}/libmopac7.so.1
%files devel
%defattr(644,root,root,755)
@@ -90,6 +94,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2010/02/25 14:44:39 sparky
+- added paths patch
+- auto* to get libtool compatible with as-needed
+- droped library hack
+- BR: autoconf, automake, gcc-fortran, libtool; dropped BR: libf2c-devel
+- rel 2
+
Revision 1.9 2010/02/25 08:08:20 amateja
- updated to 1.15
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mopac7/mopac7.spec?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list