r35704 - in /packages/ng-spice-rework/trunk/debian: ./ patches/

sylvestre-guest at users.alioth.debian.org sylvestre-guest at users.alioth.debian.org
Wed May 6 09:02:29 UTC 2009


Author: sylvestre-guest
Date: Wed May  6 09:02:29 2009
New Revision: 35704

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35704
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/ng-spice-rework/trunk/debian/   (with props)
    packages/ng-spice-rework/trunk/debian/README.Debian
    packages/ng-spice-rework/trunk/debian/changelog
    packages/ng-spice-rework/trunk/debian/compat
    packages/ng-spice-rework/trunk/debian/control
    packages/ng-spice-rework/trunk/debian/copyright
    packages/ng-spice-rework/trunk/debian/dirs
    packages/ng-spice-rework/trunk/debian/docs
    packages/ng-spice-rework/trunk/debian/getopt_replacement.c
    packages/ng-spice-rework/trunk/debian/ngspice-doc.dirs
    packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base
    packages/ng-spice-rework/trunk/debian/ngspice-doc.docs
    packages/ng-spice-rework/trunk/debian/ngspice-doc.install
    packages/ng-spice-rework/trunk/debian/ngspice.dirs
    packages/ng-spice-rework/trunk/debian/ngspice.install
    packages/ng-spice-rework/trunk/debian/patches/
    packages/ng-spice-rework/trunk/debian/patches/01_manpages-hyphen.diff
    packages/ng-spice-rework/trunk/debian/patches/02_fix_getopt.diff
    packages/ng-spice-rework/trunk/debian/patches/03_fix_libdir.diff
    packages/ng-spice-rework/trunk/debian/patches/series
    packages/ng-spice-rework/trunk/debian/rules   (with props)
    packages/ng-spice-rework/trunk/debian/tclspice-dev.dirs
    packages/ng-spice-rework/trunk/debian/tclspice-dev.install
    packages/ng-spice-rework/trunk/debian/tclspice.dirs
    packages/ng-spice-rework/trunk/debian/tclspice.install
    packages/ng-spice-rework/trunk/debian/watch

Propchange: packages/ng-spice-rework/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/ng-spice-rework/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/README.Debian?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/README.Debian (added)
+++ packages/ng-spice-rework/trunk/debian/README.Debian Wed May  6 09:02:29 2009
@@ -1,0 +1,21 @@
+ng-spice-rework for Debian
+--------------------------
+
+This is the non-free version of ngspice. The cider and documentation licenses
+are considered to be non-free.
+
+getopt.c, getopt1.c and getopt.h are removed since their GPL license is incompatible
+with the rest. The rules file installs empty files in their place.
+
+Xgraph has been removed from ngspice but it depends on the Debian Xgraph package.
+Xgraph is removed because of licensing reasons but it is not enough to make 
+ngspice DFSG compatible.
+
+The old documentation is included in this package but new is being written.
+Please take a look at the homepage:
+http://ngspice.sourceforge.net
+
+The directory /usr/share/doc/ngspice/contrib contains some scripts
+that might be useful.
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Sun, 14 Sep 2008 10:04:35 +0200

