r38182 - in /packages/ng-spice-rework/trunk/debian: changelog control rules
gudjon-guest at users.alioth.debian.org
gudjon-guest at users.alioth.debian.org
Thu Mar 17 07:05:54 UTC 2011
Author: gudjon-guest
Date: Thu Mar 17 07:05:42 2011
New Revision: 38182
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38182
Log:
* New upstream release
* Source package renamed to ngspice
* Add patches 01_fix_manpages 02_fix_spelling
* Change/fix get-orig-source target
Modified:
packages/ng-spice-rework/trunk/debian/changelog
packages/ng-spice-rework/trunk/debian/control
packages/ng-spice-rework/trunk/debian/rules
Modified: packages/ng-spice-rework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/changelog?rev=38182&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/changelog (original)
+++ packages/ng-spice-rework/trunk/debian/changelog Thu Mar 17 07:05:42 2011
@@ -1,3 +1,12 @@
+ngspice (22-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ * Source package renamed to ngspice
+ * Add patches 01_fix_manpages 02_fix_spelling
+ * Change/fix get-orig-source target
+
+ -- Gudjon I. Gudjonsson <gudjon at gudjon.org> Thu, 17 Mar 2011 08:04:31 +0100
+
ng-spice-rework (21-2) UNRELEASED; urgency=low
* Bump standards version to 3.9.1
Modified: packages/ng-spice-rework/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/control?rev=38182&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/control (original)
+++ packages/ng-spice-rework/trunk/debian/control Thu Mar 17 07:05:42 2011
@@ -1,4 +1,4 @@
-Source: ng-spice-rework
+Source: ngspice
Section: non-free/electronics
Priority: extra
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Modified: packages/ng-spice-rework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/rules?rev=38182&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/rules (original)
+++ packages/ng-spice-rework/trunk/debian/rules Thu Mar 17 07:05:42 2011
@@ -24,8 +24,9 @@
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
- cp -f /usr/share/misc/config.sub build/ngspice/doc/config.sub
- cp -f /usr/share/misc/config.guess build/ngspice/doc/config.guess
+ #cp -f /usr/share/misc/config.sub build/ngspice/doc/config.sub
+ #cp -f /usr/share/misc/config.guess build/ngspice/doc/config.guess
+ cp -a manual build/
# Make build dir for tclspice
mkdir -p build/tclspice
cp -Rl `ls . |grep -v build|grep -v debian` build/tclspice
@@ -36,7 +37,6 @@
./configure $(CROSS) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
--enable-maintainer-mode \
--enable-capzerobypass \
--enable-intnoise \
@@ -54,7 +54,6 @@
./configure $(CROSS) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
--libdir=/usr/lib/tcltk \
--enable-shared=yes \
--enable-maintainer-mode \
@@ -79,8 +78,8 @@
cd build/ngspice && $(MAKE)
cd build/tclspice && $(MAKE)
# Build documentation
- cd build/ngspice/doc && lyx --export ps manual.lyx
- cd build/ngspice/doc && lyx --export html manual.lyx
+ cd build/manual && lyx --export ps manual.lyx
+ cd build/manual && lyx --export html manual.lyx
touch $@
@@ -91,6 +90,9 @@
rm -f config.status-stamp
rm -rf build
rm -f src/frontend/parse-bison.c
+ rm -f src/frontend/parse-bison.h
+ rm -f config.guess
+ rm -f config.sub
dh_clean
install: build
@@ -121,12 +123,12 @@
## $(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
- cp -a build/ngspice/doc/manual.html.LyXconv/* \
+ cp -a build/manual/manual.html.LyXconv/* \
$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/html
- install -o root -g root -m 644 build/ngspice/doc/manual.ps \
+ install -o root -g root -m 644 build/manual/manual.ps \
$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/ngspice.ps
- # Removing /usr/share/info/dir file
- rm -f $(CURDIR)/debian/tmp/usr/share/info/dir
+ # Removing /usr/share/info directory
+ rm -rf $(CURDIR)/debian/tmp/usr/share/info
# Build architecture-independent files here.
binary-indep: build install
@@ -134,7 +136,7 @@
dh_testroot -i
dh_installdocs -i
dh_install -i --sourcedir=debian/tmp
- dh_installinfo -i
+ #dh_installinfo -i
dh_installman -i
dh_installexamples -i -pngspice-doc examples/* -Xtclspice
dh_installchangelogs -i
@@ -171,21 +173,21 @@
#DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | grep '^Version:' | sed -e 's/Version: \(.*\)-\(.*\)\.*/\1/')
get-orig-source:
VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+~]+).*,\1,p'); \
- BASENAME=ng-spice-rework; \
set -e;\
- wget -q http://sourceforge.net/projects/ngspice/files/$$BASENAME/$$VER/$$BASENAME-$$VER.tar.gz/download; \
- tar xz --exclude=CVS --exclude=xgraph -f $$BASENAME-$$VER.tar.gz; \
- mv -f ngspice-$$VER $$BASENAME-$$VER; \
- rm -f $$BASENAME-$$VER/config.sub ;\
- rm -f $$BASENAME-$$VER/config.guess ;\
- tar czf ng-spice-rework_$$VER.orig.tar.gz $$BASENAME-$$VER; \
- rm -f $$BASENAME-$$VER.tar.gz; \
- rm -rf $$BASENAME-$$VER; \
- wget -q http://sourceforge.net/projects/ngspice/files/$$BASENAME/$$VER/ngspice-doc-$$VER.tar.gz/download; \
- tar xz --exclude=pdf -f ngspice-doc-$$VER.tar.gz; \
- tar czf ng-spice-rework_$$VER.orig-doc.tar.gz ngspice-doc-$$VER; \
+ wget -q http://sourceforge.net/projects/ngspice/files/ng-spice-rework/$$VER/ngspice-$$VER.tar.gz; \
+ tar xzf ngspice-$$VER.tar.gz --exclude=CVS; \
+ rm -f ngspice-$$VER/config.sub ;\
+ rm -f ngspice-$$VER/config.guess ;\
+ tar czf ngspice_$$VER.orig.tar.gz ngspice-$$VER; \
+ rm -f ngspice-$$VER.tar.gz; \
+ rm -rf ngspice-$$VER; \
+ wget -q http://sourceforge.net/projects/ngspice/files/ng-spice-rework/$$VER/ngspice-doc-$$VER.tar.gz; \
+ tar xzf ngspice-doc-$$VER.tar.gz --exclude=\*.pdf; \
+ mkdir ngspice-$$VER; \
+ mv ngspice-doc-$$VER ngspice-$$VER/manual; \
+ tar czf ngspice_$$VER.orig-manual.tar.gz ngspice-$$VER/manual; \
rm -f ngspice-doc-$$VER.tar.gz; \
- rm -rf ngspice-doc-$$VER
+ rm -rf ngspice-$$VER
# find ${DIRNAME} -name .cvsignore -exec rm -f {} \; ;\
.PHONY: build clean binary-indep binary-arch binary install
More information about the debian-science-commits
mailing list