Sync from SUSE:SLFO:Main yast2-country revision 0c1e52ba52a94507318e458fc774f87a

This commit is contained in:
Adrian Schröter 2024-05-04 02:23:03 +02:00
commit 34ac4c7796
4 changed files with 3864 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

BIN
yast2-country-5.0.2.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

3703
yast2-country.changes Normal file

File diff suppressed because it is too large Load Diff

135
yast2-country.spec Normal file
View File

@ -0,0 +1,135 @@
#
# spec file for package yast2-country
#
# Copyright (c) 2023 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-country
Version: 5.0.2
Release: 0
Summary: YaST2 - Country Settings (Language, Keyboard, and Timezone)
License: GPL-2.0-only
Group: System/YaST
URL: https://github.com/yast/yast-country
Source0: %{name}-%{version}.tar.bz2
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 4.2.2
BuildRequires: yast2-perl-bindings
# For tests
BuildRequires: glibc-locale
BuildRequires: rubygem(%rb_default_ruby_abi:rspec)
BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake)
# Fix to bnc#891053 (proper reading of ".target.yast2" on chroots)
BuildRequires: yast2-core >= 3.1.12
# yast/rspec/helpers.rb
BuildRequires: yast2-ruby-bindings >= 4.4.7
# Yast2::CommandLine readonly parameter
BuildRequires: yast2 >= 4.2.57
# systemd-mini does not add the xkb generated map which is needed by
# the Keyboards.all_keyboards unit/integration test
BuildRequires: systemd
# for kbd-model-map.xkb-generated
# systemd systemd requires it but somehow it's missing
BuildRequires: kbd
Requires: timezone
Requires: yast2-perl-bindings
Requires: yast2-trans-stats
# Yast2::CommandLine readonly parameter
Requires: yast2 >= 4.2.57
# Pkg::SetPackageLocale, Pkg::GetTextLocale
Requires: yast2-pkg-bindings >= 2.15.3
# IconPath support for MultiSelectionBox
Requires: yast2-core >= 2.16.28
Requires: yast2-packager >= 2.23.3
# VMware detection (.probe.is_vmware)
Requires: yast2-hardware-detection >= 3.1.6
Requires: yast2-country-data
Requires: yast2-ruby-bindings >= 1.0.0
Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus)
# Y2Network::NtpServer
Conflicts: yast2-ntp-client < 4.2.8
Supplements: autoyast(language:keyboard:timezone)
%description
Country specific data and configuration modules (language, keyboard,
timezone) for yast2.
%package data
Requires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - Data files for Country settings
Group: System/YaST
%description data
Data files for yast2-country together with the most often used API
functions (Language module)
%prep
%setup -q
%check
rake test:unit
%build
%install
rake install DESTDIR="%{buildroot}"
%ifarch s390 s390x
rm -f %{buildroot}%{yast_desktopdir}/org.opensuse.yast.Keyboard.desktop
%endif
%yast_metainfo
# Policies
mkdir -p %{buildroot}%{_datadir}/polkit-1/actions
# common
%files
%doc %{yast_docdir}
%license COPYING
%{yast_moduledir}/Console.rb
%{yast_moduledir}/Keyboard.rb
%{yast_moduledir}/Timezone.rb
%dir %{yast_moduledir}/YaPI
%{yast_moduledir}/YaPI/TIME.pm
%{yast_moduledir}/YaPI/LANGUAGE.pm
%{yast_clientdir}/*.rb
%dir %{yast_libdir}/y2country
%{yast_libdir}/y2country/widgets
%{yast_libdir}/y2country/clients
%{yast_libdir}/y2keyboard
%{yast_ydatadir}/*.ycp
%{yast_ydatadir}/*.json
%{yast_yncludedir}
%{yast_scrconfdir}
%{yast_schemadir}
%{yast_desktopdir}
%{yast_metainfodir}
%{yast_icondir}
%files data
%dir %{yast_ydatadir}/languages
%{yast_ydatadir}/languages/*.ycp
%{yast_moduledir}/Language.rb
%dir %{yast_libdir}/y2country
%{yast_libdir}/y2country/language_dbus.rb
%changelog