From 7232efb4c4f867c55f21b8fb13b53464918ae5b86151df3d56c26884423188dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 02:33:19 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main yast2-trans-allpacks revision d68809e227dbeee2f56a1ef722e8318e --- .gitattributes | 23 +++++++ README | 1 + list-trans-packs.sh | 34 ++++++++++ yast2-trans-allpacks.changes | 93 ++++++++++++++++++++++++++++ yast2-trans-allpacks.spec | 116 +++++++++++++++++++++++++++++++++++ 5 files changed, 267 insertions(+) create mode 100644 .gitattributes create mode 100644 README create mode 100644 list-trans-packs.sh create mode 100644 yast2-trans-allpacks.changes create mode 100644 yast2-trans-allpacks.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/README b/README new file mode 100644 index 0000000..9cbec36 --- /dev/null +++ b/README @@ -0,0 +1 @@ +dummy package diff --git a/list-trans-packs.sh b/list-trans-packs.sh new file mode 100644 index 0000000..cb77300 --- /dev/null +++ b/list-trans-packs.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +reqs=$(pdb query --filter \ + 'yast2-trans-?? yast2-trans-??\_??,status:production' \ + | awk '{printf ("%s ", $1) }') +# echo $reqs + +# for f in $(sed -n 's/^Conflicts: *\(.*\)/\1/gp' *.spec); do +# [ -z "$f" ] && break +# reqs=$(echo $reqs | sed "s/$f//") +# done +# # echo $reqs + +# check whether all wanted packages are available in stable (noarch) +dist_dir=/mounts/dist/next-head-i586/suse/noarch +if [ -d $dist_dir ]; then + for f in $reqs; do + [ -f $dist_dir/$f.rpm ] || missing="$missing $f.rpm" + done +else + echo "warning: $dist_dir does not exist; skipping package check" +fi +# report result +if [ -n "$missing" ]; then + echo "missing package in $dist_dir :" + echo " \"$missing\"" + exit 1 +fi + +sed -i.old "s/^Requires.*/Requires: $reqs/" yast2-trans-allpacks.spec +diff -u yast2-trans-allpacks.spec.old yast2-trans-allpacks.spec + +exit 0 + diff --git a/yast2-trans-allpacks.changes b/yast2-trans-allpacks.changes new file mode 100644 index 0000000..57af551 --- /dev/null +++ b/yast2-trans-allpacks.changes @@ -0,0 +1,93 @@ +------------------------------------------------------------------- +Tue May 19 08:33:42 UTC 2020 - Michal Filka + +- bnc#1169424 + - dropped yast2-trans-en_US from the list of requires +- version synced with other yast packages +- 4.3.0 + +------------------------------------------------------------------- +Thu May 19 15:15:57 CEST 2011 - ke@suse.de + +- Add yast2-trans-nds and yast2-trans-nn. +- Set version number to 2.21.0 + +------------------------------------------------------------------- +Fri Mar 19 13:46:23 CET 2010 - ke@suse.de + +- Add yast2-trans-kn. + +------------------------------------------------------------------- +Mon Jan 11 14:23:35 CET 2010 - ke@suse.de + +- Add yast2-trans-ast. +- Set version number to 2.19.9. + +------------------------------------------------------------------- +Thu Sep 3 13:12:56 CEST 2009 - ke@suse.de + +- Add yast2-trans-tg. +- Set version number to 2.18.1. + +------------------------------------------------------------------- +Mon Mar 2 10:12:09 CET 2009 - ke@suse.de + +- list-trans-packs.sh: Check available packages on /mounts/dist/... +- Update Requires: + +------------------------------------------------------------------- +Wed May 21 14:26:56 CEST 2008 - ke@suse.de + +- list-trans-packs.sh: Fix typo. +- Add yast2-trans-th; reported by Steffen Winterfeld. + +------------------------------------------------------------------- +Mon Sep 17 12:51:04 CEST 2007 - ke@suse.de + +- list-trans-packs.sh: Remove conflicting trans packages, but comment + this feature. +- Rebuild the Requires list to remove yast2-trans-he; see bug 168603. + +------------------------------------------------------------------- +Thu Jul 5 17:48:17 CEST 2007 - ke@suse.de + +- Add yast2-trans-si. + +------------------------------------------------------------------- +Tue Mar 27 08:48:02 CEST 2007 - ke@suse.de + +- Add package check to list-trans-packs.sh. + +------------------------------------------------------------------- +Mon Mar 26 15:12:22 CEST 2007 - ke@suse.de + +- Version 2.15.0 +- Call ./list-trans-packs.sh to update the Requires: listing. + +------------------------------------------------------------------- +Mon Feb 5 16:51:47 CET 2007 - ke@suse.de + +- Add yast2-trans-gl. + +------------------------------------------------------------------- +Thu Jan 25 13:41:10 CET 2007 - ke@suse.de + +- Require only packages with status:production. + +------------------------------------------------------------------- +Thu Jan 25 10:18:52 CET 2007 - ro@suse.de + +- remove yast2-trans-ka for now + +------------------------------------------------------------------- +Wed Jan 24 19:59:36 CET 2007 - ro@suse.de + +- added empty build and install sections to specfile + +------------------------------------------------------------------- +Wed Jan 24 15:38:20 CET 2007 - ke@suse.de + +- New package. Use pdb-commandline to retrieve the names of all + yast2-trans-{??,??_??} packages. + + diff --git a/yast2-trans-allpacks.spec b/yast2-trans-allpacks.spec new file mode 100644 index 0000000..f24380f --- /dev/null +++ b/yast2-trans-allpacks.spec @@ -0,0 +1,116 @@ +# +# spec file for package yast2-trans-allpacks +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: yast2-trans-allpacks +Version: 4.3.0 +Release: 0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Prefix: /usr +Requires: yast2-trans-af +Requires: yast2-trans-ar +Requires: yast2-trans-ast +Requires: yast2-trans-bg +Requires: yast2-trans-bn +Requires: yast2-trans-bs +Requires: yast2-trans-ca +Requires: yast2-trans-cs +Requires: yast2-trans-cy +Requires: yast2-trans-da +Requires: yast2-trans-de +Requires: yast2-trans-el +Requires: yast2-trans-en_GB +Requires: yast2-trans-es +Requires: yast2-trans-et +Requires: yast2-trans-fa +Requires: yast2-trans-fi +Requires: yast2-trans-fr +Requires: yast2-trans-gl +Requires: yast2-trans-gu +Requires: yast2-trans-hi +Requires: yast2-trans-hr +Requires: yast2-trans-hu +Requires: yast2-trans-id +Requires: yast2-trans-it +Requires: yast2-trans-ja +Requires: yast2-trans-jv +Requires: yast2-trans-ka +Requires: yast2-trans-km +Requires: yast2-trans-kn +Requires: yast2-trans-ko +Requires: yast2-trans-ku +Requires: yast2-trans-lo +Requires: yast2-trans-lt +Requires: yast2-trans-mk +Requires: yast2-trans-mr +Requires: yast2-trans-nb +Requires: yast2-trans-nds +Requires: yast2-trans-nl +Requires: yast2-trans-nn +Requires: yast2-trans-pa +Requires: yast2-trans-pl +Requires: yast2-trans-pt +Requires: yast2-trans-pt_BR +Requires: yast2-trans-ro +Requires: yast2-trans-ru +Requires: yast2-trans-si +Requires: yast2-trans-sk +Requires: yast2-trans-sl +Requires: yast2-trans-sr +Requires: yast2-trans-sv +Requires: yast2-trans-sw +Requires: yast2-trans-ta +Requires: yast2-trans-tg +Requires: yast2-trans-th +Requires: yast2-trans-tr +Requires: yast2-trans-uk +Requires: yast2-trans-vi +Requires: yast2-trans-wa +Requires: yast2-trans-xh +Requires: yast2-trans-zh_CN +Requires: yast2-trans-zh_TW +Requires: yast2-trans-zu +BuildArch: noarch +Summary: Internal: Require all YaST Translation Packages (Empty) +License: LGPL-2.1-or-later +Group: System/YaST +Source: list-trans-packs.sh +Source1: README + +%description +The package requires all YaST translation packages +(yast2-trans-{??,??_??}). Otherwise it is empty. + +For internal use only. + + + +%prep +cp %{S:1} . + +%build + +%install + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(-,root,root) +%doc README + +%changelog