Compare commits

..

4 commits

Author SHA1 Message Date
Mike FABIAN
de439fba7b Update to 0.0.65
- Add wuu, tok, glk, gbm, ssy
- Remove aa_ER.UTF-8@saaho
- Add kv_RU.UTF-8, chr_RU.UTF-8
- Add EU, EZ
- Improve README and Makefile (Resolves: https://github.com/mike-fabian/langtable/issues/19)
- Add more translations from CLDR
- Get translation changes from CLDR
2024-02-08 18:08:39 +01:00
Mike FABIAN
a11f64cb2f Convert to rpm-autospec 2024-02-08 17:56:15 +01:00
Mike FABIAN
42f803d5d1 Update to 0.0.64
- Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts}
  (See also the discussion at: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/159)
2023-09-19 22:00:06 +02:00
Mike FABIAN
5d282141e4 Update to 0.0.63
- Add more translations from CLDR
- Get translation changes from CLDR
- Japanese: prefer anthy over kkc
  (Thanks to adam Williamson: https://github.com/mike-fabian/langtable/pull/17)
- Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones()
  (Resolves: https://github.com/mike-fabian/langtable/issues/18)
2023-08-28 12:29:22 +02:00
4 changed files with 12 additions and 22 deletions

4
.gitignore vendored
View file

@ -64,7 +64,3 @@
/langtable-0.0.63.tar.gz
/langtable-0.0.64.tar.gz
/langtable-0.0.65.tar.gz
/langtable-0.0.66.tar.gz
/langtable-0.0.67.tar.gz
/langtable-0.0.68.tar.gz
/langtable-0.0.69.tar.gz

View file

@ -1,9 +1,3 @@
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.64-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.64-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Sep 19 2023 Mike FABIAN <mfabian@redhat.com> - 0.0.64-1
- Update to 0.0.64
- Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts}

View file

@ -1,5 +1,5 @@
Name: langtable
Version: 0.0.69
Version: 0.0.65
Release: %autorelease
Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language.
# the translations in languages.xml and territories.xml are (mostly)
@ -12,6 +12,7 @@ Source0: https://github.com/mike-fabian/langtable/releases/download/%{ver
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
langtable is used to guess reasonable defaults for locale, keyboard layout,
@ -26,6 +27,7 @@ License: GPL-3.0-or-later
Requires: %{name} = %{version}-%{release}
Obsoletes: %{name}-data < %{version}-%{release}
Provides: %{name}-data = %{version}-%{release}
%{?python_provide:%python_provide python3-%{name}}
%description -n python3-langtable
This package contains a Python module to query the data
@ -34,22 +36,16 @@ from langtable-data.
%prep
%setup -q
%generate_buildrequires
%pyproject_buildrequires
%build
perl -pi -e "s,_DATADIR = '(.*)',_DATADIR = '%{_datadir}/langtable'," langtable/langtable.py
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files langtable
%py3_install
%check
%pyproject_check_import
(cd $RPM_BUILD_DIR/%{name}-%{version}/langtable; %{__python3} langtable.py)
(cd $RPM_BUILD_DIR/%{name}-%{version}; %{__python3} test_cases.py)
xmllint --noout --relaxng \
@ -70,9 +66,13 @@ xmllint --noout --relaxng \
%files
%license COPYING unicode-license.txt
%doc README* ChangeLog test_cases.py langtable/schemas/*.rng
%doc README ChangeLog test_cases.py langtable/schemas/*.rng
%files -n python3-langtable -f %{pyproject_files}
%files -n python3-langtable
%dir %{python3_sitelib}/langtable
%{python3_sitelib}/langtable/*
%dir %{python3_sitelib}/langtable-*.egg-info
%{python3_sitelib}/langtable-*.egg-info/*
%changelog
%autochangelog

View file

@ -1 +1 @@
SHA512 (langtable-0.0.69.tar.gz) = c52669c52e2fbc2c857b358fc43a65e4a7e6f5f9adfed9f6340471992226574da94d2f1198105f946123451ece7ad55bc217bcc69fa16d3b528d838cd7990e69
SHA512 (langtable-0.0.65.tar.gz) = d8ac34d327b6a636e2e3513a2ce783f53adfa4205c53d1efb53f3b2c7afe5594b16c205c1dedaed473f76e62d7fb02f98dab78b09fb7fbc809167a674c1404cd