iso-codes/iso-codes.spec

90 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package iso-codes
#
# Copyright (c) 2016 SUSE LINUX 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/
#
Name: iso-codes
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
Version: 3.71
Release: 0
Summary: ISO Code Lists and Translations
License: LGPL-2.1+
Group: System/Localization
Url: http://alioth.debian.org/projects/pkg-isocodes/
Source0: http://pkg-isocodes.alioth.debian.org/downloads/%{name}-%{version}.tar.xz
Source1: http://pkg-isocodes.alioth.debian.org/downloads/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
BuildRequires: pkg-config
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
BuildRequires: python3-devel
BuildRequires: python3-lxml
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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
Group: Development/Libraries/Other
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
%build
%configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%find_lang iso_639 %{name}.lang
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
%find_lang iso_639-2 %{name}.lang
%find_lang iso_639-3 %{name}.lang
%find_lang iso_639_3 %{name}.lang
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
%find_lang iso_639-5 %{name}.lang
%find_lang iso_639_5 %{name}.lang
%find_lang iso_3166 %{name}.lang
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
%find_lang iso_3166-1 %{name}.lang
%find_lang iso_3166-2 %{name}.lang
%find_lang iso_3166_2 %{name}.lang
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
%find_lang iso_3166-3 %{name}.lang
%find_lang iso_4217 %{name}.lang
%find_lang iso_15924 %{name}.lang
%files
%defattr(-,root,root)
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
%doc ChangeLog README.md TODO
%{_datadir}/xml/iso-codes/
Accepting request 440589 from home:jbohac:branches:GNOME:Factory - Update to version 3.71: + Add short name of CZ to ISO 3166-1 and ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 4217 - Changes from version 3.70: + Update name for ES-SS in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2 and ISO 639-2 - Changes from version 3.69: + Update name for PH-NEC and ES-BI in ISO 3116-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 15924 and ISO 4217 - Changes from version 3.68: + Change long name of GM to ISO-3166-1 + Add changes for Lao in ISO 3166-2 + Updated translations for ISO 3166-1, ISO 3166-2, ISO 639-2, ISO 639-3, ISO 15924 and ISO 4217 - Changes from version 3.67: + The data is now included in JSON files. + The XML files are deprecated + The gettext domains have been renamed to better match the actual ISO number; previously used gettext domains are linked to the new domain names + A new ISO standard has been included: ISO 3166-3. + The standard ISO 4217 (currency names) now includes only the currently used currencies. Entries of withdrawn currencies are no longer included. + The standard ISO 639-5 now includes only the language families which are part of the official standard. The previously included languages were not part of the standard and have been removed. + ISO 639-3 has been updated from the latest upstream sources - Updated spec file - build now requires python3 and package contains new files and symlinks OBS-URL: https://build.opensuse.org/request/show/440589 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/iso-codes?expand=0&rev=117
2016-11-29 13:54:16 +01:00
%{_datadir}/iso-codes/
%files lang -f %{name}.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root,-)
%{_datadir}/pkgconfig/iso-codes.pc
%changelog