2007-01-08 18:32:16 +01:00
|
|
|
#
|
2011-01-15 02:34:21 +01:00
|
|
|
# spec file for package iso-codes
|
2007-01-08 18:32:16 +01:00
|
|
|
#
|
2015-07-13 21:28:52 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-08 18:32:16 +01:00
|
|
|
#
|
2008-09-13 02:38:52 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-08 18:32:16 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-01-08 16:56:07 +01:00
|
|
|
|
2007-01-08 18:32:16 +01:00
|
|
|
Name: iso-codes
|
2015-11-29 22:05:35 +01:00
|
|
|
Version: 3.63
|
2011-12-12 09:59:30 +01:00
|
|
|
Release: 0
|
2007-01-08 18:32:16 +01:00
|
|
|
Summary: ISO Code Lists and Translations
|
2011-12-12 09:59:30 +01:00
|
|
|
License: LGPL-2.1+
|
2011-01-07 23:33:43 +01:00
|
|
|
Group: System/Localization
|
2011-12-12 09:59:30 +01:00
|
|
|
Url: http://alioth.debian.org/projects/pkg-isocodes/
|
2015-09-21 12:22:15 +02:00
|
|
|
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
|
2010-04-28 22:54:51 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
2011-01-14 19:56:57 +01:00
|
|
|
BuildRequires: python-lxml
|
2015-09-21 12:22:15 +02:00
|
|
|
Recommends: %{name}-lang
|
2007-01-08 18:32:16 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-02-01 20:16:17 +01:00
|
|
|
BuildArch: noarch
|
2007-01-08 18:32:16 +01:00
|
|
|
|
|
|
|
%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
|
2011-01-07 23:33:43 +01:00
|
|
|
Group: Development/Libraries/Other
|
2007-01-08 18:32:16 +01:00
|
|
|
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.
|
|
|
|
|
2011-01-26 19:58:03 +01:00
|
|
|
%lang_package
|
2015-09-21 12:22:15 +02:00
|
|
|
|
2007-01-08 18:32:16 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2008-02-28 01:48:00 +01:00
|
|
|
%configure
|
2015-09-21 12:22:15 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-08 18:32:16 +01:00
|
|
|
|
|
|
|
%install
|
2015-09-21 12:22:15 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2008-09-13 02:38:52 +02:00
|
|
|
%find_lang iso_639 %{name}.lang
|
|
|
|
%find_lang iso_639_3 %{name}.lang
|
2014-04-05 20:10:37 +02:00
|
|
|
%find_lang iso_639_5 %{name}.lang
|
2008-09-13 02:38:52 +02:00
|
|
|
%find_lang iso_3166 %{name}.lang
|
|
|
|
%find_lang iso_3166_2 %{name}.lang
|
|
|
|
%find_lang iso_4217 %{name}.lang
|
|
|
|
%find_lang iso_15924 %{name}.lang
|
2007-01-08 18:32:16 +01:00
|
|
|
|
2011-01-26 19:58:03 +01:00
|
|
|
%files
|
2007-01-08 18:32:16 +01:00
|
|
|
%defattr(-,root,root)
|
2008-04-02 20:29:51 +02:00
|
|
|
%doc ChangeLog README TODO
|
2012-03-11 18:31:25 +01:00
|
|
|
%{_datadir}/xml/iso-codes/
|
2007-01-08 18:32:16 +01:00
|
|
|
|
2011-01-26 19:58:03 +01:00
|
|
|
%files lang -f %{name}.lang
|
2015-09-21 12:22:15 +02:00
|
|
|
%defattr(-,root,root)
|
2011-01-26 19:58:03 +01:00
|
|
|
|
2007-01-08 18:32:16 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_datadir}/pkgconfig/iso-codes.pc
|
|
|
|
|
2007-04-07 10:03:58 +02:00
|
|
|
%changelog
|