[fyba] 43/77: Added debian folder and script for building .deb file

Ruben Undheim rubund-guest at moszumanska.debian.org
Mon Sep 22 15:11:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository fyba.

commit 3bd03f4995e0bbf464d65434da2348adfb093b55
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Thu Sep 4 18:57:11 2014 +0000

    Added debian folder and script for building .deb file
---
 createdeb.sh               | 15 ++++++++++++++
 debian/README.Debian       |  6 ++++++
 debian/README.source       |  9 +++++++++
 debian/changelog           | 11 +++++++++++
 debian/compat              |  1 +
 debian/control             | 25 +++++++++++++++++++++++
 debian/copyright           | 49 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/libfyba-dev.dirs    |  2 ++
 debian/libfyba-dev.docs    |  1 +
 debian/libfyba-dev.install |  3 +++
 debian/libfyba1.dirs       |  1 +
 debian/libfyba1.docs       |  1 +
 debian/libfyba1.install    |  1 +
 debian/rules               | 13 ++++++++++++
 debian/source/format       |  1 +
 15 files changed, 139 insertions(+)

diff --git a/createdeb.sh b/createdeb.sh
new file mode 100755
index 0000000..01a3edf
--- /dev/null
+++ b/createdeb.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+PACKAGENAME=fyba
+VERSION=4.1.0
+rm -rf createdeb/
+mkdir createdeb
+#rm -rf createdeb/$PACKAGENAME-$VERSION
+#mkdir createdeb/$PACKAGENAME-$VERSION
+git archive master | tar -x -C createdeb/$PACKAGENAME-$VERSION
+cd createdeb
+#tar -xvf $PACKAGENAME\_$VERSION.orig.tar.gz
+tar -czvf $PACKAGENAME\_$VERSION.orig.tar.gz $PACKAGENAME-$VERSION
+cp -r -v ../debian $PACKAGENAME-$VERSION/
+cd $PACKAGENAME-$VERSION
+dpkg-buildpackage
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..5d3f3ec
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+libfyba for Debian
+------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Anders Einar Hilden <hildenae at gmail.com>  Wed, 09 Oct 2013 22:14:07 +0200
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..af2c0b8
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+libfyba for Debian
+------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c7d85e0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,11 @@
+fyba (4.1.0-2) unstable; urgency=low
+
+  * Cleaned up so that it builds with no errors 
+
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Mon, 07 Jul 2014 15:05:05 +0200
+
+libfyba (4.1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Anders Einar Hilden <hildenae at gmail.com>  Wed, 09 Oct 2013 22:14:07 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dcc192a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: fyba
+Priority: extra
+Maintainer: Anders Einar Hilden <hildenae at gmail.com>
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, autoconf, libtool, dh-autoreconf
+Standards-Version: 3.9.3
+Section: libs
+Homepage: https://github.com/kartverket/fyba
+Vcs-Git: https://github.com/kartverket/fyba.git
+Vcs-Browser: https://github.com/kartverket/fyba
+
+Package: libfyba-dev
+Section: libdevel
+Architecture: any
+Depends: libfyba1 (= ${binary:Version})
+Description: Header files for FYBA library
+ This is the development package for developing applications that depends on libfyba
+
+Package: libfyba1
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: FYBA library to read and write norwegian geodata standard format SOSI
+ OpenFYBA is the source code release of the FYBA library, distributed by the 
+ National Mapping Authority of Norway (Statens kartverk) to read and write 
+ files in the National geodata standard format SOSI.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d5f7ee7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,49 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: libfyba
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Files: debian/*
+Copyright: 2013 Anders Einar Hilden <hildenae at gmail.com>
+License: GPL-2.0+
+ This package 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 <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/libfyba-dev.dirs b/debian/libfyba-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libfyba-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libfyba-dev.docs b/debian/libfyba-dev.docs
new file mode 100644
index 0000000..6b0a583
--- /dev/null
+++ b/debian/libfyba-dev.docs
@@ -0,0 +1 @@
+doc/no_NB
diff --git a/debian/libfyba-dev.install b/debian/libfyba-dev.install
new file mode 100644
index 0000000..d1bffed
--- /dev/null
+++ b/debian/libfyba-dev.install
@@ -0,0 +1,3 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
diff --git a/debian/libfyba1.dirs b/debian/libfyba1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libfyba1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libfyba1.docs b/debian/libfyba1.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libfyba1.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/libfyba1.install b/debian/libfyba1.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libfyba1.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ba22619
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@  --with autotools-dev --with autoreconf
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fyba.git



More information about the Pkg-grass-devel mailing list