michael@0: Name: gnucap michael@0: Version: 0.35 michael@1: Release: 20101201 michael@0: Summary: The Gnu Circuit Analysis Package michael@1: Vendor: Europalab Software michael@1: Packager: Michael Schloh von Bennewitz michael@1: Distribution: MeeGo Thirdparty michael@0: Group: Applications/Engineering michael@0: License: GPLv2+ michael@0: URL: http://www.gnu.org/software/gnucap/ michael@0: Source0: http://www.gnucap.org/devel/gnucap-%{version}.tar.gz michael@0: Patch0: gnucap-0.34-debian.patch michael@0: Patch1: gnucap-0.35-gcc43.patch michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) michael@1: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: michael@0: %description michael@0: The primary component is a general purpose circuit simulator. It performs michael@0: nonlinear dc and transient analyses, fourier analysis, and ac analysis. Spice michael@0: compatible models for the MOSFET (level 1-7), BJT, and diode are included in michael@0: this release. Gnucap is not based on Spice, but some of the models have been michael@0: derived from the Berkeley models. Unlike Spice, the engine is designed to do michael@0: true mixed-mode simulation. Most of the code is in place for future support of michael@0: event driven analog simulation, and true multi-rate simulation. michael@0: michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 -p1 michael@0: %patch1 -p1 michael@0: # use ncurses instead of termcap (bz 226771) michael@0: sed -i 's/-ltermcap/-lncurses/g' configure michael@0: michael@0: michael@0: %build michael@0: %configure michael@0: make %{?_smp_mflags} michael@0: michael@0: michael@0: %install michael@0: # make install uses hardcoded /usr/bin etc paths, so we must do this DIY michael@0: rm -rf $RPM_BUILD_ROOT michael@0: make install DESTDIR=$RPM_BUILD_ROOT michael@0: michael@0: # for %%doc michael@0: rm -fr $RPM_BUILD_ROOT%{_datadir}/%{name} michael@0: mv doc/acs-tutorial doc/gnucap-tutorial michael@0: rm examples/Makefile* michael@0: michael@0: michael@0: %clean michael@0: rm -rf $RPM_BUILD_ROOT michael@0: michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc doc/COPYING doc/history doc/relnotes.* doc/gnucap-tutorial doc/whatisit michael@0: %doc man/gnucap-man.pdf examples michael@0: %{_bindir}/%{name}* michael@0: %{_mandir}/man1/%{name}.1.gz michael@0: michael@0: michael@0: %changelog michael@1: * Wed Dec 1 2010 Michael Schloh von Bennewitz - 0.35-20101201 michael@1: - Repackaged for MeeGo michael@1: michael@0: * Wed Jan 13 2010 Rakesh Pandit - 0.35-7 michael@0: - Fixed URL and Source0 michael@0: michael@0: * Fri Jul 24 2009 Fedora Release Engineering - 0.35-6 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild michael@0: michael@0: * Tue Feb 24 2009 Fedora Release Engineering - 0.35-5 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild michael@0: michael@0: * Tue Feb 19 2008 Fedora Release Engineering - 0.35-4 michael@0: - Autorebuild for GCC 4.3 michael@0: michael@0: * Tue Jan 8 2008 Hans de Goede 0.35-3 michael@0: - Fix building with gcc 4.3 michael@0: michael@0: * Tue Aug 7 2007 Hans de Goede 0.35-2 michael@0: - Update License tag for new Licensing Guidelines compliance michael@0: michael@0: * Wed Feb 14 2007 Hans de Goede 0.35-1 michael@0: - New upstream release 0.35 michael@0: - Link with -lncurses instead of -ltermcap (bz 226771) michael@0: michael@0: * Mon Aug 28 2006 Hans de Goede 0.34-3 michael@0: - FE6 Rebuild michael@0: michael@0: * Thu Apr 27 2006 Hans de Goede 0.34-2 michael@0: - add %%{?_smp_mflags} to the make command (bz 189699) michael@0: michael@0: * Sun Apr 23 2006 Hans de Goede 0.34-1 michael@0: - Initial spec file