Fri, 11 Mar 2011 21:39:41 +0100
Import new package specs for introduction into repository.
michael@0 | 1 | Name: gnucap |
michael@0 | 2 | Version: 0.35 |
michael@1 | 3 | Release: 20101201 |
michael@0 | 4 | Summary: The Gnu Circuit Analysis Package |
michael@1 | 5 | Vendor: Europalab Software |
michael@1 | 6 | Packager: Michael Schloh von Bennewitz |
michael@1 | 7 | Distribution: MeeGo Thirdparty |
michael@0 | 8 | Group: Applications/Engineering |
michael@0 | 9 | License: GPLv2+ |
michael@0 | 10 | URL: http://www.gnu.org/software/gnucap/ |
michael@0 | 11 | Source0: http://www.gnucap.org/devel/gnucap-%{version}.tar.gz |
michael@0 | 12 | Patch0: gnucap-0.34-debian.patch |
michael@0 | 13 | Patch1: gnucap-0.35-gcc43.patch |
michael@0 | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
michael@1 | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 16 | |
michael@0 | 17 | %description |
michael@0 | 18 | The primary component is a general purpose circuit simulator. It performs |
michael@0 | 19 | nonlinear dc and transient analyses, fourier analysis, and ac analysis. Spice |
michael@0 | 20 | compatible models for the MOSFET (level 1-7), BJT, and diode are included in |
michael@0 | 21 | this release. Gnucap is not based on Spice, but some of the models have been |
michael@0 | 22 | derived from the Berkeley models. Unlike Spice, the engine is designed to do |
michael@0 | 23 | true mixed-mode simulation. Most of the code is in place for future support of |
michael@0 | 24 | event driven analog simulation, and true multi-rate simulation. |
michael@0 | 25 | |
michael@0 | 26 | |
michael@0 | 27 | %prep |
michael@0 | 28 | %setup -q |
michael@0 | 29 | %patch0 -p1 |
michael@0 | 30 | %patch1 -p1 |
michael@0 | 31 | # use ncurses instead of termcap (bz 226771) |
michael@0 | 32 | sed -i 's/-ltermcap/-lncurses/g' configure |
michael@0 | 33 | |
michael@0 | 34 | |
michael@0 | 35 | %build |
michael@0 | 36 | %configure |
michael@0 | 37 | make %{?_smp_mflags} |
michael@0 | 38 | |
michael@0 | 39 | |
michael@0 | 40 | %install |
michael@0 | 41 | # make install uses hardcoded /usr/bin etc paths, so we must do this DIY |
michael@0 | 42 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 43 | make install DESTDIR=$RPM_BUILD_ROOT |
michael@0 | 44 | |
michael@0 | 45 | # for %%doc |
michael@0 | 46 | rm -fr $RPM_BUILD_ROOT%{_datadir}/%{name} |
michael@0 | 47 | mv doc/acs-tutorial doc/gnucap-tutorial |
michael@0 | 48 | rm examples/Makefile* |
michael@0 | 49 | |
michael@0 | 50 | |
michael@0 | 51 | %clean |
michael@0 | 52 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 53 | |
michael@0 | 54 | |
michael@0 | 55 | %files |
michael@0 | 56 | %defattr(-,root,root,-) |
michael@0 | 57 | %doc doc/COPYING doc/history doc/relnotes.* doc/gnucap-tutorial doc/whatisit |
michael@0 | 58 | %doc man/gnucap-man.pdf examples |
michael@0 | 59 | %{_bindir}/%{name}* |
michael@0 | 60 | %{_mandir}/man1/%{name}.1.gz |
michael@0 | 61 | |
michael@0 | 62 | |
michael@0 | 63 | %changelog |
michael@1 | 64 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 0.35-20101201 |
michael@1 | 65 | - Repackaged for MeeGo |
michael@1 | 66 | |
michael@0 | 67 | * Wed Jan 13 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 0.35-7 |
michael@0 | 68 | - Fixed URL and Source0 |
michael@0 | 69 | |
michael@0 | 70 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-6 |
michael@0 | 71 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
michael@0 | 72 | |
michael@0 | 73 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-5 |
michael@0 | 74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
michael@0 | 75 | |
michael@0 | 76 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.35-4 |
michael@0 | 77 | - Autorebuild for GCC 4.3 |
michael@0 | 78 | |
michael@0 | 79 | * Tue Jan 8 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.35-3 |
michael@0 | 80 | - Fix building with gcc 4.3 |
michael@0 | 81 | |
michael@0 | 82 | * Tue Aug 7 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.35-2 |
michael@0 | 83 | - Update License tag for new Licensing Guidelines compliance |
michael@0 | 84 | |
michael@0 | 85 | * Wed Feb 14 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.35-1 |
michael@0 | 86 | - New upstream release 0.35 |
michael@0 | 87 | - Link with -lncurses instead of -ltermcap (bz 226771) |
michael@0 | 88 | |
michael@0 | 89 | * Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.34-3 |
michael@0 | 90 | - FE6 Rebuild |
michael@0 | 91 | |
michael@0 | 92 | * Thu Apr 27 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.34-2 |
michael@0 | 93 | - add %%{?_smp_mflags} to the make command (bz 189699) |
michael@0 | 94 | |
michael@0 | 95 | * Sun Apr 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.34-1 |
michael@0 | 96 | - Initial spec file |