Added: packages/ng-spice-rework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/changelog?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/changelog (added)
+++ packages/ng-spice-rework/trunk/debian/changelog Wed May  6 09:02:29 2009
@@ -1,0 +1,23 @@
+ng-spice-rework (18-1) unstable; urgency=low
+
+  * Initial release (Closes: #489768)
+  [ أحÙ
د الÙ
Ø­Ù
ودي (Ahmed El-Mahmoudy) ]
+  * debian/rules: add -XCOPYING to dh_installdocs for contrib.
+  * debian/rules, debian/control: Use quilt.
+  * Added 01_manpages-hyphen.diff patch which fixes the hyphens in ngnutmeg.1 
+    & ngspice.1 manpages.
+  * debian/rules: added get-orig-source target.
+  * Added one target package: ngspice-doc.
+  * debian/docs: Added ANALYSES, BUGS & DEVICES.
+
+  [ Gudjon I. Gudjonsson ]
+  * Add the documentation license to the copyright file
+  * Package moved to non-free
+  * Remove getopt*.{c,h} incompatible licenses, add empty files instead
+  * Add patch 02_fix_getopt.diff to include system getopt.h
+  * Add patch 03_fix_libdir.diff that fixes libdir in configure.in
+    Thanks to Ahmed
+  * Let rules run ./autogen.sh in build/tclspice
+  * Add dependencies on automake
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Mon, 20 Apr 2009 19:51:11 +0200

Added: packages/ng-spice-rework/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/compat?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/compat (added)
+++ packages/ng-spice-rework/trunk/debian/compat Wed May  6 09:02:29 2009
@@ -1,0 +1,1 @@
+7

Added: packages/ng-spice-rework/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/control?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/control (added)
+++ packages/ng-spice-rework/trunk/debian/control Wed May  6 09:02:29 2009
@@ -1,0 +1,58 @@
+Source: ng-spice-rework
+Section: non-free/electronics
+Priority: extra
+Maintainer: Gudjon I. Gudjonsson <gudjon at gudjon.org>
+Build-Depends: debhelper (>= 7), automake, libtool, libxaw7-dev, flex,
+ bison, gfortran, libeditline-dev, libncurses5-dev,
+ texinfo, texlive-latex-base,
+ tcl8.4-dev, tcl8.4, tk8.4-dev, tk8.4, blt-dev, quilt
+Standards-Version: 3.8.1
+Homepage: http://ngspice.sourceforge.net
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/ngspice/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/ngspice/trunk
+DM-Upload-Allowed: yes
+
+Package: ngspice
+Section: non-free/electronics
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A Spice circuit simulator
+ NGspice is a mixed-level/mixed-signal circuit simulator.
+ Its code is based on three open source software packages:
+ Spice3f5, Cider1b1 and Xspice.
+ .
+ NGspice is part of gEDA project, a full GPL'd suite of 
+ Electronic Design Automation tools.
+
+Package: tclspice-dev
+Section: non-free/libdevel
+Architecture: any
+Depends: tclspice, blt-dev, tcl8.4-dev, tk8.4-dev
+Description: NGspice library for Tcl
+ TclSpice brings NGspice simulation engine into your Tcl-scripts.
+ It includes XSpice. GUI is handled by Tk using BLT vectors.
+ .
+ This package contains the development files for TclSpice.
+
+Package: tclspice
+Section: non-free/electronics
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, blt, tcl8.4, tk8.4
+Description: NGspice library for Tcl
+ TclSpice brings NGspice simulation engine into your Tcl-scripts.
+ It includes XSpice. GUI is handled by Tk using BLT vectors.
+
+Package: ngspice-doc
+Section: non-free/doc
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Documentation for the ngspice circuit simulator
+ NGspice is a mixed-level/mixed-signal circuit simulator.
+ Its code is based on three open source software packages:
+ Spice3f5, Cider1b1 and Xspice.
+ .
+ NGspice is part of gEDA project, a full GPL'd suite of 
+ Electronic Design Automation tools.
+ .
+ This package contains the html, postscript and pdf documentation.
+

Added: packages/ng-spice-rework/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/copyright?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/copyright (added)
+++ packages/ng-spice-rework/trunk/debian/copyright Wed May  6 09:02:29 2009
@@ -1,0 +1,262 @@
+This package was debianized by Gudjon I. Gudjonsson <gudjon at gudjon.org> on
+Sun, 06 Jul 2008 18:47:46 +0200.
+
+It was downloaded from http://ngspice.sourceforge.net
+
+Upstream Authors:
+    Paolo Nenzi <pnenzi at ieee.org>
+    Holger Vogt <holger.vogt at uni-due.de>
+    Lionel Sainte Cluque <lionel.sc at gmail.com>
+    Dietmar Warning <dietmar.warning at arcor.de>
+
+Copyright:
+    The following people have contributed in some way:
+
+    Copyright (C) Alan Gillespie <Alan.Gillespie at analog.com>
+    Copyright (C) Al Davis <aldavis at ieee.org>
+    Copyright (C) AMAKAWA Shuhei <sa264 at cam.ac.uk>
+    Copyright (C) Andrew Tuckey <Tuckey at ieee.org>
+    Copyright (C) 1989 Anthony E. Parker
+    Copyright (C) Antony Wilson <wilsona at earthlink.net>
+    Copyright (C) 2000 Arno Peters <A.W.Peters at ieee.org>
+    Copyright (C) Beorn Johnson <beorn at eecs.berkeley.edu>
+    Copyright (C) Cecil Aswell <aswell at netcom.com>
+    Copyright (C) Charles D.H. Williams <C.D.H.Williams at exeter.ac.uk>
+    Copyright (C) Chris Inbody <cinbody at cowtown.net>
+    Copyright (C) Daniele Foci <d.foci at ieee.ing.uniroma1.it>
+    Copyright (C) David A. Gates
+    Copyright (C) 1989 David J. Skellern
+    Copyright (C) Dietmar Warning <warning at danalyse.de>
+    Copyright (C) Emmanuel Rouat <emmanuel.rouat at wanadoo.fr>
+    Copyright (C) 1984-2006 Free Software Foundation, Inc.
+    Copyright (C) Gary W. Ng
+    Copyright (C) 2002 Georg Post <georg.post at wanadoo.fr>
+    Copyright (C) 1991 Georgia Tech Research Corporation
+    Copyright (C) Giles C. Billingsley
+    Copyright (C) Glao S. Dezai <dezai at hotbot.com>
+    Copyright (C) Gordon M. Jacobs 
+    Copyright (C) 2003 STARC (Hiroshima University STARC IGFET Model)
+    Copyright (C) Hitoshi Tanaka <HDA01055 at nifty.com>
+    Copyright (C) 2008 Holger Vogt <holger.vogt at uni-duisburg.de>
+    Copyright (C) Hong June Park
+    Copyright (C) Jaijeet S. Roychowdhury
+    Copyright (C) Jean-Marc Routure <routoure at greyc.ismra.fr>
+    Copyright (C) Jeffrey M. Hsu
+    Copyright (C) JianHui Huang
+    Copyright (C) Jon Engelbert <jon at beigebag.com>
+    Copyright (C) 1993 K. Lee
+    Copyright (C) Kanwar Jit Singh
+    Copyright (C) Kartikeya Mayaram
+    Copyright (C) Kenneth H. Keller
+    Copyright (c) 1985-1990 Kenneth S. Kundert
+    Copyright (C) 1993 M. Shur
+    Copyright (C) Manfred Metzger <ManfredMetzger at gmx.de>
+    Copyright (C) Mansun Chan
+    Copyright (C) 1994-1996 Macquarie University, Sydney Australia
+    Copyright (C) Mathew Lew
+    Copyright (C) Michael Widlok <widlok at uci.agh.edu.pl>
+    Copyright (C) Min-Chie Jeng
+    Copyright (C) 2003-2008 Multigig Ltd
+    Copyright (C) Noah Friedman <friedman at prep.ai.mit.edu>
+    Copyright (C) 2003-2009 Paolo Nenzi <pnenzi at ieee.org>
+    Copyright (C) 1990-2006 Regents of the University of California
+    Copyright (C) Richard D. McRoberts <rdm at csn.net>
+    Copyright (C) Robert Lindsell <robertl at research.canon.com.au>
+    Copyright (C) Serban-Mihai Popescu <serbanp at ix.netcom.com>
+    Copyright (C) S. Hwang
+    Copyright (C) Stefan Jones <stefan.jones at multigig.com>
+    Copyright (C) Steven Borley <steven.borley at virgin.net>
+    Copyright (C) Steve Tell <tell at cs.unc.edu>
+    Copyright (C) Stuart Brorson <sdb at cloud9.net>
+    Copyright (C) 1993 T. Ytterdal
+    Copyright (C) 1993 T. A. Fjeldly
+    Copyright (C) Takayasu Sakurai
+    Copyright (C) 1985 Thomas L. Quarles
+    Copyright (C) 2000 owned by the United Kingdom Secretary of State for Defence
+    Copyright (C) 1990 University of California, Berkeley
+    Copyright (C) Vera Albrecht <albrecht at danalyse.de>
+    Copyright (C) Wayne A. Christopher
+    Copyright (C) Weidong Liu
+    Copyright (C) Wolfgang Muees
+    and many others...
+
+License:
+    Ngspice is a conglomeration of different softwares with different licenses.
+    The components and licenses are the following:
+    numparam            LGPL
+    adms                LGPL
+    tclspice            LGPL
+    see:  /usr/share/common-licenses/LGPL-2.1
+    cider               Old BSD          see below
+    xspice              Public Domain    see below
+    spice               New BSD          see below
+    contrib/spiceprm	GPL		 see below
+    contrib directory   see below
+
+
+The Debian packaging is (C) 2008, Gudjon I. Gudjonsson <gudjon at gudjon.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+---------------------------------- Cider -----------------------------------
+  
+                    RESEARCH SOFTWARE AGREEMENT
+  
+         This file specifies the terms under which the software and
+    documentation provided with this distribution are provided.
+  
+         Software is distributed as is, completely without warranty
+    or service support.  The University of California and its employ-
+    ees are not liable for the condition or performance of the
+    software.
+  
+         The University does not warrant that it owns the copyright
+    or other proprietary rights to all software and documentation
+    provided under this agreement, notwithstanding any copyright
+    notice, and shall not be liable for any infringement of copyright
+    or proprietary rights brought by third parties against the reci-
+    pient of the software and documentation provided under this
+    agreement.
+  
+         THE UNIVERSITY OF CALIFORNIA HEREBY DISCLAIMS ALL IMPLIED
+    WARRANTIES, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY
+    AND FITNESS FOR A PARTICULAR PURPOSE.  THE UNIVERSITY IS NOT
+    LIABLE FOR ANY DAMAGES INCURRED BY THE RECIPIENT IN USE OF THE
+    SOFTWARE AND DOCUMENTATION, INCLUDING DIRECT, INDIRECT, SPECIAL,
+    INCIDENTAL, OR CONSEQUENTIAL DAMAGES.
+  
+         The University of California grants the recipient the right
+    to modify, copy, and redistribute the software and documentation,
+    both within the recipient's organization and externally, subject
+    to the following restrictions:
+  
+  
+    (a)  The recipient agrees not to charge for the University of
+         California code itself.  The recipient may, however, charge
+         for additions, extensions, or support.
+  
+    (b)  In any product based on the software, the recipient agrees
+         to acknowledge the research group that developed the
+         software.  This acknowledgement shall appear in the product
+         documentation.
+  
+    (c)  The recipient agrees to obey all U.S. Government restric-
+         tions governing redistribution or export of the software and
+         documentation.
+
+
+---------------------------------- Spice3f5 -------------------------------- 
+
+Copyright (c) 1985-1991 The Regents of the University of California.
+All rights reserved.
+
+Permission is hereby granted, without written agreement and without license
+or royalty fees, to use, copy, modify, and distribute this software and its
+documentation for any purpose, provided that the above copyright notice and
+the following two paragraphs appear in all copies of this software.
+
+IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
+DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
+OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
+CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
+"AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE
+MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+---------------------------------- Xspice --------------------------------
+THE SOFTWARE PROGRAMS BELOW ARE IN THE PUBLIC DOMAIN AND ARE PROVIDED FREE OF 
+ANY CHARGE. THE GEORGIA TECH RESEARCH CORPORATION, THE GEORGIA INSTITUTE OF 
+TECHNOLOGY, AND/OR OTHER PARTIES PROVIDE THIS SOFTWARE "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 
+ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH THE USER. 
+SHOULD THE PROGRAM PROVE DEFECTIVE, THE USER ASSUMES THE ENTIRE COST OF ALL 
+NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT WILL THE GEORGIA TECH 
+RESEARCH CORPORATION, THE GEORGIA INSTITUTE OF TECHNOLOGY, AND/OR OTHER PARTIES 
+PROVIDING THE PROGRAMS BELOW BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR 
+INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA 
+BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 
+FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS).
+
+------------------------------ Documentation ------------------------------
+Copyright 1996 The Regents of the University of California.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for educational, research and non-profit purposes,
+without fee, and without a written agreement is hereby granted,
+provided that the above copyright notice, this paragraph and the
+following three paragraphs appear in all copies.
+
+This software program and documentation are copyrighted by The Regents
+of the University of California. The software program and
+documentation are supplied "as is", without any accompanying services
+from The Regents. The Regents does not warrant that the operation of
+the program will be uninterrupted or error-free. The end-user
+understands that the program was developed for research purposes and
+is advised not to rely exclusively on the program for any reason.
+
+IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
+FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND
+ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE UNIVERSITY OF
+CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS"
+BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE
+MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+------------------------------ contrib directory -----------------------
+The program in the directory contrib/spiceprm is licensed under
+GPL, see `/usr/share/common-licenses/GPL'.
+This program is not linked to any other code in the program.
+
+The the other scripts in the contrib directory are either without license or contain
+the following clause:
+
+These scripts are free for everyone who think that they might by useful for
+him. If someone makes them better please e-mail me.
+Michael Widlok <widlok at uci.agh.edu.pl>
+
+---------------------- src/maths/sparse/ directory ---------------------
+Permission to use, copy, modify, and distribute this software and
+ts documentation for any purpose and without fee is hereby granted,
+provided that the copyright notices appear in all copies and
+supporting documentation and that the authors and the University of
+California are properly credited.  The authors and the University of
+California make no representations as to the suitability of this
+software for any purpose.  It is provided `as is', without express
+or implied warranty.
+
+----------------------- Bison parser -----------------------------------
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA.
+
+As a special exception, you may create a larger work that contains
+part or all of the Bison parser skeleton and distribute that work
+under terms of your choice, so long as that work isn't itself a
+parser generator using the skeleton or a modified version thereof
+as a parser skeleton.  Alternatively, if you modify or redistribute
+the parser skeleton itself, you may (at your option) remove this
+special exception, which will cause the skeleton and the resulting
+Bison output files to be licensed under the GNU General Public
+License without this special exception.
+
+This special exception was added by the Free Software Foundation in
+version 2.2 of Bison.
+

