Import Debian changes 1:20.04+20200416-ok1

language-pack-zh-hans (1:20.04+20200416-ok1) yangtze; urgency=low

  * Build for openKylin.
This commit is contained in:
openKylinBot 2022-04-25 22:03:04 +08:00
parent 253e8f6798
commit f4f8598051
6 changed files with 113 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
language-pack-zh-hans (1:20.04+20200416-ok1) yangtze; urgency=low
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

28
debian/control vendored Normal file
View File

@ -0,0 +1,28 @@
Source: language-pack-zh-hans
Section: translations
Priority: optional
Maintainer: Language pack maintainers <language-packs@ubuntu.com>
Build-Depends-Indep: gettext
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.7
Package: language-pack-zh-hans
Architecture: all
Pre-Depends: dpkg (>= 1.16.1), ${misc:Pre-Depends}
Depends: language-pack-zh-hans-base (>= 1:20.04+20200416), ${misc:Depends}
Conflicts: language-pack-zh (<< 1:9.10)
Replaces: language-pack-gnome-zh-hans (<< ${binary:Version}),
language-pack-gnome-zh-hans-base (<< ${binary:Version}),
language-pack-kde-zh-hans (<< ${binary:Version}),
language-pack-kde-zh-hans-base (<< ${binary:Version}),
language-pack-zh (<< 1:9.10),
language-pack-zh-hans (<< ${binary:Version}),
language-pack-zh-hans-base,
language-pack-zh-hans-base (<< ${binary:Version})
Description: translation updates for language Simplified Chinese
Translation data updates for all supported packages for:
Simplified Chinese
.
language-pack-zh-hans-base provides the bulk of translation data
and is updated only seldom. This package provides frequent translation
updates.

23
debian/copyright vendored Normal file
View File

@ -0,0 +1,23 @@
This package is developed and maintained by the Ubuntu language pack
maintainers <language-packs@ubuntu.com>.
The original source can always be found at:
http://archive.ubuntu.com/ubuntu/
Copyright (C) 2004 - 2008 Canonical Ltd.
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 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.
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 can be found in `/usr/share/common-licenses/GPL'.

55
debian/rules vendored Executable file
View File

@ -0,0 +1,55 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PKGNAME=$(shell grep "^Package: " debian/control | head -1 | cut -f 2 -d\ )
PKG=$(shell pwd)/debian/$(PKGNAME)
LOCALEDIR=$(PKG)/usr/share/locale-langpack
build:
dh_testdir
clean:
dh_testdir
dh_testroot
dh_clean
rm -f debian/postinst
binary-arch:
binary-indep:
dh_testdir
dh_testroot
mkdir -p $(LOCALEDIR)
cd data; \
find -type d -exec mkdir -p "$(LOCALEDIR)/{}" \; ; \
find -type f -name "*.po" -exec sh -c "N='{}'; msgfmt -o $(LOCALEDIR)/\$${N%.po}.mo \$$N" \; ; \
cd debian/upgrade-notes; for f in `ls`; do \
[ -e ../postinst ] || echo -e "#!/bin/sh -e\n\
[ \"\$$1\" = configure ] || exit 0\n\
[ -d /var/lib/update-notifier/user.d ] || exit 0\n\n" > ../postinst; \
echo -e "if dpkg --compare-versions \"\$$2\" lt-nl \"$$f\"; then\n \
cat <<EOF > /var/lib/update-notifier/user.d/language-pack-zh_$$f;" >> ../postinst; \
cat $$f >> ../postinst; \
echo 'EOF' >> ../postinst; \
echo 'fi' >> ../postinst; \
done
[ ! -e data/extra.tar ] || tar -C $(PKG) -xf data/extra.tar
dh_installdocs -i
dh_installchangelogs -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i -- -Z xz
binary: binary-arch binary-indep
.PHONY: build build-arch build-indep clean binary-indep binary-arch binary

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)