rpms/ngspice/devel ngspice.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chitlesh GOORAH (chitlesh) fedora-extras-commits at redhat.com
Wed Aug 30 17:24:55 UTC 2006


Author: chitlesh

Update of /cvs/extras/rpms/ngspice/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15152/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ngspice.spec 
Log Message:
auto-import ngspice-17-4 on branch devel from ngspice-17-4.src.rpm


--- NEW FILE ngspice.spec ---
Name:              ngspice
Version:           17
Release:           4%{?dist}
Summary:           A mixed level/signal circuit simulator

License:           BSD
Group:             Applications/Engineering
URL:               http://%{name}.sourceforge.net/

Source0:           http://ovh.dl.sourceforge.net/sourceforge/%{name}/ng-spice-rework-%{version}.tar.gz
BuildRoot:         %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:     readline-devel, libXext-devel, libpng-devel, libICE-devel
BuildRequires:     libXaw-devel, mesa-libGL-devel

%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.

%package doc
Summary:           Documentation for ngspice, a mixed level/signal circuit simulator
Group:             Documentation
Requires:          ngspice = %{version}
Requires(post):    /sbin/install-info
Requires(preun):   /sbin/install-info


%description doc
This package contains the documentation of ngspice in pdf, postscript
and info format.


%prep
%setup -q -n ng-spice-rework-%{version}

%build
%configure              \
    --enable-cider      \
    --enable-dot-global \
    --enable-predictor  \
    --enable-numparam   \
    --enable-xgraph     \
    --enable-xspice     \
    --with-x=yes        \
    --with-readline=yes

# make in xgraph with another flag first so
# that we can correctly use Fedora compiler flags.
( cd xgraph ; %{__make} \
   ADDITIONAL_INCLUDES="$RPM_OPT_FLAGS" %{?_smp_mflags} )

%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
chmod 644 src/xspice/*/*.{c,h,l,y}
chmod 644 src/frontend/*.{c,h}
chmod 644 src/include/*.h

make install DESTDIR=%{buildroot}
%{__rm} -f doc/Makefile*
%{__rm} -f doc/ngspice.info*

chmod +x %{buildroot}%{_libdir}/spice/{xtraevt.cm,xtradev.cm,analog.cm,spice2poly.cm,digital.cm}
rm -f %{buildroot}%{_libdir}/ng-spice-rework/libbsim4.a

%clean
rm -rf %{buildroot}

%post doc
/sbin/install-info --quiet --info-dir=%{_infodir}/dir %{_infodir}/%{name}.info.gz >/dev/null 2>&1

%preun doc
if [ "$1" = 0 ]; then
   /sbin/install-info --del %{_infodir}/%{name}.info.gz --info-dir=%{_infodir}/dir >/dev/null 2>&1
fi


%files
%defattr(-,root,root,-)
%doc ANALYSES AUTHORS BUGS ChangeLog COPYING DEVICES INSTALL NEWS README
%{_bindir}/cmpp
%{_bindir}/makeidx
%{_bindir}/nghelp
%{_bindir}/ngmultidec
%{_bindir}/ngnutmeg
%{_bindir}/ngproc2mod
%{_bindir}/ngsconvert
%{_bindir}/%{name}
%{_bindir}/xgraph
%dir %{_datadir}/ng-spice-rework
%{_datadir}/ng-spice-rework/helpdir
%{_datadir}/ng-spice-rework/scripts
%dir %{_libdir}/spice/
%{_libdir}/spice/analog.cm
%{_libdir}/spice/digital.cm
%{_libdir}/spice/spice2poly.cm
%{_libdir}/spice/xtradev.cm
%{_libdir}/spice/xtraevt.cm


%files doc
%defattr(-, root, root, -)
%doc doc/ examples/ Stuarts_Poly_Notes FAQ
%{_infodir}/ngspice.info*.*
%{_mandir}/man1/ngnutmeg.1.*
%{_mandir}/man1/ngsconvert.1.*
%{_mandir}/man1/%{name}.1.*
%{_mandir}/manm/xgraph.man.*


%Changelog
* Wed Aug 30 2006 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 17-4
- Fix to pass compiler flags in xgraph.

* Tue Aug 29 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> 17-3
- Fixed BR and script-without-shellbang for debug file

* Mon Aug 28 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> 17-2
- Fixed BRs and excluded libbsim4.a
- Removed duplicates and useless ldconfig from %%post

* Sun Aug 27 2006 Chitlesh Goorah <chitlesh at fedoraproject.org> 17-1
- Initial Package for Fedora Extras

Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ngspice/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Aug 2006 17:19:25 -0000	1.1
+++ .cvsignore	30 Aug 2006 17:24:55 -0000	1.2
@@ -0,0 +1 @@
+ng-spice-rework-17.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ngspice/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Aug 2006 17:19:25 -0000	1.1
+++ sources	30 Aug 2006 17:24:55 -0000	1.2
@@ -0,0 +1 @@
+abe283dea98b913a2122f085076865b1  ng-spice-rework-17.tar.gz




More information about the fedora-extras-commits mailing list