add files

This commit is contained in:
Mahno 2025-03-11 14:39:01 +08:00
parent 25118bb66c
commit 9ed0ad07ce
4 changed files with 244 additions and 0 deletions

1
README Normal file
View File

@ -0,0 +1 @@
dummy package

34
list-trans-packs.sh Normal file
View File

@ -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

View File

@ -0,0 +1,93 @@
-------------------------------------------------------------------
Tue May 19 08:33:42 UTC 2020 - Michal Filka <mfilka@suse.com>
- 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.

116
yast2-trans-allpacks.spec Normal file
View File

@ -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