OBS User unknown 2009-02-27 11:45:33 +00:00 committed by Git OBS Bridge
commit db171faa88
6 changed files with 194 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

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

1
README Normal file
View File

@ -0,0 +1 @@
dummy package

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

@ -0,0 +1,33 @@
#!/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)
if [ -d /work/SRC/noarch ]; then
for f in $reqs; do
[ -d /work/SRC/noarch/$f ] || missing="$missing $f"
done
else
echo "warning: /work/SRC/noarch does not exist; skipping package check"
fi
# report result
if [ -n "$missing" ]; then
echo "missing package in /work/SRC/noach :"
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

0
ready Normal file
View File

View File

@ -0,0 +1,56 @@
-------------------------------------------------------------------
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.

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

@ -0,0 +1,81 @@
#
# spec file for package yast2-trans-allpacks (Version 2.15.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: yast2-trans-allpacks
Version: 2.15.0
Release: 100
License: LGPL v2.1 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prefix: /usr
Requires: yast2-trans-af yast2-trans-ar yast2-trans-bg yast2-trans-bn yast2-trans-bs yast2-trans-ca yast2-trans-cs yast2-trans-cy yast2-trans-da yast2-trans-de yast2-trans-el yast2-trans-en_GB yast2-trans-en_US yast2-trans-es yast2-trans-et yast2-trans-fa yast2-trans-fi yast2-trans-fr yast2-trans-gl yast2-trans-gu yast2-trans-hi yast2-trans-hr yast2-trans-hu yast2-trans-id yast2-trans-it yast2-trans-ja yast2-trans-jv yast2-trans-ka yast2-trans-km yast2-trans-ko yast2-trans-lo yast2-trans-lt yast2-trans-mk yast2-trans-mr yast2-trans-nb yast2-trans-nl yast2-trans-pa yast2-trans-pl yast2-trans-pt yast2-trans-pt_BR yast2-trans-ro yast2-trans-ru yast2-trans-si yast2-trans-sk yast2-trans-sl yast2-trans-sr yast2-trans-sv yast2-trans-ta yast2-trans-th yast2-trans-tr yast2-trans-uk yast2-trans-vi yast2-trans-wa yast2-trans-xh yast2-trans-zh_CN yast2-trans-zh_TW yast2-trans-zu
BuildArch: noarch
Summary: Internal: Require all YaST Translation Packages (Empty)
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
* Wed May 21 2008 ke@suse.de
- list-trans-packs.sh: Fix typo.
- Add yast2-trans-th; reported by Steffen Winterfeld.
* Mon Sep 17 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 05 2007 ke@suse.de
- Add yast2-trans-si.
* Tue Mar 27 2007 ke@suse.de
- Add package check to list-trans-packs.sh.
* Mon Mar 26 2007 ke@suse.de
- Version 2.15.0
- Call ./list-trans-packs.sh to update the Requires: listing.
* Mon Feb 05 2007 ke@suse.de
- Add yast2-trans-gl.
* Thu Jan 25 2007 ke@suse.de
- Require only packages with status:production.
* Thu Jan 25 2007 ro@suse.de
- remove yast2-trans-ka for now
* Wed Jan 24 2007 ro@suse.de
- added empty build and install sections to specfile
* Wed Jan 24 2007 ke@suse.de
- New package. Use pdb-commandline to retrieve the names of all
yast2-trans-{??,??_??} packages.