From a5ebd59c155ea667d805bc332822218efb8f2bca Mon Sep 17 00:00:00 2001 From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> Date: Tue, 20 Sep 2011 14:45:26 +0200 Subject: [PATCH] debian package helper --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 31 +++++++++++++++++++++++++++++++ debian/copyright | 42 ++++++++++++++++++++++++++++++++++++++++++ debian/docs | 1 + debian/files | 2 ++ debian/rules | 12 ++++++++++++ 7 files changed, 94 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/docs create mode 100644 debian/files create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..acc7ff7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +corpus2 (1.0.12-1) lucid; urgency=low + + * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP> + + -- Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> Fri, 09 Sep 2011 11:07:41 +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..be58a13 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: corpus2 +Priority: extra +Maintainer: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> +Build-Depends: debhelper (>= 7), cmake, swig, python-dev, libboost-program-options1.42-dev, libboost-system1.42-dev, libboost-filesystem1.42-dev, libboost-regex1.42-dev, libedit-dev, libxml++2.6-dev, libicu-dev (>= 4.2) +Standards-Version: 3.8.3 +Section: libs +Homepage: http://nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki + +Package: libcorpus2-dev +Section: libdevel +Architecture: any +Depends: libcorpus2 (= ${binary:Version}) +Description: data structures and I/O for morpho-syntactic processing of Polish + Library providing convenient framework of corpus readers and writers + to process morpho-syntactically annotated text, targeted at Polish. + Corpus2 supports configurable tagset, Unicode. Data structures for tagset, + tag, sentence and token are provided. + The package also gives convenient Python wrappers that support rapid + NLP application development. + +Package: libcorpus2 +Section: libs +Architecture: any +Depends: swig, python, libxml++2.6, ${shlibs:Depends}, ${misc:Depends} +Description: data structures and I/O for morpho-syntactic processing of Polish + Library providing convenient framework of corpus readers and writers + to process morpho-syntactically annotated text, targeted at Polish. + Corpus2 supports configurable tagset, Unicode. Data structures for tagset, + tag, sentence and token are provided. + The package also gives convenient Python wrappers that support rapid + NLP application development. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a79917f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,42 @@ +This work was packaged for Debian by: + + Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> on Fri, 09 Sep 2011 11:07:41 +0200 + +It was downloaded from: + + http://nlp.pwr.wroc.pl/redmine/projects/libpltagger/wiki + +Upstream Authors: + + Tomasz Śniatowski + Adam Radziszewski + Wrocław University of Technology + +Copyright: + + Copyright (C) 2010-2011 Tomasz Śniatowski and Adam Radziszewski + +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 3 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 3 can be found in `/usr/share/common-licenses/GPL-3'. + +The Debian packaging is: + + Copyright (C) 2011 Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> + +and is licensed under the GPL version 3, see above. + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..a0f0008 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +CMakeLists.txt diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..9ff00b7 --- /dev/null +++ b/debian/files @@ -0,0 +1,2 @@ +libcorpus2-dev_1.0.12-1_amd64.deb libdevel extra +libcorpus2_1.0.12-1_amd64.deb libs extra diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c2a807a --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +# -*- makefile -*- + + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +#%: +# dh $@ -- GitLab