Added: packages/ng-spice-rework/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/dirs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/dirs (added)
+++ packages/ng-spice-rework/trunk/debian/dirs Wed May  6 09:02:29 2009
@@ -1,0 +1,1 @@
+usr/bin

Added: packages/ng-spice-rework/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/docs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/docs (added)
+++ packages/ng-spice-rework/trunk/debian/docs Wed May  6 09:02:29 2009
@@ -1,0 +1,5 @@
+BUGS
+FAQ
+NEWS
+README
+README.adms

Added: packages/ng-spice-rework/trunk/debian/getopt_replacement.c
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/getopt_replacement.c?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/getopt_replacement.c (added)
+++ packages/ng-spice-rework/trunk/debian/getopt_replacement.c Wed May  6 09:02:29 2009
@@ -1,0 +1,3 @@
+/* for Debian, we use the system getopts.  Upstream provided GPL versions
+** which have been removed to preserve BSD licensing
+*/

Added: packages/ng-spice-rework/trunk/debian/ngspice-doc.dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice-doc.dirs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice-doc.dirs (added)
+++ packages/ng-spice-rework/trunk/debian/ngspice-doc.dirs Wed May  6 09:02:29 2009
@@ -1,0 +1,2 @@
+usr/share/doc/ngspice-doc/html
+usr/share/doc/ngspice-doc/examples

