Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Added initial Debian packaging
......................................................................


Added initial Debian packaging

Bug: T77963

Change-Id: Ief8adedb474f68c29a405df21cdf6cdcbd4c8145
---
A debian/changelog
A debian/compat
A debian/control
A debian/copyright
A debian/docs
A debian/rules
A debian/source/format
A debian/watch
8 files changed, 153 insertions(+), 0 deletions(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eefec5d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,37 @@
+apertium-en-ca (0.9.3+svn~57977-1) trusty; urgency=low
+
+  [ Kartik Mistry ]
+  * Rebuilt for Trusty.
+
+  [ Tino Didriksen ]
+  * New upstream release
+  * Significant changes in svn since tarball, so mixing new build scripts with
+    old data files
+  * Re-done packaging to take advantage of debhelper 9
+
+ -- Kartik Mistry <kar...@debian.org>  Thu, 11 Dec 2014 17:37:40 +0530
+
+apertium-en-ca (0.8.9-1) unstable; urgency=low
+
+  * New upstream release
+  * Added dependency on apertium-pcre2
+
+ -- Francis Tyers <fty...@prompsit.com>  Fri, 27 Mar 2009 11:27:13 +0000
+
+apertium-en-ca (0.8.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Francis Tyers <fty...@prompsit.com>  Wed, 19 Mar 2008 13:50:02 +0000
+
+apertium-en-ca (0.8.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Francis Tyers <fty...@prompsit.com>  Fri, 07 Dec 2007 14:25:08 +0000
+
+apertium-en-ca (0.8.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #418544)
+
+ -- Francis Tyers <fty...@prompsit.com>  Thu, 04 Oct 2007 14:24:41 +0100
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..e51bb33
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: apertium-en-ca
+Section: science
+Priority: optional
+Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
+Uploaders: Tino Didriksen <m...@tinodidriksen.com>,
+           Kartik Mistry <kar...@debian.org>
+Build-Depends: apertium (>= 3.3),
+               autotools-dev,
+               debhelper (>= 9),
+               dh-autoreconf,
+               gawk,
+               libapertium3-3.3-dev,
+               locales,
+               pkg-config (>= 0.21)
+Standards-Version: 3.9.6
+Homepage: http://apertium.org/
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/apertium-en-ca.git
+Vcs-Browser: 
https://anonscm.debian.org/cgit/debian-science/packages/apertium-en-ca.git
+
+Package: apertium-en-ca
+Architecture: all
+Depends: apertium (>= 3.3), ${misc:Depends}, ${shlibs:Depends}
+Provides: apertium-ca-en
+Conflicts: apertium-ca-en
+Description: Apertium translation data for the English-Catalan pair
+ Data package providing Apertium language resources for translating
+ between the English and Catalan languages.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5728862
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://apertium.org/
+
+Files: *
+Copyright: 2005-2007, Universitat d'Alacant (Transducens group)
+                      Universitat Pompeu Fabra
+                2009, Paul "greenbreen" Breen
+           2009-2010, Jimmy O'Regan
+License: GPL-2
+
+Files: alt.xsl
+ filterbil.xsl
+ filter.xsl
+ translate-to-default-equivalent.xsl
+Copyright: 2005, Universitat d'Alacant / Universidad de Alicante
+License: GPL-2
+
+Files: autogen.sh
+Copyright: 2002, Daniel Elstner  <daniel.elst...@gmx.net>
+License: GPL-2
+ 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, version 2 of the License
+ .
+ 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".
+
+Files: debian/*
+Copyright: 2014, Apertium Project Management Committee 
<apertium-...@dlsi.ua.es>
+License: GPL-2+
+ 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 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".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..6f83607
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..11004df
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/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.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+%:
+       dh $@ --with autoreconf
+
+override_dh_auto_build:
+       mkdir -p debian/tmp/locale/
+       localedef -f UTF-8 -i en_US ./debian/tmp/locale/en_US.UTF-8/
+       export LOCPATH=$(CURDIR)/debian/tmp/locale/ && \
+       export LC_ALL=en_US.UTF-8 && \
+       dh_auto_build
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..763af0b
--- /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/apertium-en-ca
 \
+.*=apertium-en-ca(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

-- 
To view, visit https://gerrit.wikimedia.org/r/179117
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ief8adedb474f68c29a405df21cdf6cdcbd4c8145
Gerrit-PatchSet: 2
Gerrit-Project: operations/debs/contenttranslation/apertium-en-ca
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to