1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnucap/gnucap.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,90 @@ 1.4 +Name: gnucap 1.5 +Version: 0.35 1.6 +Release: 7%{?dist} 1.7 +Summary: The Gnu Circuit Analysis Package 1.8 +Group: Applications/Engineering 1.9 +License: GPLv2+ 1.10 +URL: http://www.gnu.org/software/gnucap/ 1.11 +Source0: http://www.gnucap.org/devel/gnucap-%{version}.tar.gz 1.12 +Patch0: gnucap-0.34-debian.patch 1.13 +Patch1: gnucap-0.35-gcc43.patch 1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.15 +BuildRequires: readline-devel 1.16 + 1.17 +%description 1.18 +The primary component is a general purpose circuit simulator. It performs 1.19 +nonlinear dc and transient analyses, fourier analysis, and ac analysis. Spice 1.20 +compatible models for the MOSFET (level 1-7), BJT, and diode are included in 1.21 +this release. Gnucap is not based on Spice, but some of the models have been 1.22 +derived from the Berkeley models. Unlike Spice, the engine is designed to do 1.23 +true mixed-mode simulation. Most of the code is in place for future support of 1.24 +event driven analog simulation, and true multi-rate simulation. 1.25 + 1.26 + 1.27 +%prep 1.28 +%setup -q 1.29 +%patch0 -p1 1.30 +%patch1 -p1 1.31 +# use ncurses instead of termcap (bz 226771) 1.32 +sed -i 's/-ltermcap/-lncurses/g' configure 1.33 + 1.34 + 1.35 +%build 1.36 +%configure 1.37 +make %{?_smp_mflags} 1.38 + 1.39 + 1.40 +%install 1.41 +# make install uses hardcoded /usr/bin etc paths, so we must do this DIY 1.42 +rm -rf $RPM_BUILD_ROOT 1.43 +make install DESTDIR=$RPM_BUILD_ROOT 1.44 + 1.45 +# for %%doc 1.46 +rm -fr $RPM_BUILD_ROOT%{_datadir}/%{name} 1.47 +mv doc/acs-tutorial doc/gnucap-tutorial 1.48 +rm examples/Makefile* 1.49 + 1.50 + 1.51 +%clean 1.52 +rm -rf $RPM_BUILD_ROOT 1.53 + 1.54 + 1.55 +%files 1.56 +%defattr(-,root,root,-) 1.57 +%doc doc/COPYING doc/history doc/relnotes.* doc/gnucap-tutorial doc/whatisit 1.58 +%doc man/gnucap-man.pdf examples 1.59 +%{_bindir}/%{name}* 1.60 +%{_mandir}/man1/%{name}.1.gz 1.61 + 1.62 + 1.63 +%changelog 1.64 +* Wed Jan 13 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 0.35-7 1.65 +- Fixed URL and Source0 1.66 + 1.67 +* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-6 1.68 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.69 + 1.70 +* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-5 1.71 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.72 + 1.73 +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.35-4 1.74 +- Autorebuild for GCC 4.3 1.75 + 1.76 +* Tue Jan 8 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.35-3 1.77 +- Fix building with gcc 4.3 1.78 + 1.79 +* Tue Aug 7 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.35-2 1.80 +- Update License tag for new Licensing Guidelines compliance 1.81 + 1.82 +* Wed Feb 14 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.35-1 1.83 +- New upstream release 0.35 1.84 +- Link with -lncurses instead of -ltermcap (bz 226771) 1.85 + 1.86 +* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.34-3 1.87 +- FE6 Rebuild 1.88 + 1.89 +* Thu Apr 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.34-2 1.90 +- add %%{?_smp_mflags} to the make command (bz 189699) 1.91 + 1.92 +* Sun Apr 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.34-1 1.93 +- Initial spec file