doubling of time steps with XSPICE fixed
This commit is contained in:
parent
da6aa08df6
commit
887dfad831
@ -1 +1,2 @@
|
|||||||
ngspice-rework-20.cvs20100619.tar.bz2
|
ngspice-21.pdf
|
||||||
|
ngspice-rework-20.cvs20100719.tar.bz2
|
||||||
|
@ -5,3 +5,4 @@ ngspice-20-2_fc12:EL-5:ngspice-20-2.fc12.src.rpm:1260232344
|
|||||||
ngspice-20-3_fc12:EL-5:ngspice-20-3.fc12.src.rpm:1260314383
|
ngspice-20-3_fc12:EL-5:ngspice-20-3.fc12.src.rpm:1260314383
|
||||||
ngspice-21-1_cvs20100620_fc12:EL-5:ngspice-21-1.cvs20100620.fc12.src.rpm:1278012263
|
ngspice-21-1_cvs20100620_fc12:EL-5:ngspice-21-1.cvs20100620.fc12.src.rpm:1278012263
|
||||||
ngspice-21-2_cvs20100620_fc12:EL-5:ngspice-21-2.cvs20100620.fc12.src.rpm:1278955346
|
ngspice-21-2_cvs20100620_fc12:EL-5:ngspice-21-2.cvs20100620.fc12.src.rpm:1278955346
|
||||||
|
ngspice-21-3_cvs20100719_el6:EL-5:ngspice-21-3.cvs20100719.el6.src.rpm:1279820604
|
||||||
|
20
ngspice.spec
20
ngspice.spec
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: ngspice
|
Name: ngspice
|
||||||
Version: 21
|
Version: 21
|
||||||
Release: 2.cvs20100620%{?dist}
|
Release: 3.cvs20100719%{?dist}
|
||||||
Summary: A mixed level/signal circuit simulator
|
Summary: A mixed level/signal circuit simulator
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -15,7 +15,8 @@ Group: Applications/Engineering
|
|||||||
URL: http://ngspice.sourceforge.net
|
URL: http://ngspice.sourceforge.net
|
||||||
|
|
||||||
#Source0: http://downloads.sourceforge.net/sourceforge/%{name}/ngspice%{version}_100620.zip
|
#Source0: http://downloads.sourceforge.net/sourceforge/%{name}/ngspice%{version}_100620.zip
|
||||||
Source0: ngspice-rework-20.cvs20100619.tar.bz2
|
Source0: ngspice-rework-20.cvs20100719.tar.bz2
|
||||||
|
Source1: ngspice-21.pdf
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
@ -81,6 +82,8 @@ find examples/ -type f -name ".cvsignore" -exec rm -rf {} ';'
|
|||||||
find src/ -type f -name "*.c" -exec chmod -x {} ';'
|
find src/ -type f -name "*.c" -exec chmod -x {} ';'
|
||||||
find src/ -type f -name "*.h" -exec chmod -x {} ';'
|
find src/ -type f -name "*.h" -exec chmod -x {} ';'
|
||||||
|
|
||||||
|
sed -i '15,/ /i\#include <ftedev.h>;' src/include/tclspice.h
|
||||||
|
|
||||||
%ifarch x86_64 sparc64 ppc64 amd64
|
%ifarch x86_64 sparc64 ppc64 amd64
|
||||||
sed -i "s|@XSPICEINIT@ codemodel @prefix@/lib|@XSPICEINIT@ codemodel %{_libdir}|" \
|
sed -i "s|@XSPICEINIT@ codemodel @prefix@/lib|@XSPICEINIT@ codemodel %{_libdir}|" \
|
||||||
src/spinit.in
|
src/spinit.in
|
||||||
@ -104,8 +107,14 @@ examples/tclspice/tcl-testbench4/tcl-testbench4.tcl
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# ---- Manual ----------------------------------------------------------------
|
||||||
|
#cd ng-spice-manuals
|
||||||
|
#autoreconf -Wno-portability --install
|
||||||
|
#./configure ; make
|
||||||
|
#cd ..
|
||||||
|
|
||||||
cd ng-spice-rework
|
cd ng-spice-rework
|
||||||
|
cp -p %{SOURCE1} .
|
||||||
|
|
||||||
# ---- Tclspice ----------------------------------------------------------------
|
# ---- Tclspice ----------------------------------------------------------------
|
||||||
# Adding BLT support
|
# Adding BLT support
|
||||||
@ -119,12 +128,13 @@ export CFLAGS="%{optflags} -I%{_includedir}/blt"
|
|||||||
cd tclspice
|
cd tclspice
|
||||||
sed -i "s|\#define NGSPICEDATADIR \"\`echo \$dprefix/share/ngspice\`\"|\#define NGSPICEDATADIR \"\`echo %{_libdir}/tclspice\`\"|" configure*
|
sed -i "s|\#define NGSPICEDATADIR \"\`echo \$dprefix/share/ngspice\`\"|\#define NGSPICEDATADIR \"\`echo %{_libdir}/tclspice\`\"|" configure*
|
||||||
# fix ng-spice-manuals directory location
|
# fix ng-spice-manuals directory location
|
||||||
sed -i 's|../ng-spice-manuals|../../ng-spice-manuals|g' manual/Makefile.am
|
#sed -i 's|../ng-spice-manuals|../../ng-spice-manuals|g' manual/Makefile.am
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--disable-xgraph \
|
--disable-xgraph \
|
||||||
--enable-xspice \
|
--enable-xspice \
|
||||||
--enable-maintainer-mode \
|
--enable-maintainer-mode \
|
||||||
|
--enable-dependency-tracking \
|
||||||
--enable-capzerobypass \
|
--enable-capzerobypass \
|
||||||
--enable-cider \
|
--enable-cider \
|
||||||
--enable-newpred \
|
--enable-newpred \
|
||||||
@ -150,6 +160,7 @@ cd ..
|
|||||||
--disable-xgraph \
|
--disable-xgraph \
|
||||||
--enable-xspice \
|
--enable-xspice \
|
||||||
--enable-maintainer-mode \
|
--enable-maintainer-mode \
|
||||||
|
--enable-dependency-tracking \
|
||||||
--enable-capzerobypass \
|
--enable-capzerobypass \
|
||||||
--enable-cider \
|
--enable-cider \
|
||||||
--enable-newpred \
|
--enable-newpred \
|
||||||
@ -171,6 +182,7 @@ cd ng-spice-rework
|
|||||||
|
|
||||||
%{__make} INSTALL="install -p" install DESTDIR=%{buildroot}
|
%{__make} INSTALL="install -p" install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
|
||||||
# ---- Tclspice ----------------------------------------------------------------
|
# ---- Tclspice ----------------------------------------------------------------
|
||||||
# Tclspice : Make install
|
# Tclspice : Make install
|
||||||
cd tclspice
|
cd tclspice
|
||||||
@ -185,7 +197,7 @@ cd ..
|
|||||||
rm -rf %{buildroot}%{_docdir}/%{name}-%{version}/
|
rm -rf %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||||
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
|
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||||
cp -pr examples/ %{buildroot}%{_docdir}/%{name}-%{version}/
|
cp -pr examples/ %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||||
cp -pr manual/*.pdf %{buildroot}%{_docdir}/%{name}-%{version}/
|
cp -p ngspice-21.pdf %{buildroot}%{_docdir}/%{name}-%{version}/%{name}-%{version}.pdf
|
||||||
rm -rf %{buildroot}%{_docdir}/%{name}
|
rm -rf %{buildroot}%{_docdir}/%{name}
|
||||||
cp -pr Stuarts_Poly_Notes FAQ DEVICES ANALYSES %{buildroot}%{_docdir}/%{name}-%{version}/
|
cp -pr Stuarts_Poly_Notes FAQ DEVICES ANALYSES %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||||
cp -pr AUTHORS COPYING README BUGS ChangeLog NEWS %{buildroot}%{_docdir}/%{name}-%{version}/
|
cp -pr AUTHORS COPYING README BUGS ChangeLog NEWS %{buildroot}%{_docdir}/%{name}-%{version}/
|
||||||
|
Loading…
Reference in New Issue
Block a user