gnucap/gnucap.spec

Fri, 11 Mar 2011 21:30:26 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:30:26 +0100
changeset 0
4f133201e207
child 1
4667f24fe848
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial