From: Boyuan Yang Date: Thu, 20 Sep 2018 19:07:38 +0000 (+0100) Subject: Import opencc_1.0.5-2.debian.tar.xz X-Git-Tag: archive/raspbian/1.1.1+git20200624+ds2-5+rpi1~1^2^2~4^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=615910d5732d58949ad32beddbd52518a1365f9e;p=opencc.git Import opencc_1.0.5-2.debian.tar.xz [dgit import tarball opencc 1.0.5-2 opencc_1.0.5-2.debian.tar.xz] --- 615910d5732d58949ad32beddbd52518a1365f9e diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..6d3e0fd --- /dev/null +++ b/README.Debian @@ -0,0 +1,3 @@ +Package using libopencc should always require a tight versioned dependency to +make sure it depends on the exact upstream minor version to avoid +incomaptibility. diff --git a/TODO b/TODO new file mode 100644 index 0000000..a2899b0 --- /dev/null +++ b/TODO @@ -0,0 +1 @@ +* We need to pack nodejs module provided by opencc when possible. diff --git a/changelog b/changelog new file mode 100644 index 0000000..30e75a6 --- /dev/null +++ b/changelog @@ -0,0 +1,248 @@ +opencc (1.0.5-2) unstable; urgency=medium + + * Team upload. + * Rebuild against gcc 8. + * debian/control: + + Update uploaders email address and use the @debian.org one. + + Bump Standards-Version to 4.2.1 (no changes needed). + * debian/rules: Avoid explicit invocation to dpkg-architecture. + + -- Boyuan Yang Thu, 20 Sep 2018 15:07:38 -0400 + +opencc (1.0.5-1) unstable; urgency=medium + + * Team upload. + * New upstream Release. + * Remove libopencc2 M-A:same mark for now since ocd files exist. + (Closes: #874227) + * Remove LI Daobing from Uploaders list. (Closes: #841792) + Thank you for your previous work! + * Apply "wrap-and-sort -abst". + * d/patches: Refresh patches. + * d/changelog: Remove trailing spaces. + * d/control: Use debian-input-method maillist in Maintainer field. + Closes: #899625. + * d/control: Use Vcs URL on Salsa platform. + * d/control: Bump Standards-Version to 4.1.4. + * d/control: Bump debhelper compat to v11. + * d/rules: Use NEWS.md as upstream changelog. + * d/rules: Use "dh_missing --fail-missing". + * d/shlibs: Explicitly require the latest library version. + + -- Boyuan Yang <073plan@gmail.com> Thu, 21 Jun 2018 11:18:37 +0800 + +opencc (1.0.4-5) unstable; urgency=medium + + * Make ocd data files arch:any (Closes: #851733) + + -- Aron Xu Fri, 20 Jan 2017 15:15:35 +0800 + +opencc (1.0.4-4) unstable; urgency=medium + + * Tighter Breaks/Conflicts version (Closes: #847145) + + -- Aron Xu Mon, 19 Dec 2016 23:30:01 +0800 + +opencc (1.0.4-3) unstable; urgency=medium + + * Correct Breaks/Conflicts version (Closes: #846665) + + -- Aron Xu Sun, 04 Dec 2016 16:39:48 +0800 + +opencc (1.0.4-2) unstable; urgency=medium + + [ Aron Xu ] + * Install data files to libopencc2-data, drop -dbg package + (Closes: #836395) + + [ Boyuan Yang ] + * Add BSD-3-clause license in d/copyright + + -- Aron Xu Sat, 03 Sep 2016 21:07:26 +0800 + +opencc (1.0.4-1) unstable; urgency=medium + + * Imported Upstream version 1.0.4 + * Update d/watch to Github URL + * std-ver: 3.9.6 -> 3.9.8, no change + * Update VCS-Browser URL to use HTTPS + + -- Aron Xu Mon, 08 Aug 2016 14:43:15 +0800 + +opencc (1.0.3-1) experimental; urgency=medium + + * New upstream release + * Add myself to Uploaders + * Drop symbols file, see README.Debian + + -- Aron Xu Wed, 16 Dec 2015 00:34:21 +0800 + +opencc (1.0.2-1) experimental; urgency=medium + + * Team upload for new upstream release. + * SONAME transition: libopencc1 -> libopencc2 + * Add libjs-jquery, libtclap-dev, darts, rapidjson-dev to B-D. + * Patches added/updated: + - lib-name-match-soversion.patch: rename library to match SONAME + - install-data-file-to-meet-need-of-multi-arch.patch: updated + - use-system-libraries.patch: do not use embeded libraries + * Use system version of jquery.js instead of embeded one. + * Removed python-opencc, upstream abandoned. + * Updated symbols file. + * Rewrite copyright file to machine-readable format. + * Allow parallel building. + + -- Aron Xu Thu, 20 Nov 2014 17:09:31 +0800 + +opencc (0.4.3-2) unstable; urgency=low + + * Add the python-opencc package to support the Python binding. + Closes: #694993 + * Bump standard version to 3.9.5. + + -- Osamu Aoki Sat, 02 Nov 2013 12:17:51 +0900 + +opencc (0.4.3-1) experimental; urgency=low + + * New upstream release. + * Update watch file. + * Clean up debian/control and wrap-and-sort. + * Update symbols file. + + -- Osamu Aoki Sun, 15 Sep 2013 00:13:31 +0900 + +opencc (0.4.0-1) experimental; urgency=low + + * New upstream release + * fix-new-test-cases.patch in upstream + * part of more_clear_man_c_option.patch is in upstream + the rest is in install-data-file-to-meet-need-of-multi-arch.path + + -- Asias He Fri, 05 Apr 2013 10:52:29 +0800 + +opencc (0.3.0-3) unstable; urgency=low + + * Rebuild to + generate little endian mo file on any arch (Closes: #670016). + * add an - before include buildflags.mk + + -- YunQiang Su Sun, 10 Jun 2012 19:35:51 +0800 + +opencc (0.3.0-2) unstable; urgency=low + + * Multi-arch it. + * Add libopencc-dbg package. + * Bump standard version to 3.9.3. + * Add YunQiang Su to Uploaders. + * Enable CPPFLAGS hardening flags (Closes: #665322). + * Better explanation for the -c option arguments of opencc, + give the path of these files out. (Closes: #656201). + + -- YunQiang Su Thu, 29 Mar 2012 03:22:51 +0800 + +opencc (0.3.0-1) unstable; urgency=low + + * Team upload. + + [ Kan-Ru Chen ] + * New upstream release + * debian/control: + - Remove autotools-dev and quilt from Build-Depends + * debian/rules: + - Support `nostrip' DEB_BUILD_OPTIONS + - Enable hardening flags. + * debian/docs: Install NEWS + * debian/copyright: Update update url + * debian/watch: Update upstream url + * debian/patches/fix-big-endian-build.diff: merged upstream + * debian/patches/fix-new-test-cases.patch: New patch. + + -- Kan-Ru Chen Sat, 17 Dec 2011 16:41:49 +0800 + +opencc (0.2.0-2) unstable; urgency=low + + * Fix "Please fix FTBFS on mips, ppc, s390 and sparc" (Closes: #624562) + * debian/control: bump standards version to 3.9.2. + * Set DM-Upload-Allowed to yes + + -- Asias He Mon, 16 May 2011 20:46:03 +0800 + +opencc (0.2.0-1) unstable; urgency=low + + * New upstream release + * Move usr/share/locale to package opencc + * Add cmake to Build-Depends + * Change Homepage to http://code.google.com/p/opencc + * Set Vcs to git.debian.org + + -- Asias He Thu, 17 Mar 2011 21:36:41 +0800 + +opencc (0.1.2-1) unstable; urgency=low + + * New upstream release. + * debian/libopencc1.symbols: updated. + + -- LI Daobing Wed, 22 Sep 2010 20:40:54 +0800 + +opencc (0.1.1-2) unstable; urgency=low + + *debian/control: add Conflicts to libopencc0 (Closes: #596434) + + -- Asias He Sun, 12 Sep 2010 14:58:18 +0800 + +opencc (0.1.1-1) unstable; urgency=low + + [ Asias He ] + * New upstream release (closes: #591076). + * debian/control: bump standards version to 3.9.1. + * debian/watch: use googlecode.debian.net. + + [ LI Daobing ] + * debian/clean: added. + + -- LI Daobing Wed, 11 Aug 2010 22:04:12 +0800 + +opencc (0.1.0-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - bump standards version to 3.9.1. + - libopencc0 -> libopecc1 (closes: #590473). + - libopencc1 replaces libopencc0. + * libopencc0 -> libopencc1: + - debian/libopencc0.install => debian/libopencc1.install + - debian/libopencc0.symbols => debian/libopencc1.symbols + + -- LI Daobing Thu, 29 Jul 2010 23:05:17 +0800 + +opencc (0.0.5-1) unstable; urgency=low + + * New upstream release. + * debain/control: no longer build depends on python. + * debian/opencc.install: move .mo files to libopencc0. + * debian/libopencc0.install: install .mo files. + * debian/opencc_dict.1: deleted. + * debian/opencc.manpages: deleted. + + -- LI Daobing Wed, 21 Jul 2010 22:42:32 +0800 + +opencc (0.0.4-1) unstable; urgency=low + + * New upstream release. + * debian/control: bump standards version to 3.9.0. + + -- LI Daobing Fri, 16 Jul 2010 23:52:08 +0800 + +opencc (0.0.3-1) unstable; urgency=low + + * New upstream release. + * debian/opencc.install: updated. + * debian/control: opencc depends on libopencc0 at the same version. + + -- LI Daobing Tue, 22 Jun 2010 19:08:33 +0800 + +opencc (0.0.2-1) unstable; urgency=low + + * Initial release (Closes: #585621) + + -- LI Daobing Sat, 19 Jun 2010 18:27:20 +0800 diff --git a/clean b/clean new file mode 100644 index 0000000..0777230 --- /dev/null +++ b/clean @@ -0,0 +1,17 @@ +test/mix2zhs.ans +test/mix2zhs.in +test/mix2zhs.ini +test/mix2zht.ans +test/mix2zht.in +test/mix2zht.ini +test/opencc +test/simp_to_trad_characters.ocd +test/simp_to_trad_phrases.ocd +test/trad_to_simp_characters.ocd +test/trad_to_simp_phrases.ocd +test/zhs2zht.ans +test/zhs2zht.in +test/zhs2zht.ini +test/zht2zhs.ans +test/zht2zhs.in +test/zht2zhs.ini diff --git a/compat b/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +11 diff --git a/control b/control new file mode 100644 index 0000000..4fb18e3 --- /dev/null +++ b/control @@ -0,0 +1,82 @@ +Source: opencc +Priority: optional +Maintainer: Debian Input Method Team +Uploaders: + Asias He , + YunQiang Su , + Osamu Aoki , + Aron Xu , +Build-Depends: + cmake, + darts, + debhelper (>= 11~), + doxygen, + libjs-jquery, + libtclap-dev, + python, + rapidjson-dev, +Standards-Version: 4.2.1 +Section: libs +Homepage: https://github.com/BYVoid/OpenCC +Vcs-Git: https://salsa.debian.org/debian/opencc.git +Vcs-Browser: https://salsa.debian.org/debian/opencc + +Package: libopencc-dev +Section: libdevel +Architecture: any +Depends: + libjs-jquery, + libopencc2 (= ${binary:Version}), + ${misc:Depends}, +Description: simplified-traditional Chinese conversion library - development + opencc is a library for converting character between traditional Chinese and + simplified Chinese. + . + This package includes the development support files. + +Package: libopencc2 +Architecture: any +Pre-Depends: + ${misc:Pre-Depends}, +Depends: + libopencc2-data, + ${misc:Depends}, + ${shlibs:Depends}, +Breaks: libopencc2-data (<< 1.0.4-5~) +Replaces: libopencc2-data (<< 1.0.4-5~) +Description: simplified-traditional Chinese conversion library - runtime + opencc is a library for converting character between traditional Chinese and + simplified Chinese. + . + This package includes the shared library. + +Package: libopencc2-data +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Breaks: + libopencc-dev (<< 1.0.4-5~), + libopencc2 (<< 1.0.4-5~), +Replaces: + libopencc-dev (<< 1.0.4-5~), + libopencc2 (<< 1.0.4-5~), +Description: simplified-traditional Chinese conversion library - data files + opencc is a library for converting character between traditional Chinese and + simplified Chinese. + . + This package includes the data files. + +Package: opencc +Section: utils +Architecture: any +Multi-Arch: foreign +Depends: + libopencc2 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: simplified-traditional Chinese conversion tool + opencc is a library for converting character between traditional Chinese and + simplified Chinese. + . + This package includes the conversion tool. diff --git a/copyright b/copyright new file mode 100644 index 0000000..9999e5c --- /dev/null +++ b/copyright @@ -0,0 +1,106 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: opencc +Source: https://github.com/BYVoid/OpenCC/releases + +Files: * +Copyright: 2010-2014, BYVoid +License: Apache-2 + +Files: debian/* +Copyright: 2010, LI Daobing + 2014, Aron Xu +License: Apache-2 + +License: Apache-2 + Licensed 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 version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + +Files: deps/tclap-1.2.1/* +Copyright: 2003, Michael E. Smoot +License: MIT-like + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR + IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Files: deps/rapidjson-0.11/* +Copyright: 2011-2014, Milo Yip +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +Files: deps/darts-clone/* +Copyright: 2001-2008, Taku Kudoh +License: BSD-3-Clause + +Files: deps/gtest-1.7.0/* +Copyright: 2008, Google Inc. +License: BSD-3-Clause + +License: BSD-3-Clause + 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. The name Nara Institute of Science and Technology may not be used to + endorse or promote products derived from this software without specific + prior written permission. + . + THIS SOFTWARE IS PROVIDED BY Nara Institute of Science and Technology + ``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 Nara Institute + of Science and Technology 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. diff --git a/docs b/docs new file mode 100644 index 0000000..0b6e0f3 --- /dev/null +++ b/docs @@ -0,0 +1,2 @@ +AUTHORS +README.md diff --git a/libopencc-dev.install b/libopencc-dev.install new file mode 100644 index 0000000..7df81cd --- /dev/null +++ b/libopencc-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* diff --git a/libopencc2-data.install b/libopencc2-data.install new file mode 100644 index 0000000..759378e --- /dev/null +++ b/libopencc2-data.install @@ -0,0 +1,2 @@ +usr/share/opencc/*.json +usr/share/opencc/doc/* diff --git a/libopencc2.install b/libopencc2.install new file mode 100644 index 0000000..4e01c53 --- /dev/null +++ b/libopencc2.install @@ -0,0 +1,2 @@ +usr/lib/*/lib*.so.* +usr/share/opencc/*.ocd diff --git a/libopencc2.shlibs b/libopencc2.shlibs new file mode 100644 index 0000000..d01b5d7 --- /dev/null +++ b/libopencc2.shlibs @@ -0,0 +1 @@ +libopencc 2 libopencc2 (>= 1.0.5) diff --git a/opencc.install b/opencc.install new file mode 100644 index 0000000..1df36c6 --- /dev/null +++ b/opencc.install @@ -0,0 +1 @@ +usr/bin/* diff --git a/patches/lib-name-match-soversion.patch b/patches/lib-name-match-soversion.patch new file mode 100644 index 0000000..98e9437 --- /dev/null +++ b/patches/lib-name-match-soversion.patch @@ -0,0 +1,22 @@ +From: Aron Xu +Date: Mon, 9 Oct 2017 22:02:39 +0800 +Subject: make sure library name matches soname + +=================================================================== +--- + src/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 498a4f6..6e36db1 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -75,7 +75,7 @@ set_target_properties( + OUTPUT_NAME + opencc + VERSION +- 1.0.0 ++ 2.0.0 + SOVERSION + 2 + ) diff --git a/patches/series b/patches/series new file mode 100644 index 0000000..fe4adf1 --- /dev/null +++ b/patches/series @@ -0,0 +1,3 @@ +lib-name-match-soversion.patch +use-system-libraries.patch +use-cmake-install-libdir.patch diff --git a/patches/use-cmake-install-libdir.patch b/patches/use-cmake-install-libdir.patch new file mode 100644 index 0000000..3dcdec0 --- /dev/null +++ b/patches/use-cmake-install-libdir.patch @@ -0,0 +1,22 @@ +From: IME Packaging Team +Date: Mon, 9 Oct 2017 22:02:39 +0800 +Subject: use-cmake-install-libdir + +=================================================================== +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2a29415..abbac00 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -68,7 +68,7 @@ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX}) + set (DIR_INCLUDE ${DIR_PREFIX}/include/) + set (DIR_SHARE ${DIR_PREFIX}/share/) + set (DIR_ETC ${DIR_PREFIX}/etc/) +-set (DIR_LIBRARY ${DIR_PREFIX}/lib${LIB_SUFFIX}/) ++set (DIR_LIBRARY ${CMAKE_INSTALL_LIBDIR}) + + if (DEFINED SHARE_INSTALL_PREFIX) + set (DIR_SHARE ${SHARE_INSTALL_PREFIX}) diff --git a/patches/use-system-libraries.patch b/patches/use-system-libraries.patch new file mode 100644 index 0000000..0d31e5a --- /dev/null +++ b/patches/use-system-libraries.patch @@ -0,0 +1,24 @@ +From: IME Packaging Team +Date: Mon, 9 Oct 2017 22:02:39 +0800 +Subject: use-system-libraries + +=================================================================== +--- + src/CMakeLists.txt | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 6e36db1..299a062 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -1,8 +1,7 @@ + include (GenerateExportHeader) + +-include_directories(../deps/darts-clone) +-include_directories(../deps/rapidjson-0.11) +-include_directories(../deps/tclap-1.2.1) ++include_directories(/usr/include/rapidjson) ++include_directories(/usr/include/tclap) + + # Library + diff --git a/rules b/rules new file mode 100755 index 0000000..6563bbb --- /dev/null +++ b/rules @@ -0,0 +1,38 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +# see FEATURE AREAS in dpkg-buildflags(1) +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +# CMake doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to enable the +# missing (hardening) flags. +CFLAGS += $(CPPFLAGS) + +include /usr/share/dpkg/architecture.mk + +%: + dh $@ --buildsystem=cmake + +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_DOCUMENTATION=ON + +override_dh_auto_install: + dh_auto_install + ln -sf /usr/share/javascript/jquery/jquery.js debian/tmp/usr/share/opencc/doc/html/jquery.js + +override_dh_auto_clean: + dh_auto_clean + find . -name *.pyc -delete + +override_dh_installchangelogs: + dh_installchangelogs -k NEWS.md + +override_dh_missing: + dh_missing --fail-missing diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/watch b/watch new file mode 100644 index 0000000..bc0c338 --- /dev/null +++ b/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/opencc-$1\.tar\.gz/ \ + https://github.com/byvoid/opencc/tags .*/ver\.?(\d\S*)\.tar\.gz