*** empty log message ***
This commit is contained in:
parent
abddde25cc
commit
fd1d111d50
29
ngspice.spec
29
ngspice.spec
@ -1,6 +1,6 @@
|
||||
Name: ngspice
|
||||
Version: 17
|
||||
Release: 11%{?dist}
|
||||
Release: 12%{?dist}
|
||||
Summary: A mixed level/signal circuit simulator
|
||||
|
||||
License: BSD
|
||||
@ -11,7 +11,6 @@ Source0: http://ovh.dl.sourceforge.net/sourceforge/%{name}/ng-spice-re
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Patch0: %{name}-%{version}-pipemode.patch
|
||||
#Patch1: %{name}-bjt.patch
|
||||
|
||||
BuildRequires: readline-devel, libXext-devel, libpng-devel, libICE-devel
|
||||
BuildRequires: libXaw-devel, mesa-libGL-devel, libXt-devel
|
||||
@ -53,7 +52,7 @@ and info format.
|
||||
%setup -q -n ng-spice-rework-%{version}
|
||||
|
||||
%patch0 -p0 -b .pipemode-xcircuit
|
||||
#%patch1 -p0 -b .bjt
|
||||
|
||||
|
||||
%build
|
||||
%ifarch x86_64 sparc64 ppc64 amd64
|
||||
@ -88,34 +87,22 @@ chmod 644 src/xspice/*/*.{c,h,l,y}
|
||||
chmod 644 src/frontend/*.{c,h}
|
||||
chmod 644 src/include/*.h
|
||||
|
||||
%{__make} install DESTDIR=%{buildroot}
|
||||
%{__make} INSTALL="install -p" 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
|
||||
|
||||
%{__cp} -pr doc/ %{buildroot}%{_datadir}/ng-spice-rework/
|
||||
%{__cp} -p Stuarts_Poly_Notes FAQ DEVICES ANALYSES %{buildroot}%{_datadir}/ng-spice-rework/doc/
|
||||
%{__cp} -pr examples/ %{buildroot}%{_datadir}/ng-spice-rework/
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%post doc
|
||||
/sbin/install-info --quiet --info-dir=%{_infodir}/dir %{_infodir}/%{name}.info.* ||:
|
||||
|
||||
%preun doc
|
||||
if [ "$1" -eq 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info.* --info-dir=%{_infodir}/dir ||:
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README BUGS ChangeLog NEWS
|
||||
%exclude %{_datadir}/ng-spice-rework/doc/*
|
||||
%exclude %{_datadir}/ng-spice-rework/examples/
|
||||
%{_bindir}/cmpp
|
||||
%{_bindir}/makeidx
|
||||
%{_bindir}/nghelp
|
||||
@ -136,10 +123,14 @@ fi
|
||||
%files doc
|
||||
%defattr(-, root, root, -)
|
||||
%{_infodir}/ngspice.info*.*
|
||||
%{_datadir}/ng-spice-rework/doc/
|
||||
%{_datadir}/ng-spice-rework/examples/
|
||||
%doc examples/ doc/
|
||||
%doc Stuarts_Poly_Notes FAQ DEVICES ANALYSES
|
||||
|
||||
%Changelog
|
||||
* Sat Jul 08 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> 17-12
|
||||
- fixed ScriptletSnippets for Texinfo #246780
|
||||
- moved documentations to -doc package
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user