auto-import ngspice-17-9 on branch devel from ngspice-17-9.src.rpm
This commit is contained in:
parent
751d42226a
commit
1eec400cf0
26
ngspice.spec
26
ngspice.spec
|
@ -1,6 +1,6 @@
|
||||||
Name: ngspice
|
Name: ngspice
|
||||||
Version: 17
|
Version: 17
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: A mixed level/signal circuit simulator
|
Summary: A mixed level/signal circuit simulator
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
|
@ -14,6 +14,9 @@ Patch0: %{name}-%{version}-pipemode.patch
|
||||||
BuildRequires: readline-devel, libXext-devel, libpng-devel, libICE-devel
|
BuildRequires: readline-devel, libXext-devel, libpng-devel, libICE-devel
|
||||||
BuildRequires: libXaw-devel, mesa-libGL-devel, libXt-devel
|
BuildRequires: libXaw-devel, mesa-libGL-devel, libXt-devel
|
||||||
|
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ngspice is a general-purpose circuit simulator program.
|
Ngspice is a general-purpose circuit simulator program.
|
||||||
It implements three classes of analysis:
|
It implements three classes of analysis:
|
||||||
|
@ -37,8 +40,6 @@ develop their own models for devices using the codemodel interface.
|
||||||
Summary: Documentation for ngspice, a mixed level/signal circuit simulator
|
Summary: Documentation for ngspice, a mixed level/signal circuit simulator
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Requires: ngspice = %{version}
|
Requires: ngspice = %{version}
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
|
@ -64,14 +65,8 @@ cat src/spinit.in.ngspice | sed \
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-cider \
|
|
||||||
--enable-dot-global \
|
|
||||||
--enable-predictor \
|
|
||||||
--enable-numparam \
|
|
||||||
--enable-xgraph \
|
--enable-xgraph \
|
||||||
--enable-xspice \
|
--enable-xspice \
|
||||||
--with-x=yes \
|
|
||||||
--with-readline=yes \
|
|
||||||
%ifarch x86_64 sparc64 ppc64 amd64
|
%ifarch x86_64 sparc64 ppc64 amd64
|
||||||
--enable-libsuffix=64 \
|
--enable-libsuffix=64 \
|
||||||
%endif
|
%endif
|
||||||
|
@ -104,10 +99,10 @@ chmod +x %{buildroot}%{_libdir}/spice/{xtraevt.cm,xtradev.cm,analog.cm,spice2pol
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%post
|
%post doc
|
||||||
/sbin/install-info --quiet --info-dir=%{_infodir}/dir %{_infodir}/%{name}.info.* ||:
|
/sbin/install-info --quiet --info-dir=%{_infodir}/dir %{_infodir}/%{name}.info.* ||:
|
||||||
|
|
||||||
%preun
|
%preun doc
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info.* --info-dir=%{_infodir}/dir ||:
|
/sbin/install-info --delete %{_infodir}/%{name}.info.* --info-dir=%{_infodir}/dir ||:
|
||||||
fi
|
fi
|
||||||
|
@ -116,7 +111,7 @@ fi
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING README BUGS ChangeLog NEWS
|
%doc AUTHORS COPYING README BUGS ChangeLog NEWS
|
||||||
%exclude %{_datadir}/ng-spice-rework/doc/
|
%exclude %{_datadir}/ng-spice-rework/doc/*
|
||||||
%exclude %{_datadir}/ng-spice-rework/examples/
|
%exclude %{_datadir}/ng-spice-rework/examples/
|
||||||
%{_bindir}/cmpp
|
%{_bindir}/cmpp
|
||||||
%{_bindir}/makeidx
|
%{_bindir}/makeidx
|
||||||
|
@ -129,18 +124,23 @@ fi
|
||||||
%{_bindir}/xgraph
|
%{_bindir}/xgraph
|
||||||
%{_datadir}/ng-spice-rework/
|
%{_datadir}/ng-spice-rework/
|
||||||
%{_libdir}/spice/
|
%{_libdir}/spice/
|
||||||
%{_infodir}/ngspice.info*.*
|
|
||||||
%{_mandir}/man1/ngnutmeg.1.*
|
%{_mandir}/man1/ngnutmeg.1.*
|
||||||
%{_mandir}/man1/ngsconvert.1.*
|
%{_mandir}/man1/ngsconvert.1.*
|
||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
%{_mandir}/manm/xgraph.man.*
|
%{_mandir}/manm/xgraph.man.*
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
|
%{_infodir}/ngspice.info*.*
|
||||||
%{_datadir}/ng-spice-rework/doc/
|
%{_datadir}/ng-spice-rework/doc/
|
||||||
%{_datadir}/ng-spice-rework/examples/
|
%{_datadir}/ng-spice-rework/examples/
|
||||||
|
|
||||||
%Changelog
|
%Changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Tue Dec 19 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-8
|
* Tue Dec 19 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-8
|
||||||
- patch0 for xcircuit pipemode
|
- patch0 for xcircuit pipemode
|
||||||
- XCircuit can work as an ng-spice front-end
|
- XCircuit can work as an ng-spice front-end
|
||||||
|
|
Loading…
Reference in New Issue