2011-11-29 21:05:57 +00:00
|
|
|
# Features in Fedora/Free Electronic Lab
|
2016-06-29 00:19:00 +00:00
|
|
|
# What else does this build do aside compiling ngspice ?
|
|
|
|
# - Ensures interoperability with xcircuit via Tcl
|
|
|
|
# - Ensures interoperability with mot-adms
|
|
|
|
# - Provides tclspice capabilities
|
2011-11-29 21:05:57 +00:00
|
|
|
# Chitlesh Goorah
|
|
|
|
|
2010-07-01 19:24:30 +00:00
|
|
|
#
|
|
|
|
## To download development trunk
|
|
|
|
#
|
|
|
|
# cvs -d:pserver:anonymous@ngspice.cvs.sourceforge.net:/cvsroot/ngspice login
|
2010-11-15 06:06:03 +00:00
|
|
|
# cvs -z3 -d:pserver:anonymous@ngspice.cvs.sourceforge.net:/cvsroot/ngspice export -DNOW ngspice
|
2011-11-29 21:05:57 +00:00
|
|
|
# tar cjf ~/rpmbuild/SOURCES/ngspice-rework-23.`date '+%Y%m%d'`cvs.tar.bz2 ngspice
|
|
|
|
|
|
|
|
# Toggle the following declaration when using version controlled snapshots
|
2016-01-31 23:56:53 +00:00
|
|
|
%global devel 0
|
2010-07-01 19:24:30 +00:00
|
|
|
|
2018-12-30 13:20:45 +00:00
|
|
|
%undefine _changelog_trimtime
|
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
Name: ngspice
|
2018-12-30 13:20:45 +00:00
|
|
|
Version: 29
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2016-06-29 00:19:00 +00:00
|
|
|
%global snap .20111129cvs
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2018-12-30 13:20:45 +00:00
|
|
|
Release: 1%{?snap}%{?dist}
|
2016-06-29 00:19:00 +00:00
|
|
|
Summary: A mixed level/signal circuit simulator
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
License: BSD
|
|
|
|
Group: Applications/Engineering
|
|
|
|
URL: http://ngspice.sourceforge.net
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2016-06-29 00:19:00 +00:00
|
|
|
Source0: ngspice-rework-%{version}%{snap}.tar.bz2
|
2011-11-29 21:05:57 +00:00
|
|
|
%else
|
2016-06-29 00:19:00 +00:00
|
|
|
Source0: https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/%{version}/ngspice-%{version}.tar.gz
|
|
|
|
Source1: https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/%{version}/ngspice-%{version}-manual.pdf
|
2018-06-19 06:26:52 +00:00
|
|
|
Source2: https://downloads.sourceforge.net/project/ngspice/ng-spice-rework/%{version}/ng_adms_va.tar.gz
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2007-03-17 11:54:03 +00:00
|
|
|
|
2016-07-03 05:08:51 +00:00
|
|
|
# Link libspice.so with -lBLT or -lBLIlite, depending on whether in tk mode or
|
|
|
|
# not (bug 1047056, debian bug 737279)
|
|
|
|
Patch0: ngspice-26-blt-linkage-workaround.patch
|
|
|
|
|
2018-06-19 06:26:52 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libXaw-devel
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libXt-devel
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2016-06-29 00:19:00 +00:00
|
|
|
BuildRequires: lyx
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2016-06-29 00:19:00 +00:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: byacc
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
BuildRequires: mot-adms
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
Obsoletes: ngspice-doc < 20-4.cvs20100619
|
|
|
|
Provides: ngspice-doc = %{version}-%{release}
|
2007-01-12 20:21:24 +00:00
|
|
|
|
2013-12-21 05:56:19 +00:00
|
|
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
|
|
|
2006-08-30 17:24:55 +00:00
|
|
|
%description
|
|
|
|
Ngspice is a general-purpose circuit simulator program.
|
|
|
|
It implements three classes of analysis:
|
|
|
|
- Nonlinear DC analyses
|
|
|
|
- Nonlinear Transient analyses
|
|
|
|
- Linear AC analyses
|
|
|
|
|
|
|
|
Ngspice implements the usual circuits elements, like resistors, capacitors,
|
|
|
|
inductors (single or mutual), transmission lines and a growing number of
|
|
|
|
semiconductor devices like diodes, bipolar transistors, mosfets (both bulk
|
|
|
|
and SOI), mesfets, jfet and HFET. Ngspice implements the EKV model but it
|
|
|
|
cannot be distributed with the package since its license does not allow to
|
|
|
|
redistribute EKV source code.
|
|
|
|
|
|
|
|
Ngspice integrates Xspice, a mixed-mode simulator built upon spice3c1 (and
|
|
|
|
then some tweak is necessary merge it with spice3f5). Xspice provides a
|
|
|
|
codemodel interface and an event-driven simulation algorithm. Users can
|
|
|
|
develop their own models for devices using the codemodel interface.
|
|
|
|
|
2011-11-29 21:05:57 +00:00
|
|
|
It can be used for VLSI simulations as well.
|
2007-08-24 10:25:18 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
%package -n tclspice
|
|
|
|
Summary: Tcl/Tk interface for ngspice
|
|
|
|
Group: Applications/Engineering
|
|
|
|
BuildRequires: tk-devel
|
|
|
|
BuildRequires: blt-devel
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
%description -n tclspice
|
2009-08-09 15:54:16 +00:00
|
|
|
TclSpice is an improved version of Berkeley Spice designed to be used with
|
2016-06-29 00:19:00 +00:00
|
|
|
the Tcl/Tk scripting language. The project is based upon the NG-Spice source
|
2009-08-09 15:54:16 +00:00
|
|
|
code base with many improvements.
|
|
|
|
|
2006-08-30 17:24:55 +00:00
|
|
|
%prep
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2010-07-01 19:24:30 +00:00
|
|
|
%setup -q -n ngspice
|
|
|
|
cd ng-spice-rework
|
2011-11-29 21:05:57 +00:00
|
|
|
%else
|
2018-06-19 06:26:52 +00:00
|
|
|
%setup -q -a 2
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2016-07-03 05:08:51 +00:00
|
|
|
%patch0 -p2 -b .link
|
2009-12-08 23:17:38 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
# make sure the examples are UTF-8...
|
2016-06-29 00:19:00 +00:00
|
|
|
for nonUTF8 in \
|
|
|
|
examples/tclspice/tcl-testbench4/selectfromlist.tcl \
|
|
|
|
examples/tclspice/tcl-testbench1/testCapa.cir \
|
|
|
|
examples/tclspice/tcl-testbench1/capa.cir \
|
|
|
|
ChangeLog \
|
|
|
|
%{nil}
|
|
|
|
do
|
|
|
|
%{_bindir}/iconv -f ISO-8859-1 -t utf-8 $nonUTF8 > $nonUTF8.conv
|
|
|
|
%{__mv} -f $nonUTF8.conv $nonUTF8
|
2009-08-09 15:54:16 +00:00
|
|
|
done
|
2006-10-12 18:46:00 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
# rpmlint warnings
|
|
|
|
find examples/ -type f -name ".cvsignore" -exec rm -rf {} ';'
|
2016-06-29 00:19:00 +00:00
|
|
|
find src/ -type f -name "*.c" -exec chmod -x {} ';'
|
|
|
|
find src/ -type f -name "*.h" -exec chmod -x {} ';'
|
|
|
|
find src/ -type f -name "*.l" -exec chmod -x {} ';'
|
|
|
|
find src/ -type f -name "*.y" -exec chmod -x {} ';'
|
2010-07-22 17:18:03 +00:00
|
|
|
|
2006-10-12 18:46:00 +00:00
|
|
|
%ifarch x86_64 sparc64 ppc64 amd64
|
2010-11-15 06:06:03 +00:00
|
|
|
sed -i "s|@XSPICEINIT@ codemodel @prefix@/@libname@|@XSPICEINIT@ codemodel %{_libdir}|" \
|
2016-06-29 00:19:00 +00:00
|
|
|
src/spinit.in
|
2006-10-12 18:46:00 +00:00
|
|
|
%endif
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
# Fix Tclspice's examples
|
|
|
|
sed -i \
|
2016-06-29 00:19:00 +00:00
|
|
|
's|load "../../../src/.libs/libspice.so"|lappend auto_path "%{_libdir}/tclspice"\npackage require spice|' \
|
2018-06-19 06:26:52 +00:00
|
|
|
examples/tclspice/*/*.{tcl,sh}
|
2009-08-09 15:54:16 +00:00
|
|
|
sed -i \
|
2016-06-29 00:19:00 +00:00
|
|
|
's|load ../../../src/.libs/libspice.so|lappend auto_path "%{_libdir}/tclspice"\npackage require spice|' \
|
2018-06-19 06:26:52 +00:00
|
|
|
examples/tclspice/*/*.{tcl,sh}
|
2009-08-09 15:54:16 +00:00
|
|
|
sed -i \
|
2018-06-19 06:26:52 +00:00
|
|
|
's|spice::codemodel ../../src/xspice/icm/spice2poly|spice::codemodel %{_libdir}/tclspice/spice2poly|' \
|
|
|
|
examples/tclspice/tcl-testbench*/tcl-testbench*.sh
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2010-11-15 06:06:03 +00:00
|
|
|
# Fixed minor CVS build
|
2016-06-29 00:19:00 +00:00
|
|
|
sed -i \
|
|
|
|
"s|AM_CPPFLAGS =|AM_CPPFLAGS = -I\$(top_srcdir)/src/maths/ni |" \
|
|
|
|
src/spicelib/analysis/Makefile.am
|
2010-11-15 06:06:03 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
export ACLOCAL_FLAGS=-Im4
|
2010-11-15 06:06:03 +00:00
|
|
|
./autogen.sh --adms
|
|
|
|
|
|
|
|
chmod +x configure
|
2009-12-04 07:07:39 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
%build
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2010-07-22 17:18:03 +00:00
|
|
|
# ---- Manual ----------------------------------------------------------------
|
2010-11-15 06:06:03 +00:00
|
|
|
cd ng-spice-manuals
|
2016-06-29 00:19:00 +00:00
|
|
|
autoreconf -Wno-portability --install
|
2015-10-08 15:56:41 +00:00
|
|
|
%configure ; make
|
2010-11-15 06:06:03 +00:00
|
|
|
cd ..
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2010-07-01 19:24:30 +00:00
|
|
|
cd ng-spice-rework
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
# ---- Tclspice ----------------------------------------------------------------
|
|
|
|
# Adding BLT support
|
2009-12-04 07:07:39 +00:00
|
|
|
export CFLAGS="%{optflags} -I%{_includedir}/blt"
|
2009-08-09 15:54:16 +00:00
|
|
|
|
|
|
|
# Make builddir for tclspice
|
|
|
|
%{__mkdir} -p tclspice
|
|
|
|
%{__cp} -Rl `ls . | grep -v tclspice` tclspice
|
|
|
|
|
|
|
|
# Configure tclspice
|
|
|
|
cd tclspice
|
2016-06-29 00:19:00 +00:00
|
|
|
sed -i \
|
|
|
|
's|\#define NGSPICEDATADIR "\`echo \$dprefix/share/ngspice\`"|\#define NGSPICEDATADIR "\`echo %{_libdir}/tclspice\`"|' \
|
|
|
|
configure*
|
2010-07-01 19:24:30 +00:00
|
|
|
# fix ng-spice-manuals directory location
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2016-06-29 00:19:00 +00:00
|
|
|
sed -i \
|
|
|
|
's|../ng-spice-manuals|../../ng-spice-manuals|g' \
|
|
|
|
manual/Makefile.am
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2010-07-01 19:24:30 +00:00
|
|
|
|
2014-06-13 19:25:02 +00:00
|
|
|
# direct access to Tcl_Interp->result deprecated in tcl8.6,
|
|
|
|
# remaining usage cannot be replaced by Tcl_SetResult
|
|
|
|
export CPPFLAGS=-DUSE_INTERP_RESULT
|
|
|
|
|
2017-03-30 09:42:40 +00:00
|
|
|
# comment by Mamoru TASAKA (20170330)
|
|
|
|
# Looking at the actually source code, --enable-newpred does not seem to
|
|
|
|
# make sense, and it seems to cause calculation error (bug 844100, bug 1429130)
|
2009-08-09 15:54:16 +00:00
|
|
|
%configure \
|
2016-06-29 00:19:00 +00:00
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-xgraph \
|
|
|
|
--enable-adms \
|
|
|
|
--enable-xspice \
|
|
|
|
--enable-maintainer-mode \
|
|
|
|
--enable-dependency-tracking \
|
|
|
|
--enable-capzerobypass \
|
|
|
|
--enable-cider \
|
2017-03-30 09:42:40 +00:00
|
|
|
%if 0
|
2016-06-29 00:19:00 +00:00
|
|
|
--enable-newpred \
|
2017-03-30 09:42:40 +00:00
|
|
|
%endif
|
2016-06-29 00:19:00 +00:00
|
|
|
--enable-expdevices \
|
|
|
|
--enable-intnoise \
|
|
|
|
--enable-openmp \
|
|
|
|
--enable-predictor \
|
|
|
|
--enable-numparam \
|
|
|
|
--enable-dot-global \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-ndev \
|
|
|
|
--with-readline=yes \
|
|
|
|
--with-tcl=%{_libdir}/ \
|
|
|
|
--libdir=%{_libdir}/tclspice \
|
2018-06-19 06:26:52 +00:00
|
|
|
--enable-oldapps \
|
2016-06-29 00:19:00 +00:00
|
|
|
%{nil}
|
2009-08-09 15:54:16 +00:00
|
|
|
|
|
|
|
%{__make}
|
2017-09-22 05:54:32 +00:00
|
|
|
# Once install to the temp dir
|
|
|
|
rm -rf $(pwd)/../INST-TCLSPICE
|
|
|
|
%{__make} INSTALL="install -p" install DESTDIR=$(pwd)/../INST-TCLSPICE
|
2009-08-09 15:54:16 +00:00
|
|
|
cd ..
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
2017-09-22 05:54:32 +00:00
|
|
|
for opt in with-ngshared without-ngshared
|
|
|
|
do
|
2009-08-09 15:54:16 +00:00
|
|
|
%configure \
|
2016-06-29 00:19:00 +00:00
|
|
|
--disable-silent-rules \
|
2017-09-22 05:54:32 +00:00
|
|
|
--${opt} \
|
2016-06-29 00:19:00 +00:00
|
|
|
--disable-xgraph \
|
|
|
|
--enable-adms \
|
|
|
|
--enable-xspice \
|
|
|
|
--enable-maintainer-mode \
|
|
|
|
--enable-dependency-tracking \
|
|
|
|
--enable-capzerobypass \
|
|
|
|
--enable-cider \
|
2017-03-30 09:42:40 +00:00
|
|
|
%if 0
|
2016-06-29 00:19:00 +00:00
|
|
|
--enable-newpred \
|
2017-03-30 09:42:40 +00:00
|
|
|
%endif
|
2016-06-29 00:19:00 +00:00
|
|
|
--enable-expdevices \
|
|
|
|
--enable-intnoise \
|
|
|
|
--enable-openmp \
|
|
|
|
--enable-predictor \
|
|
|
|
--enable-numparam \
|
|
|
|
--enable-dot-global \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-ndev \
|
|
|
|
--with-readline=yes \
|
|
|
|
--libdir=%{_libdir} \
|
2018-06-19 06:26:52 +00:00
|
|
|
--enable-oldapps \
|
2016-06-29 00:19:00 +00:00
|
|
|
%{nil}
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2017-09-22 05:54:32 +00:00
|
|
|
%{__make} clean
|
2010-07-01 19:24:30 +00:00
|
|
|
%{__make}
|
|
|
|
# %{?_smp_mflags}
|
2017-09-22 05:54:32 +00:00
|
|
|
# Once install to the temp dir
|
|
|
|
rm -rf $(pwd)/INST-NGSPICE-${opt}
|
|
|
|
%{__make} INSTALL="install -p" install DESTDIR=$(pwd)/INST-NGSPICE-${opt}
|
2018-12-30 13:20:45 +00:00
|
|
|
find $(pwd)/INST-NGSPICE-${opt} -type f | sort
|
2017-09-22 05:54:32 +00:00
|
|
|
|
|
|
|
done
|
2006-08-30 17:24:55 +00:00
|
|
|
|
|
|
|
%install
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2010-07-01 19:24:30 +00:00
|
|
|
cd ng-spice-rework
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
# ---- Tclspice ----------------------------------------------------------------
|
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
# Clean up unneeded / duplicate files also installed from ngspice
|
|
|
|
pushd INST-TCLSPICE
|
|
|
|
rm -rf ./%{_datadir}/ngspice/include/
|
|
|
|
# see bug 1311869
|
|
|
|
rm -f ./%{_datadir}/ngspice/scripts/spinit
|
|
|
|
# binary differ
|
|
|
|
mv .%{_bindir}/cmpp{,-tclspice}
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Install
|
2017-09-22 05:54:32 +00:00
|
|
|
cp -a INST-NGSPICE-without-ngshared/* %{buildroot}
|
2016-06-29 00:19:00 +00:00
|
|
|
cp -a INST-TCLSPICE/* %{buildroot}
|
|
|
|
|
2017-09-22 05:54:32 +00:00
|
|
|
# For now, remove include files
|
|
|
|
rm -rf %{buildroot}%{_includedir}
|
2016-06-29 00:19:00 +00:00
|
|
|
%{__rm} -rf \
|
2016-07-03 05:14:59 +00:00
|
|
|
%{buildroot}%{_libdir}/tclspice/libspice.la \
|
|
|
|
%{buildroot}%{_libdir}/tclspice/libspicelite.la \
|
|
|
|
%{nil}
|
2009-08-09 15:54:16 +00:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
|
2010-11-15 06:06:03 +00:00
|
|
|
# ADMS support
|
2016-06-29 00:19:00 +00:00
|
|
|
# It seems that the below is not needed, compiled into binary already
|
|
|
|
# (mtasaka, 20160628)
|
|
|
|
%if 0
|
2010-11-15 06:06:03 +00:00
|
|
|
cp -pr ./src/spicelib/devices/adms/ %{buildroot}%{_datadir}/%{name}
|
2016-06-29 00:19:00 +00:00
|
|
|
%endif
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2013-12-21 05:56:19 +00:00
|
|
|
# Ensuring that all docs are under %%{_pkgdocdir}
|
|
|
|
mkdir -p %{buildroot}%{_pkgdocdir}
|
|
|
|
cp -pr examples/ %{buildroot}%{_pkgdocdir}
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2013-12-21 05:56:19 +00:00
|
|
|
cp -p ../ng-spice-manuals/manual.pdf %{buildroot}%{_pkgdocdir}/%{name}-%{version}.pdf
|
2011-11-29 21:05:57 +00:00
|
|
|
%else
|
2018-06-19 06:26:52 +00:00
|
|
|
install -cpm 0644 %{SOURCE1} %{buildroot}%{_pkgdocdir}/%{name}-%{version}.pdf
|
2011-11-29 21:05:57 +00:00
|
|
|
%endif
|
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
cp -a \
|
|
|
|
Stuarts_Poly_Notes \
|
|
|
|
FAQ \
|
|
|
|
DEVICES \
|
|
|
|
ANALYSES \
|
|
|
|
%{buildroot}%{_pkgdocdir}
|
|
|
|
cp -a \
|
|
|
|
AUTHORS \
|
|
|
|
README* \
|
|
|
|
BUGS \
|
|
|
|
ChangeLog \
|
|
|
|
NEWS \
|
|
|
|
%{buildroot}%{_pkgdocdir}
|
2009-08-09 15:54:16 +00:00
|
|
|
|
|
|
|
# pull as debuginfo
|
2015-10-08 15:56:41 +00:00
|
|
|
chmod +x %{buildroot}%{_libdir}/ngspice/*.cm
|
|
|
|
chmod +x %{buildroot}%{_libdir}/tclspice/ngspice/*.cm
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
%check
|
2011-11-29 21:05:57 +00:00
|
|
|
%if %{?devel}
|
2010-07-01 19:24:30 +00:00
|
|
|
cd ng-spice-rework/tests
|
2011-11-29 21:05:57 +00:00
|
|
|
%else
|
|
|
|
cd tests
|
|
|
|
%endif
|
2009-08-09 15:54:16 +00:00
|
|
|
#make check
|
2006-12-24 16:46:21 +00:00
|
|
|
|
2006-08-30 17:24:55 +00:00
|
|
|
%files
|
2009-08-09 15:54:16 +00:00
|
|
|
%{_bindir}/*
|
2016-06-29 00:19:00 +00:00
|
|
|
%exclude %{_bindir}/cmpp-tclspice
|
2009-08-09 15:54:16 +00:00
|
|
|
%{_datadir}/%{name}/
|
2016-06-29 00:19:00 +00:00
|
|
|
%exclude %{_datadir}/%{name}/scripts/tclspinit
|
2015-10-08 15:56:41 +00:00
|
|
|
%{_libdir}/ngspice/
|
2016-06-29 00:19:00 +00:00
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
%{_mandir}/man1/*
|
2013-12-21 05:56:19 +00:00
|
|
|
%exclude %{_pkgdocdir}/examples/tclspice
|
2016-06-29 00:19:00 +00:00
|
|
|
%doc %{_pkgdocdir}
|
2015-10-08 15:56:41 +00:00
|
|
|
%license COPYING
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
%files -n tclspice
|
|
|
|
%{_bindir}/cmpp-tclspice
|
|
|
|
%doc %{_pkgdocdir}/examples/tclspice
|
2009-08-09 15:54:16 +00:00
|
|
|
%{_libdir}/tclspice/
|
2016-06-29 00:19:00 +00:00
|
|
|
%dir %{_datadir}/ngspice
|
|
|
|
%dir %{_datadir}/%{name}/scripts/
|
|
|
|
%{_datadir}/%{name}/scripts/tclspinit
|
2007-01-12 20:21:24 +00:00
|
|
|
|
2010-07-01 19:24:30 +00:00
|
|
|
%changelog
|
2018-12-30 13:20:45 +00:00
|
|
|
* Sun Dec 30 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 29-1
|
|
|
|
- Update to 29
|
|
|
|
|
2018-07-13 11:36:34 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 28-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-19 06:26:52 +00:00
|
|
|
* Tue Jun 19 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 28-1
|
|
|
|
- Update to 28 (bug 1591460)
|
|
|
|
|
2018-02-08 04:13:08 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 27-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-22 05:54:32 +00:00
|
|
|
* Fri Sep 22 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 27-1
|
|
|
|
- Update to 27
|
|
|
|
|
2017-08-03 03:58:42 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 22:56:48 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-30 09:42:40 +00:00
|
|
|
* Thu Mar 30 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 26-8
|
|
|
|
- Disable newpred mode (bug 844100, bug 1429130)
|
|
|
|
|
2017-02-10 22:17:54 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-12 16:30:35 +00:00
|
|
|
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 26-6
|
|
|
|
- Rebuild for readline 7.x
|
|
|
|
|
2016-07-03 05:08:51 +00:00
|
|
|
* Sun Jul 3 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 26-5
|
2016-07-03 05:14:59 +00:00
|
|
|
- Link libspice.so with -lBLT or -lBLTlite, depending on whether in tk mode or
|
2016-07-03 05:08:51 +00:00
|
|
|
not (bug 1047056, debian bug 737279)
|
|
|
|
|
2016-06-29 00:19:00 +00:00
|
|
|
* Tue Jun 28 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 26-4
|
|
|
|
- Don't get ngspice files overwritten by files from tclspice side
|
|
|
|
(bug 1311869)
|
|
|
|
- rearrange files entries between ngspice / tclspice
|
|
|
|
- move tclspinit into tclspice
|
|
|
|
- rename tclspice side cmpp
|
|
|
|
- also don't overwrite ngspice header files by tclspice side
|
|
|
|
|
|
|
|
* Mon Jun 27 2016 Mamoru TASAKA <mtasaka@fedoraproject.org>
|
|
|
|
- spec file clean up
|
|
|
|
- Don't install adms source and compiled .o objects, they are
|
|
|
|
already linked into ngspice and tclspice shared library
|
|
|
|
|
2016-02-04 09:21:12 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 26-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-31 23:56:53 +00:00
|
|
|
* Sun Jan 31 2016 Eduardo Mayorga <mayorga@fedoraproject.org> - 26-2
|
|
|
|
- Use %%global instead of %%define
|
|
|
|
|
2015-10-08 15:56:41 +00:00
|
|
|
* Thu Oct 08 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 26-1
|
|
|
|
- Update to 26 release.
|
|
|
|
- use licence tag
|
|
|
|
- use configure macro
|
|
|
|
|
2015-06-17 21:49:08 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-17 11:50:45 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-13 19:25:02 +00:00
|
|
|
* Fri Jun 13 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 23-8
|
|
|
|
- Fix FTBFS with tcl-8.6 (#1106295)
|
|
|
|
|
2014-06-07 12:49:06 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-21 05:56:19 +00:00
|
|
|
* Sat Dec 21 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 23-6
|
|
|
|
- Introduce %%_pkgdocdir (RHBZ #994004).
|
|
|
|
- Fix bogus changelog date.
|
|
|
|
|
2013-08-03 13:18:48 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 08:17:06 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 04:51:54 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-13 11:08:40 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 23-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-29 21:05:57 +00:00
|
|
|
* Tue Nov 29 2011 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 23-1
|
|
|
|
- New upstream sources with various bug fixes
|
|
|
|
- Upstream added #include <ftedev.h> to src/include/tclspice.h
|
|
|
|
|
2011-02-09 00:26:18 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22-6.cvs20101113
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-15 06:06:03 +00:00
|
|
|
* Sat Nov 13 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 21-5.cvs20101113
|
|
|
|
- new upstream sources with various bug fixes
|
|
|
|
|
|
|
|
* Sat Aug 21 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 21-4.cvs20100821
|
|
|
|
- enabling adms support
|
|
|
|
|
|
|
|
* Sun Aug 01 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 21-3.cvs20100719
|
|
|
|
- new fixes from development trunk
|
|
|
|
|
2010-07-12 17:22:44 +00:00
|
|
|
* Sun Jul 11 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 21-2.cvs20100620
|
|
|
|
- added bison and byacc as BR
|
|
|
|
|
|
|
|
* Thu Jul 01 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 21-1.cvs20100620
|
|
|
|
- release -21 with BSIMSOI support for < 130nm designs
|
2006-08-30 17:24:55 +00:00
|
|
|
|
2010-07-01 19:24:30 +00:00
|
|
|
* Sat Jun 19 2010 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 20-4.cvs20100619
|
|
|
|
- prerelease -21 with BSIMSOI support for < 130nm designs
|
2009-08-09 15:54:16 +00:00
|
|
|
|
2009-12-08 23:17:38 +00:00
|
|
|
* Tue Dec 8 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 20-3
|
|
|
|
- Fixed build on CentOS-5
|
|
|
|
|
2009-12-08 00:27:29 +00:00
|
|
|
* Tue Dec 8 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 20-2
|
|
|
|
- Improved interoperobability with xcircuit
|
|
|
|
|
2009-12-04 07:07:39 +00:00
|
|
|
* Mon Nov 16 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 20-1
|
|
|
|
- new upstream release
|
|
|
|
|
2009-08-09 15:54:16 +00:00
|
|
|
* Sun Aug 02 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 19-1
|
|
|
|
- new upstream release
|
|
|
|
- RHBZ #514484 A Long Warning Message (patched)
|
|
|
|
- RHBZ #511695 FTBFS ngspice-18-2.fc11
|
|
|
|
|
2009-02-21 23:54:49 +00:00
|
|
|
* Sat Feb 21 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 18-2
|
|
|
|
- x11 windows (help and plot) fixes #RHBZ 481525
|
|
|
|
|
2009-01-11 22:45:15 +00:00
|
|
|
* Sat Jan 10 2009 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 18-1
|
|
|
|
- new upstream release
|
|
|
|
|
2008-06-15 12:22:31 +00:00
|
|
|
* Sun Jun 15 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-16
|
|
|
|
- Bugfix: #449409: FTBFS ngspice-17-14.fc9
|
|
|
|
|
2008-04-17 22:53:38 +00:00
|
|
|
* Fri Apr 18 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-15
|
2008-04-17 22:50:04 +00:00
|
|
|
- rebuild
|
|
|
|
|
2007-08-24 10:25:18 +00:00
|
|
|
* Fri Aug 24 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-13
|
|
|
|
- mass rebuild for fedora 8 - BuildID
|
|
|
|
|
2013-12-21 05:56:19 +00:00
|
|
|
* Mon Aug 06 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-12
|
2007-08-06 01:29:03 +00:00
|
|
|
- fixed ScriptletSnippets for Texinfo #246780
|
|
|
|
- moved documentations to -doc package
|
|
|
|
|
2007-03-17 14:48:14 +00:00
|
|
|
* Sat Mar 17 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-11
|
|
|
|
- droped patch: ngspice-bjt.patch, upstream will provide a better patch soon
|
|
|
|
|
2007-03-17 11:54:03 +00:00
|
|
|
* Sat Mar 17 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-10
|
|
|
|
- fixed bug #227519 in spec file - Ville Skyttä
|
|
|
|
- patch: ngspice-bjt.patch fixes the problem with bjt devices that have less than five nodes
|
|
|
|
|
2007-01-12 20:21:24 +00:00
|
|
|
* Tue Jan 09 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-9
|
|
|
|
- dropped --enable-cider since it requires non-opensource software
|
|
|
|
- dropped --enable-predictor from %%configure
|
|
|
|
|
2006-12-24 16:46:21 +00:00
|
|
|
* Tue Dec 19 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-8
|
|
|
|
- patch0 for xcircuit pipemode
|
|
|
|
- XCircuit can work as an ng-spice front-end
|
|
|
|
- fixed infodir to mean FE guidelines
|
|
|
|
|
|
|
|
* Sun Oct 15 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-7
|
2006-10-15 13:41:53 +00:00
|
|
|
- Fixed src/spinit.in for 64 bit
|
|
|
|
|
2006-12-24 16:46:21 +00:00
|
|
|
* Thu Oct 12 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-6
|
|
|
|
- Testing on 64 bit arch
|
2006-10-12 18:46:00 +00:00
|
|
|
|
2006-12-24 16:46:21 +00:00
|
|
|
* Mon Sep 04 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-5
|
2006-09-04 08:56:45 +00:00
|
|
|
- Added libXt-devel to include X headers
|
|
|
|
|
2006-08-30 17:24:55 +00:00
|
|
|
* Wed Aug 30 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> 17-4
|
|
|
|
- Fix to pass compiler flags in xgraph.
|
|
|
|
|
2006-12-24 16:46:21 +00:00
|
|
|
* Tue Aug 29 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-3
|
2006-08-30 17:24:55 +00:00
|
|
|
- Fixed BR and script-without-shellbang for debug file
|
|
|
|
|
2006-12-24 16:46:21 +00:00
|
|
|
* Mon Aug 28 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-2
|
2006-08-30 17:24:55 +00:00
|
|
|
- Fixed BRs and excluded libbsim4.a
|
|
|
|
- Removed duplicates and useless ldconfig from %%post
|
|
|
|
|
2006-12-24 16:46:21 +00:00
|
|
|
* Sun Aug 27 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-1
|
2008-06-15 12:22:31 +00:00
|
|
|
- Initial Package for Fedora Extras
|