[liblinear] 01/123: Initial partial Debian packaging

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:03 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit 1661682f792b7655b33f563151975c6d8bff98ec
Author: Christian Kastner <debian at kvr.at>
Date:   Mon Jun 14 17:00:23 2010 +0200

    Initial partial Debian packaging
    
    Currently, this still requires a patch for the Makefile, and debian/rules is
    still just an empty template.
---
 debian/README.Debian          |  7 ++++
 debian/changelog              |  5 +++
 debian/compat                 |  1 +
 debian/control                | 96 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright              | 50 ++++++++++++++++++++++
 debian/docs                   |  1 +
 debian/liblinear-bin.install  |  2 +
 debian/liblinear-bin.manpages |  2 +
 debian/liblinear-dev.dirs     |  2 +
 debian/liblinear-dev.examples |  1 +
 debian/liblinear-dev.install  |  2 +
 debian/liblinear1.dirs        |  1 +
 debian/liblinear1.install     |  1 +
 debian/linear-predict.1       | 47 +++++++++++++++++++++
 debian/linear-train.1         | 47 +++++++++++++++++++++
 debian/patches/series         |  0
 debian/rules                  |  8 ++++
 debian/source/format          |  1 +
 18 files changed, 274 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..bd866e3
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+liblinear for Debian
+--------------------
+
+To compile software against liblinear, you need to include "linear.h" and link
+against liblinear with -llinear.
+
+ -- Christian Kastner <debian at kvr.at>  Sat, 12 Jun 2010 21:21:11 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9adbc51
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+liblinear (1.51~dfsg-1) unstable; urgency=low
+
+  * Initial release (Closes: #585788)
+
+ -- Christian Kastner <debian at kvr.at>  Sat, 12 Jun 2010 21:21:11 +0200
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..0fc6425
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,96 @@
+Source: liblinear
+Priority: extra
+Maintainer: Christian Kastner <debian at kvr.at>
+Build-Depends:
+    debhelper (>= 7.0.50~),
+    libblas-dev
+Standards-Version: 3.8.4
+Section: libs
+Homepage: http://www.csie.ntu.edu.tw/~cjlin/liblinear/
+Vcs-Git: git://scm.kvr.at/git/pkg-liblinear.git
+Vcs-Browser: http://scm.kvr.at/git/?p=liblinear.git;a=summary
+
+Package: liblinear-dev
+Section: libdevel
+Architecture: any
+Depends:
+    liblinear1 (= ${binary:Version})
+Description: Development libraries and header files for LIBLINEAR
+ LIBLINEAR is a linear classifier for data with millions of instances and
+ features. It supports
+ .
+  * L2-regularized classifiers
+    L2-loss linear SVM, L1-loss linear SVM, and logistic regression (LR)
+  * L1-regularized classifiers (after version 1.4)
+    L2-loss linear SVM and logistic regression (LR)
+ .
+ Main features of LIBLINEAR include
+ .
+   * Same data format as LIBSVM
+   * similar usage to LIBSVM
+   * Multi-class classification: 1) one-vs-the rest, 2) Crammer & Singer
+   * Cross validation for model selection
+   * Probability estimates (logistic regression only)
+   * Weights for unbalanced data
+   * MATLAB/Octave interface
+ .
+ This package contains the header files and static libraries.
+
+Package: liblinear1
+Section: libs
+Architecture: any
+Depends:
+    ${shlibs:Depends},
+    ${misc:Depends}
+Recommends:
+    liblinear-bin (= ${binary:Version})
+Suggests:
+    liblinear-dev (= ${binary:Version})
+Description: Library for Large Linear Classification
+ LIBLINEAR is a linear classifier for data with millions of instances and
+ features. It supports
+ .
+  * L2-regularized classifiers
+    L2-loss linear SVM, L1-loss linear SVM, and logistic regression (LR)
+  * L1-regularized classifiers (after version 1.4)
+    L2-loss linear SVM and logistic regression (LR)
+ .
+ Main features of LIBLINEAR include
+ .
+   * Same data format as LIBSVM
+   * similar usage to LIBSVM
+   * Multi-class classification: 1) one-vs-the rest, 2) Crammer & Singer
+   * Cross validation for model selection
+   * Probability estimates (logistic regression only)
+   * Weights for unbalanced data
+   * MATLAB/Octave interface
+ .
+ This package contains the shared libraries.
+
+Package: liblinear-bin
+Section: libs
+Architecture: any
+Depends:
+    ${shlibs:Depends},
+    ${misc:Depends}
+    liblinear1 (= ${binary:Version})
+Description: Library for Large Linear Classification
+ LIBLINEAR is a linear classifier for data with millions of instances and
+ features. It supports
+ .
+  * L2-regularized classifiers
+    L2-loss linear SVM, L1-loss linear SVM, and logistic regression (LR)
+  * L1-regularized classifiers (after version 1.4)
+    L2-loss linear SVM and logistic regression (LR)
+ .
+ Main features of LIBLINEAR include
+ .
+   * Same data format as LIBSVM
+   * similar usage to LIBSVM
+   * Multi-class classification: 1) one-vs-the rest, 2) Crammer & Singer
+   * Cross validation for model selection
+   * Probability estimates (logistic regression only)
+   * Weights for unbalanced data
+   * MATLAB/Octave interface
+ .
+ This package contains the shared libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..15246a5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: LIBLINEAR
+Source: http://www.csie.ntu.edu.tw/~cjlin/liblinear/
+
+Copyright: 2007-2009, The LIBLINEAR Project
+License: BSD
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Neither name of copyright holders nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+Files: debian/*
+Copyright: 2010, Christian Kastner <debian at kvr.at>
+License: GPL-3+
+ 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 3 of the License, 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.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/liblinear-bin.install b/debian/liblinear-bin.install
new file mode 100644
index 0000000..f884093
--- /dev/null
+++ b/debian/liblinear-bin.install
@@ -0,0 +1,2 @@
+linear-train usr/bin
+linear-predict usr/bin
diff --git a/debian/liblinear-bin.manpages b/debian/liblinear-bin.manpages
new file mode 100644
index 0000000..908207d
--- /dev/null
+++ b/debian/liblinear-bin.manpages
@@ -0,0 +1,2 @@
+debian/linear-train.1
+debian/linear-predict.1
diff --git a/debian/liblinear-dev.dirs b/debian/liblinear-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/liblinear-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/liblinear-dev.examples b/debian/liblinear-dev.examples
new file mode 100644
index 0000000..bc58881
--- /dev/null
+++ b/debian/liblinear-dev.examples
@@ -0,0 +1 @@
+heart_scale
diff --git a/debian/liblinear-dev.install b/debian/liblinear-dev.install
new file mode 100644
index 0000000..f8fc30c
--- /dev/null
+++ b/debian/liblinear-dev.install
@@ -0,0 +1,2 @@
+linear.h usr/include
+lib*.so usr/lib
diff --git a/debian/liblinear1.dirs b/debian/liblinear1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/liblinear1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/liblinear1.install b/debian/liblinear1.install
new file mode 100644
index 0000000..0f787b1
--- /dev/null
+++ b/debian/liblinear1.install
@@ -0,0 +1 @@
+lib*.so.* usr/lib
diff --git a/debian/linear-predict.1 b/debian/linear-predict.1
new file mode 100644
index 0000000..9290650
--- /dev/null
+++ b/debian/linear-predict.1
@@ -0,0 +1,47 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.TH LINEAR-TRAIN 1 "June 12, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+linear-train \- bla
+.SH SYNOPSIS
+.B linear-train
+.RI [ options ] " files" ...
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B linear-train
+and
+.B linear-predict
+commands.
+.PP
+\fBlinear-train\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR svm-predict (1),
+.BR svm-train (1).
+.SH AUTHORS
+linear-train and linear-predict were written by The LIBLINEAR Project.
+.PP
+This manual page was written by Christian Kastner <debian at kvr.at>,
+for the Debian project (and may be used by others).
diff --git a/debian/linear-train.1 b/debian/linear-train.1
new file mode 100644
index 0000000..9290650
--- /dev/null
+++ b/debian/linear-train.1
@@ -0,0 +1,47 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.TH LINEAR-TRAIN 1 "June 12, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+linear-train \- bla
+.SH SYNOPSIS
+.B linear-train
+.RI [ options ] " files" ...
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B linear-train
+and
+.B linear-predict
+commands.
+.PP
+\fBlinear-train\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR svm-predict (1),
+.BR svm-train (1).
+.SH AUTHORS
+linear-train and linear-predict were written by The LIBLINEAR Project.
+.PP
+This manual page was written by Christian Kastner <debian at kvr.at>,
+for the Debian project (and may be used by others).
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..79fd842
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ 
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/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list