forked from pool/iso-codes
91 lines
2.3 KiB
RPMSpec
91 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package iso-codes (Version 3.10.2)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: iso-codes
|
|
BuildRequires: python-devel
|
|
BuildRequires: pyxml
|
|
License: LGPL v2.1 or later
|
|
Group: System/GUI/GNOME
|
|
Version: 3.10.2
|
|
Release: 1
|
|
Summary: ISO Code Lists and Translations
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Url: http://alioth.debian.org/projects/pkg-isocodes/
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Alastair McKinstry, <mckinstry@debian.org>
|
|
|
|
%package devel
|
|
License: LGPL v2.1 or later
|
|
Summary: ISO code lists and translations
|
|
Group: System/GUI/GNOME
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Alastair McKinstry, <mckinstry@debian.org>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%find_lang iso_639 %{name}.lang
|
|
%find_lang iso_639_3 %{name}.lang
|
|
%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
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog README TODO
|
|
%{_datadir}/xml/iso-codes
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_datadir}/pkgconfig/iso-codes.pc
|
|
|
|
%changelog
|