Added: packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base (added)
+++ packages/ng-spice-rework/trunk/debian/ngspice-doc.doc-base Wed May  6 09:02:29 2009
@@ -1,0 +1,12 @@
+Document: ngspice
+Title: Debian ngspice Manual
+Author: Many authors
+Abstract: NgSpice, a spice circuit simulator.
+Section: Science/Electronics
+
+Format: postscript
+Files: /usr/share/doc/ngspice-doc/ngspice.ps.gz
+
+Format: HTML
+Index: /usr/share/doc/ngspice-doc/html/index.html
+Files: /usr/share/doc/ngspice-doc/html/*.html

Added: packages/ng-spice-rework/trunk/debian/ngspice-doc.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice-doc.docs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice-doc.docs (added)
+++ packages/ng-spice-rework/trunk/debian/ngspice-doc.docs Wed May  6 09:02:29 2009
@@ -1,0 +1,7 @@
+NEWS
+BUGS
+FAQ
+README
+README.adms
+ANALYSES
+DEVICES

Added: packages/ng-spice-rework/trunk/debian/ngspice-doc.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice-doc.install?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice-doc.install (added)
+++ packages/ng-spice-rework/trunk/debian/ngspice-doc.install Wed May  6 09:02:29 2009
@@ -1,0 +1,1 @@
+usr/share/doc/ngspice-doc/*

Added: packages/ng-spice-rework/trunk/debian/ngspice.dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice.dirs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice.dirs (added)
+++ packages/ng-spice-rework/trunk/debian/ngspice.dirs Wed May  6 09:02:29 2009
@@ -1,0 +1,6 @@
+usr/bin
+usr/lib/spice
+usr/share/info
+usr/share/man
+usr/share/ng-spice-rework
+

Added: packages/ng-spice-rework/trunk/debian/ngspice.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/ngspice.install?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/ngspice.install (added)
+++ packages/ng-spice-rework/trunk/debian/ngspice.install Wed May  6 09:02:29 2009
@@ -1,0 +1,5 @@
+usr/bin/*
+usr/lib/spice/*
+usr/share/info/*
+usr/share/man/*
+usr/share/ng-spice-rework/*

Added: packages/ng-spice-rework/trunk/debian/patches/01_manpages-hyphen.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/patches/01_manpages-hyphen.diff?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/01_manpages-hyphen.diff (added)
+++ packages/ng-spice-rework/trunk/debian/patches/01_manpages-hyphen.diff Wed May  6 09:02:29 2009
@@ -1,0 +1,86 @@
+Fix the hyphens in ngnutmeg.1 & ngspice.1 manpages.
+Index: ng-spice-rework-18.dfsg/man/man1/ngnutmeg.1
+===================================================================
+--- ng-spice-rework-18.dfsg.orig/man/man1/ngnutmeg.1	2009-01-21 17:09:40.000000000 +0200
++++ ng-spice-rework-18.dfsg/man/man1/ngnutmeg.1	2009-01-21 17:13:05.000000000 +0200
+@@ -6,12 +6,12 @@
+ .SH NAME
+ nutmeg \- spice post-processor
+ .SH SYNOPSIS
+-\fBnutmeg [ - ] [ -n ] [ -t term ] [ datafile ... ]\fR
++\fBnutmeg [ \- ] [ \-n ] [ \-t term ] [ datafile ... ]\fR
+ .SH DESCRIPTION
+ .B Nutmeg
+ is a post processor for \s-2SPICE\s+2 \- it takes the raw 
+ output file created 
+-by \fBspice -r\fR
++by \fBspice \-r\fR
+ and plots the data on a graphics terminal or a workstation display.
+ Note that the raw output file is different from the
+ data that \s-2SPICE\s+2 writes to the standard output.
+@@ -92,7 +92,7 @@
+ The phase of vector.
+ .IP
+ \fBj(vector) \-\fR
+-\fIi\fR (sqrt(-1)) times vector.
++\fIi\fR (sqrt(\-1)) times vector.
+ .IP
+ \fBreal(vector) \-\fR
+ The real component of vector.
+@@ -439,12 +439,12 @@
+ \fBcpdebug\fR
+ .br
+ Print \fIcshpar\fR debugging information. (Must be complied with the
+--DCPDEBUG flag.)
++\-DCPDEBUG flag.)
+ .IP
+ \fBdebug\fR 
+ .br
+ If set then a lot of debugging information is printed. (Must be
+-compiled with the -DFTEDEBUG flag.)
++compiled with the \-DFTEDEBUG flag.)
+ .IP
+ \fBdevice\fR
+ .br
+@@ -508,7 +508,7 @@
+ .br
+ If this is set, when the \fBhardcopy\fR command is run the resulting file
+ is automatically printed on the printer named \fBhcopydev\fR with the
+-command \fIlpr -P\fBhcopydev\fI -g \fBfile\fR.
++command \fIlpr \-P\fBhcopydev\fI \-g \fBfile\fR.
+ .IP
+ \fBhcopydevtype\fR 
+ .br
+@@ -925,7 +925,7 @@
+ 	pi		pi
+ 	e		The base of natural logarithms
+ 	c		The speed of light
+-	i		The square root of -1
++	i		The square root of \-1
+ 	kelvin		Absolute 0 in Centigrade
+ 	echarge		The charge on an electron
+ 	boltz		Boltzman's constant
+Index: ng-spice-rework-18.dfsg/man/man1/ngspice.1
+===================================================================
+--- ng-spice-rework-18.dfsg.orig/man/man1/ngspice.1	2009-01-21 17:14:18.000000000 +0200
++++ ng-spice-rework-18.dfsg/man/man1/ngspice.1	2009-01-21 17:14:51.000000000 +0200
+@@ -7,8 +7,8 @@
+ .SH NAME
+ spice \- circuit simulator
+ .SH SYNOPSIS
+-\fBspice [ -n ] [ -t term ] [ -r rawfile] [ -b ]
+-[ -i ] [ input file ... ]\fR
++\fBspice [ \-n ] [ \-t term ] [ \-r rawfile] [ \-b ]
++[ \-i ] [ input file ... ]\fR
+ .SH DESCRIPTION
+ This manual page describes the commands available for interactive
+ use of \*S. For details of circuit descriptions and the
+@@ -35,7 +35,7 @@
+ Run in batch mode. \*S will read the standard input or the specified
+ input file and do the simulation. Note that if the standard input
+ is not a terminal, \*S will default to batch mode, unless the
+--i flag is given.
++\-i flag is given.
+ .TP
+ \fB-s\fR (or \fB--server\fR)
+ Run in server mode. This is like batch mode, except that a temporary

Added: packages/ng-spice-rework/trunk/debian/patches/02_fix_getopt.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/patches/02_fix_getopt.diff?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/02_fix_getopt.diff (added)
+++ packages/ng-spice-rework/trunk/debian/patches/02_fix_getopt.diff Wed May  6 09:02:29 2009
@@ -1,0 +1,11 @@
+--- a/src/main.c
++++ b/src/main.c
+@@ -58,7 +58,7 @@
+ #include "spicelib/devices/dev.h"
+ #include "spicelib/analysis/analysis.h"
+ #include "misc/ivars.h"
+-#include "misc/getopt.h"
++#include <getopt.h>
+ #include "frontend/resource.h"
+ #include "frontend/variable.h"
+ #include "frontend/display.h"  /*  added by SDB to pick up Input() fcn  */

Added: packages/ng-spice-rework/trunk/debian/patches/03_fix_libdir.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/patches/03_fix_libdir.diff?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/03_fix_libdir.diff (added)
+++ packages/ng-spice-rework/trunk/debian/patches/03_fix_libdir.diff Wed May  6 09:02:29 2009
@@ -1,0 +1,26 @@
+--- a/configure.in
++++ b/configure.in
+@@ -278,7 +278,6 @@
+    AM_CONDITIONAL(TCL_MODULE, true)
+    AC_DEFINE(TCL_MODULE,1,[Tcl Module])
+    with_x=no
+-   enable_shared=no
+ 
+   AC_MSG_CHECKING([for tclConfig.sh])
+   tcl_config_sh=""
+@@ -378,6 +377,7 @@
+ fi
+ rm -f conftest.tcl
+ 
++if [ -z $libdir ]; then
+ AC_CHECK_LIB(pthread,pthread_create)
+ for TCL_PACKAGE_PATH_ELEMENT in $TCL_PACKAGE_PATH ; do
+   if test -a $TCL_PACKAGE_PATH_ELEMENT ; then
+@@ -386,6 +386,7 @@
+     break
+   fi
+ done
++fi
+ 
+ else
+   TCL_PACKAGE_PATH=""

Added: packages/ng-spice-rework/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/patches/series?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/series (added)
+++ packages/ng-spice-rework/trunk/debian/patches/series Wed May  6 09:02:29 2009
@@ -1,0 +1,3 @@
+01_manpages-hyphen.diff
+02_fix_getopt.diff
+03_fix_libdir.diff

