SPECS: mopac7.spec (NEW) - new, requires f2c library

qboosh qboosh at pld-linux.org
Sun Jul 23 19:06:04 CEST 2006


Author: qboosh                       Date: Sun Jul 23 17:06:04 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, requires f2c library

---- Files affected:
SPECS:
   mopac7.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mopac7.spec
diff -u /dev/null SPECS/mopac7.spec:1.1
--- /dev/null	Sun Jul 23 19:06:04 2006
+++ SPECS/mopac7.spec	Sun Jul 23 19:05:59 2006
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+Summary:	A library for semi-empirical QM calculations
+Summary(pl):	Biblioteka do semiempirycznych obliczeń z zakresu mechaniki kwantowej
+Name:		mopac7
+Version:	1.11
+Release:	1
+License:	Public Domain
+Group:		Libraries
+Source0:	http://dl.sourceforge.net/mopac7/%{name}-%{version}.tar.gz
+# Source0-md5:	501c34ad4995d127dca8461a05ceb66a
+URL:		http://sourceforge.net/projects/mopac7/
+# requires libg2c or libf2c
+BuildRequires:	gcc-g77 < 5:3.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library for semi-empirical QM calculations.
+
+%description -l pl
+Biblioteka do semiempirycznych obliczeń z zakresu mechaniki kwantowej.
+
+%package devel
+Summary:	Header files for MOPAC7 library
+Summary(pl):	Pliki nagłówkowe biblioteki MOPAC7
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+# just libg2c-devel or libf2c-devel
+Requires:	gcc-g77 < 5:3.0
+
+%description devel
+Header files for MOPAC7 library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki MOPAC7.
+
+%package static
+Summary:	Static MOPAC7 library
+Summary(pl):	Statyczna biblioteka MOPAC7
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static MOPAC7 library.
+
+%description static -l pl
+Statyczna biblioteka MOPAC7.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libmopac7.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmopac7.so
+%{_libdir}/libmopac7.la
+%{_includedir}/mopac7
+%{_pkgconfigdir}/libmopac7.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmopac7.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/07/23 17:05:59  qboosh
+- new, requires f2c library
================================================================


More information about the pld-cvs-commit mailing list