From b6807a7c0d71076c285a222e8ed8759c34a566d7 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 4 Oct 2010 23:15:57 +0800 Subject: [PATCH] add debian package stuff add ITP bug number to 'debian/changelog' Signed-off-by: Xiangfu Liu --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 25 +++++++++++++++++++++++++ debian/copyright | 39 +++++++++++++++++++++++++++++++++++++++ debian/dirs | 1 + debian/rules | 27 +++++++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 1 + 8 files changed, 100 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..07939f9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +fped (0.0+r5974-1) unstable; urgency=low + + * Initial release (Closes: #599090). + + -- Xiangfu Liu Mon, 04 Oct 2010 23:27:52 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8317b9e --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: fped +Section: electronics +Priority: extra +Maintainer: Xiangfu Liu +Build-Depends: debhelper (>= 5), pkg-config, flex, bison, fig2dev (transfig), ImageMagick, Netpbm, bash, Gtk+ 2.x development package (libgtk2.0-dev or similar), Liberation Fonts (ttf-liberation or similar) +Standards-Version: 3.9.1 +Homepage: http://svn.openmoko.org/trunk/eda/fped + +Package: fped +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: fped - Footprint editor + fped is an editor that allows the interactive creation of footprints of + electronic components. Footprint definitions are stored in a text format + that resembles a programming language. + + The language is constrained such that anything that can be expressed in + the textual definition also has a straightforward equivalent operation + that can be performed through the GUI. + + This README describes only the footprint definition language. A + description of the GUI can be found here: + http://people.openmoko.org/werner/fped/gui.html + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2fbbba6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,39 @@ +This work was packaged for Debian by: + + Xiangfu Liu on Mon, 4 Oct 2010 15:14:14 +0800 + +It was downloaded from: + + http://svn.openmoko.org/trunk/eda/fped + +Upstream Author(s): + + Werner Almesberger + +Copyright: + + Copyright 2009, 2010 by Werner Almesberger + +License: + + 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 of the License, or + (at your option) any later version. + + This package 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, see . + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is: + + Copyright (C) 2010 Xiangfu Liu and is licensed +under the GPL version 2, see above. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..57ff9ae --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_INSTALL_MANPAGES_dfu-util := doc/dfu-util.1 + +# We must first call ./autogen.sh to generate the autotools stuff. +post-patches:: debian/stamp-autothings-update +debian/stamp-autothings-update: + @#aclocal + @#autoheader + @#automake --foreign --add-missing --copy + @#autoconf + ./autogen.sh + touch $@ + +# Do not install the dfu-util_static binary, it's not needed in Debian. +binary-post-install/dfu-util:: + rm -f debian/dfu-util/usr/bin/dfu-util_static + +clean:: + rm -f debian/stamp-autothings-update + @# Delete generated files, we don't want them in the diff. + rm -f aclocal.m4 config.h.in configure Makefile.in m4/install-sh + rm -f m4/missing m4/depcomp src/Makefile.in src/dfu-version.h + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..46ebe02 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) \ No newline at end of file diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..db19ce4 --- /dev/null +++ b/debian/watch @@ -0,0 +1 @@ +# We track fped svn revisions, thus no need for a watch file.