Added: packages/ng-spice-rework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/rules?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/rules (added)
+++ packages/ng-spice-rework/trunk/debian/rules Wed May  6 09:02:29 2009
@@ -1,0 +1,201 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+include /usr/share/quilt/quilt.make
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+config.status: patch config.status-stamp configure
+config.status-stamp:
+	dh_testdir
+	# Install empty files instead of the original getopt files
+	cp debian/getopt_replacement.c src/misc/getopt.c
+	cp debian/getopt_replacement.c src/misc/getopt.h
+	cp debian/getopt_replacement.c src/misc/getopt1.c
+	# Make build dir for ngspice
+	mkdir -p build/ngspice
+	cp -Rl `ls . |grep -v build|grep -v debian` build/ngspice
+	cp -f /usr/share/misc/config.sub build/ngspice/config.sub
+	cp -f /usr/share/misc/config.guess build/ngspice/config.guess
+	# Make build dir for tclspice
+	mkdir -p build/tclspice
+	cp -Rl `ls . |grep -v build|grep -v debian` build/tclspice
+	cp -f /usr/share/misc/config.sub build/tclspice/config.sub
+	cp -f /usr/share/misc/config.guess build/tclspice/config.guess
+	# Configure ngspice
+	(cd build/ngspice;\
+	./autogen.sh; \
+	./configure $(CROSS) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--enable-maintainer-mode \
+		--enable-capzerobypass \
+		--enable-intnoise \
+		--enable-xspice \
+		--enable-cider \
+		--disable-xgraph \
+		--enable-debug \
+		--enable-numparam=yes \
+		--enable-dot-global \
+		--enable-experimental \
+		enable_adms=no \
+		CFLAGS="$(CFLAGS)")
+	#LDFLAGS="-Wl,-z,defs")
+	# Configure tclspice
+	(cd build/tclspice;\
+	./autogen.sh; \
+	./configure $(CROSS) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info \
+		--libdir=/usr/lib/tcltk \
+		--enable-shared=yes \
+		--enable-maintainer-mode \
+		--enable-capzerobypass \
+		--enable-intnoise \
+		--enable-xspice \
+		--enable-cider \
+		--disable-xgraph \
+		--enable-debug \
+		--enable-numparam=yes \
+		--enable-dot-global \
+		--enable-experimental \
+		--disable-x \
+		--with-tcl=/usr/lib/tcl8.4 \
+		CFLAGS="$(CFLAGS)")
+	touch $@
+
+build: build-stamp
+
+build-stamp:  config.status 
+	dh_testdir
+
+	cd build/ngspice && $(MAKE)
+	cd build/tclspice && $(MAKE)
+	# Build documentation
+	cd build/ngspice/doc && $(MAKE) ps
+	cd build/ngspice/doc && $(MAKE) html
+
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+	rm -f config.status-stamp
+	rm -rf build
+	rm -f src/misc/getopt1.c
+	rm -f src/misc/getopt.c
+	rm -f src/misc/getopt.h
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Make ngspice and tclspice
+	cd build/ngspice && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	cd build/tclspice && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	# The code model files must be stripped
+ifneq ("nostrip","$(findstring nostrip,$(DEB_BUILD_OPTIONS))")
+	strip $(CURDIR)/debian/tmp/usr/lib/spice/*.cm
+	strip $(CURDIR)/debian/tmp/usr/lib/tcltk/spice/*.cm
+endif
+
+	# Remove empty dirs:
+	find $(CURDIR)/debian/tclspice -type d -empty -delete
+
+	# Override file for ngspice
+	##mkdir -p $(CURDIR)/debian/ngspice/usr/share/lintian/overrides/
+	##install -p -o root -g root -m 644 $(CURDIR)/debian/ngspice.overrides \
+	##	$(CURDIR)/debian/ngspice/usr/share/lintian/overrides/ngspice
+	# Override file for tclspice
+	##mkdir -p $(CURDIR)/debian/tclspice/usr/share/lintian/overrides/
+	##install -p -o root -g root -m 644 $(CURDIR)/debian/tclspice.overrides \
+	##	$(CURDIR)/debian/tclspice/usr/share/lintian/overrides/tclspice
+	# Documentation for ngspice, the same as for tclspice
+	mkdir -p $(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
+	install -o root -g root -m 644 build/ngspice/doc/ngspice.html/* \
+		$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
+	install -o root -g root -m 644 build/ngspice/doc/ngspice.ps \
+		$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdocs -i
+	dh_install -i --sourcedir=debian/tmp
+	dh_installinfo -i
+	dh_installman -i
+	dh_installexamples -i -pngspice-doc examples/* -Xtclspice
+	dh_installchangelogs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs -pngspice contrib -XCOPYING
+	dh_installdocs
+	dh_installexamples -ptclspice examples/tclspice/*
+	dh_install --sourcedir=debian/tmp
+	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+
+DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | sed -e 's/Version: \(.*\)\.*/\1/')
+DIRNAME=ng-spice-rework-${DEB_UPSTREAM_VERSION}
+TARNAME=ng-spice-rework_${DEB_UPSTREAM_VERSION}.orig.tar.gz
+ARCHIVE=ng-spice-rework-${DEB_UPSTREAM_VERSION}.tar.gz
+get-orig-source:
+	uscan --download-version ${DEB_UPSTREAM_VERSION} .
+	tar -zxf ${ARCHIVE}
+	# Remove xgraph
+	rm -rf ${DIRNAME}/xgraph
+	# Remove CVS dirs
+	find . -name CVS -type d -exec rm -rf {} \;
+	find . -name .cvsignore -exec rm -f {} \;
+	rm -f doc/*.ps
+	rm -f doc/*.pdf
+	rm -f config.sub
+	rm -f config.guess
+	rm -f src/misc/getopt1.c
+	rm -f src/misc/getopt.c
+	rm -f src/misc/getopt.h
+	tar -zcf ${TARNAME} ${DIRNAME}
+	rm -rf ${DIRNAME} ${ARCHIVE}
+
+.PHONY: build clean binary-indep binary-arch binary install 

Propchange: packages/ng-spice-rework/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/ng-spice-rework/trunk/debian/tclspice-dev.dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/tclspice-dev.dirs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/tclspice-dev.dirs (added)
+++ packages/ng-spice-rework/trunk/debian/tclspice-dev.dirs Wed May  6 09:02:29 2009
@@ -1,0 +1,2 @@
+usr/lib
+usr/lib/doc/tclspice-dev

Added: packages/ng-spice-rework/trunk/debian/tclspice-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/tclspice-dev.install?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/tclspice-dev.install (added)
+++ packages/ng-spice-rework/trunk/debian/tclspice-dev.install Wed May  6 09:02:29 2009
@@ -1,0 +1,2 @@
+usr/lib/tcltk/libspice.so usr/lib/tcltk/
+usr/lib/tcltk/libspice.*a usr/lib/tcltk/

Added: packages/ng-spice-rework/trunk/debian/tclspice.dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/tclspice.dirs?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/tclspice.dirs (added)
+++ packages/ng-spice-rework/trunk/debian/tclspice.dirs Wed May  6 09:02:29 2009
@@ -1,0 +1,2 @@
+usr/lib/tcltk/spice
+usr/share/doc/tclspice/examples

Added: packages/ng-spice-rework/trunk/debian/tclspice.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/tclspice.install?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/tclspice.install (added)
+++ packages/ng-spice-rework/trunk/debian/tclspice.install Wed May  6 09:02:29 2009
@@ -1,0 +1,2 @@
+usr/lib/tcltk/libspice*.so.* usr/lib/tcltk/
+usr/lib/tcltk/spice/* usr/lib/tcltk/

Added: packages/ng-spice-rework/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/watch?rev=35704&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/watch (added)
+++ packages/ng-spice-rework/trunk/debian/watch Wed May  6 09:02:29 2009
@@ -1,0 +1,2 @@
+version=3
+http://qa.debian.org/watch/sf.php/ngspice/ng-spice-rework-(.*)\.tar\.gz debian uupdate




More information about the debian-science-commits mailing list