forked from pool/iso-codes
Dominique Leuenberger
ded34d1da9
- update to 4.8.0: * ISO 3166-1: Add flag emoji to countries. Thanks to Pander for the suggestion. Fixes #19 * ISO 639-5: New translation for Chinese (Simplified) * ISO 3166-2: Major update of data. Thanks to the script of Kevin Kaiser, which enables the download of ISO pages and parses the data. Fixes #15, #16, #27 * Rename ChangeLog.md to CHANGELOG.md and follow the suggestions from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) * Move all CHANGELOG entries from versions before 4.0 to an archive file (CHANGELOG-PRE-4.0.md) in order to reduce the massive size of this CHANGELOG. * Translation updates for ISO 3166-1 * Translation updates for ISO 3166-2 * Translation updates for ISO 639-2 * Translation updates for ISO 639-3 * Translation updates for ISO 639-5 * Translation updates for ISO 15924 OBS-URL: https://build.opensuse.org/request/show/933585 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=143
81 lines
2.3 KiB
RPMSpec
81 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package iso-codes
|
|
#
|
|
# Copyright (c) 2021 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: iso-codes
|
|
Version: 4.8.0
|
|
Release: 0
|
|
Summary: ISO Code Lists and Translations
|
|
License: LGPL-2.1-or-later
|
|
URL: https://salsa.debian.org/iso-codes-team/iso-codes
|
|
Source0: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v%{version}/iso-codes-v%{version}.tar.gz
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-lxml
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package provides the ISO-639 language code list, the ISO-3166
|
|
territory code list, ISO-3166-2 subterritory lists, and all their
|
|
translations in gettext .po form.
|
|
|
|
%package devel
|
|
Summary: ISO code lists and translations
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
This package provides the ISO-639 Language code list, the ISO-3166
|
|
Territory code list, and ISO-3166-2 sub-territory lists, and all their
|
|
translations in gettext .po form.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-v%{version}
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang iso_639 %{name}.lang
|
|
%find_lang iso_639-2 %{name}.lang
|
|
%find_lang iso_639-3 %{name}.lang
|
|
%find_lang iso_639_3 %{name}.lang
|
|
%find_lang iso_639-5 %{name}.lang
|
|
%find_lang iso_639_5 %{name}.lang
|
|
%find_lang iso_3166 %{name}.lang
|
|
%find_lang iso_3166-1 %{name}.lang
|
|
%find_lang iso_3166-2 %{name}.lang
|
|
%find_lang iso_3166_2 %{name}.lang
|
|
%find_lang iso_3166-3 %{name}.lang
|
|
%find_lang iso_4217 %{name}.lang
|
|
%find_lang iso_15924 %{name}.lang
|
|
|
|
%files
|
|
%doc CHANGELOG.md README.md TODO
|
|
%{_datadir}/xml/iso-codes/
|
|
%{_datadir}/iso-codes/
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files devel
|
|
%{_datadir}/pkgconfig/iso-codes.pc
|
|
|
|
%changelog
|