[libfann] 54/242: added debian package info

Christian Kastner chrisk-guest at moszumanska.debian.org
Sat Oct 4 21:10:19 UTC 2014


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

chrisk-guest pushed a commit to tag Version2_0_0
in repository libfann.

commit 9d230ebdcb362c325d6e8010b65cda3120bdecfa
Author: Steffen Nissen <lukesky at diku.dk>
Date:   Wed Jan 14 16:28:04 2004 +0000

    added debian package info
---
 debian/changelog                  |   7 +++
 debian/compat                     |   1 +
 debian/control                    |  48 ++++++++++++++++
 debian/copyright                  |  13 +++++
 debian/docs                       |   6 ++
 debian/files                      |   2 +
 debian/libfann-dev.dirs           |   2 +
 debian/libfann-dev.files          |   5 ++
 debian/libfann-dev.install        |   5 ++
 debian/libfann.install            |   1 +
 debian/libfann.postinst.debhelper |   5 ++
 debian/libfann.postrm.debhelper   |   5 ++
 debian/libfann.substvars          |   1 +
 debian/libfann1.dirs              |   1 +
 debian/libfann1.files             |   1 +
 debian/libfann1.install           |   1 +
 debian/rules                      | 117 ++++++++++++++++++++++++++++++++++++++
 17 files changed, 221 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6009a56
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+libfann (1.0.5-1) unstable; urgency=low
+
+  * My first try at a debian package, please report any errors.
+  * Initial Release.
+
+ -- Steffen Nissen <lukesky at diku.dk>  Wed, 14 Jan 2004 00:42:29 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b392ad1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: libfann
+Priority: optional
+Maintainer: Steffen Nissen <lukesky at diku.dk>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.6.0
+
+Package: libfann-dev
+Section: devel
+Architecture: any
+Depends: libfann (= ${Source-Version})
+Description: Fast Artificial Neural Network Library, Development files
+ fann is implemented in ANSI C. The library implements multilayer
+ feedforward networks with support for both fully connected and sparse
+ connected networks. Fann offers support for execution in fixed point
+ arithmetic to allow for fast execution on systems with no floating
+ point processor. To overcome the problems of integer overflow, the
+ library calculates a position of the decimal point after training and
+ guarantees that integer overflow can not occur with this decimal
+ point.
+ .
+ The library is designed to be fast, versatile and easy to use. Several
+ benchmarks have been executed to test the performance of the
+ library. The results show that the fann library is significantly
+ faster than other libraries on systems without a floating point
+ processor, while the performance was comparable to other highly
+ optimized libraries on systems with a floating point processor.
+
+Package: libfann
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Fast Artificial Neural Network Library (fann)
+ fann is implemented in ANSI C. The library implements multilayer
+ feedforward networks with support for both fully connected and sparse
+ connected networks. Fann offers support for execution in fixed point
+ arithmetic to allow for fast execution on systems with no floating
+ point processor. To overcome the problems of integer overflow, the
+ library calculates a position of the decimal point after training and
+ guarantees that integer overflow can not occur with this decimal
+ point.
+ .
+ The library is designed to be fast, versatile and easy to use. Several
+ benchmarks have been executed to test the performance of the
+ library. The results show that the fann library is significantly
+ faster than other libraries on systems without a floating point
+ processor, while the performance was comparable to other highly
+ optimized libraries on systems with a floating point processor.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4ac1e86
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Steffen Nissen <lukesky at diku.dk> on
+Wed, 14 Jan 2004 00:42:29 +0100.
+
+It was downloaded from http://sourceforge.net/projects/fann/
+
+Upstream Author: Steffen Nissen <lukesky at diku.dk>
+
+Copyright:
+You are free to distribute this software under the terms of
+the GNU Lesser General Public License Version 2.1.
+On Debian systems, the complete text of the GNU Lesser General Public
+License can be found in the file `/usr/share/common-licenses/LGPL'.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..c382354
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,6 @@
+NEWS
+README
+TODO
+ChangeLog.gz
+AUTHORS
+doc/fann_doc_complete_1.0.pdf
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..4bf6981
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,2 @@
+libfann-dev_1.0.5-1_i386.deb devel optional
+libfann_1.0.5-1_i386.deb libs optional
diff --git a/debian/libfann-dev.dirs b/debian/libfann-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/libfann-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/libfann-dev.files b/debian/libfann-dev.files
new file mode 100644
index 0000000..bba219c
--- /dev/null
+++ b/debian/libfann-dev.files
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+/usr/lib/*.la
diff --git a/debian/libfann-dev.install b/debian/libfann-dev.install
new file mode 100644
index 0000000..68a175d
--- /dev/null
+++ b/debian/libfann-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/*.la
diff --git a/debian/libfann.install b/debian/libfann.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libfann.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/libfann.postinst.debhelper b/debian/libfann.postinst.debhelper
new file mode 100644
index 0000000..3d89d3e
--- /dev/null
+++ b/debian/libfann.postinst.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "configure" ]; then
+	ldconfig
+fi
+# End automatically added section
diff --git a/debian/libfann.postrm.debhelper b/debian/libfann.postrm.debhelper
new file mode 100644
index 0000000..7f44047
--- /dev/null
+++ b/debian/libfann.postrm.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_makeshlibs
+if [ "$1" = "remove" ]; then
+	ldconfig
+fi
+# End automatically added section
diff --git a/debian/libfann.substvars b/debian/libfann.substvars
new file mode 100644
index 0000000..b7d6055
--- /dev/null
+++ b/debian/libfann.substvars
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.2.ds1-4)
diff --git a/debian/libfann1.dirs b/debian/libfann1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libfann1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/libfann1.files b/debian/libfann1.files
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libfann1.files
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/libfann1.install b/debian/libfann1.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libfann1.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..006501c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,117 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# 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)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O3
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+version=1.0.5
+major=1
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	CFLAGS='$(CFLAGS)' ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+build-stamp:  config.status
+	dh_testdir
+
+	# Add here commands to compile the package.
+	cp ChangeLog ChangeLog.bak
+	rm -f ChangeLog.gz
+	gzip -9 ChangeLog
+	mv ChangeLog.bak ChangeLog
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog.gz
+	dh_installdocs
+	dh_installexamples
+	dh_install --sourcedir=debian/tmp
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_python
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libfann.git



More information about the debian-science-commits mailing list