KartikMistry has uploaded a new change for review. https://gerrit.wikimedia.org/r/294430
Change subject: giella-sme: Initial Debian packaging ...................................................................... giella-sme: Initial Debian packaging Bug: T120087 Change-Id: I9e5ab859aee223c5515f5b6ddde472f20cc4c547 --- A debian/changelog A debian/compat A debian/control A debian/copyright A debian/docs A debian/giella-sme-dev.install A debian/giella-sme.install A debian/rules A debian/source/format A debian/watch 10 files changed, 141 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/debs/contenttranslation/giella-sme refs/changes/30/294430/1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..97f9b74 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,12 @@ +giella-sme (0.0.20150917~r121176-1+wmf1) jessie; urgency=low + + * Rebuild for Jessie + + -- Kartik Mistry <kar...@debian.org> Wed, 15 Jun 2016 10:52:06 +0530 + +giella-sme (0.0.20150917~r121176-1) unstable; urgency=low + + [ Tino Didriksen ] + * Initial release (Closes: #814400) + + -- Kartik Mistry <kar...@debian.org> Tue, 07 Jun 2016 13:55:55 +0530 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..950195a --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: giella-sme +Section: science +Priority: optional +Maintainer: Debian Science Team <debian-science-maintain...@lists.alioth.debian.org> +Uploaders: Tino Didriksen <t...@didriksen.cc>, + Kartik Mistry <kar...@debian.org> +Build-Depends: autotools-dev, + bc, + cg3, + debhelper (>= 9), + dh-autoreconf, + dh-exec, + foma-bin, + gawk, + giella-core, + hfst, + libhfst-dev, + pkg-config (>= 0.21), + python3 (>= 3.1), + zip +Standards-Version: 3.9.8 +Homepage: http://giellatekno.uit.no/ +Vcs-Git: https://anonscm.debian.org/cgit/debian-science/packages/giella-sme.git +Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/giella-sme.git + +Package: giella-sme +Architecture: all +Depends: cg3, hfst, ${misc:Depends}, ${shlibs:Depends} +Description: Giellatekno single language data for North Saami + Data package providing Giellatekno language resources for North Saami. + +Package: giella-sme-dev +Architecture: all +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Giellatekno single language data for North Saami (dev extras) + Data package providing Giellatekno language resources for North Saami. + . + This package provides extra development files. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5729791 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,58 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: http://giellatekno.uit.no/ + +Files: * +Copyright: 2005-2016, Giellatekno at The University of Tromsø <giellate...@hum.uit.no> +License: GPL-3+ + +Files: m4/giellatekno.m4 m4/hfst.m4 +Copyright: 2011 Divvun/Samediggi/UiT <b...@divvun.no> +License: GPL-3+ + +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 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". + +Files: doc/newcg/*.jspwiki +Copyright: 2005-2016, Giellatekno at The University of Tromsø <giellate...@hum.uit.no> +License: GFDL-1.3 + +License: GFDL-1.3 + On Debian systems, the complete text of the GNU Free Documentation License + version 1.3 can be found in "/usr/share/common-licenses/GFDL-1.3". + +Files: doc/newcg/*.xml +Copyright: 2005-2016, Giellatekno at The University of Tromsø <giellate...@hum.uit.no> +License: Apache-2.0 + +License: Apache-2.0 + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache License version 2.0 + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..6f12db5 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +README diff --git a/debian/giella-sme-dev.install b/debian/giella-sme-dev.install new file mode 100755 index 0000000..a29319c --- /dev/null +++ b/debian/giella-sme-dev.install @@ -0,0 +1,2 @@ +#!/usr/bin/dh-exec +src/syntax/disambiguation.cg3 => /usr/share/giella/sme/disambiguation-mt-gt.cg3 diff --git a/debian/giella-sme.install b/debian/giella-sme.install new file mode 100644 index 0000000..dd95e40 --- /dev/null +++ b/debian/giella-sme.install @@ -0,0 +1 @@ +debian/tmp/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..25f34bf --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +#export DH_VERBOSE=1 +export DH_OPTIONS +export LC_ALL=C.UTF-8 + +PKGNAME=giella-sme +TPATH=debian/tmp/usr + +%: + dh $@ --parallel --with autoreconf + +override_dh_auto_configure: + dh_auto_configure -- --with-hfst --without-xfst --enable-spellers --enable-hyperminimisation --disable-minimised-spellers --enable-syntax --enable-analysers --enable-generators --enable-apertium + +override_dh_auto_install: + dh_auto_install + grep -v '^libdir=' $(TPATH)/share/pkgconfig/$(PKGNAME).pc > $(TPATH)/share/pkgconfig/$(PKGNAME).pc.new + mv -v $(TPATH)/share/pkgconfig/$(PKGNAME).pc.new $(TPATH)/share/pkgconfig/$(PKGNAME).pc + cp -av $(TPATH)/lib/*/voikko $(TPATH)/share/ + rm -rfv $(TPATH)/lib 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..fce7dc8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=filenamemangle=s/\S*download=//g \ +https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=sf/apertium/giella-sme \ +.*=giella-sme(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) -- To view, visit https://gerrit.wikimedia.org/r/294430 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9e5ab859aee223c5515f5b6ddde472f20cc4c547 Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/contenttranslation/giella-sme Gerrit-Branch: master Gerrit-Owner: KartikMistry <kartik.mis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits