# # spec file for package iso-codes (Version 1.8) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: iso-codes BuildRequires: pyxml License: LGPL v2.1 or later Group: System/GUI/GNOME AutoReqProv: on Version: 1.8 Release: 2 Summary: ISO Code Lists and Translations # http://packages.qa.debian.org/i/iso-codes.html 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, %package devel 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, %prep %setup -q %build ./configure --prefix=%{_prefix} make %{?jobs:-j%jobs} %install %makeinstall %find_lang iso_639 %find_lang iso_639_3 %find_lang iso_3166 %find_lang iso_3166_2 %find_lang iso_4217 cat iso_639.lang iso_639_3.lang iso_3166.lang iso_3166_2.lang iso_4217.lang >%{name}.lang %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc ChangeLog LGPL-2.1 README TODO %defattr (-, root, root) %{_datadir}/iso-codes %{_datadir}/locale/*/*/* %{_datadir}/xml/iso-codes %files devel %defattr(-,root,root,-) %{_datadir}/pkgconfig/iso-codes.pc %changelog * Fri Feb 15 2008 ro@suse.de - modify filelist to fix build * Thu Jan 31 2008 rodrigo@suse.de - Update to version 1.8: * Added 'Pashto' as alternative for ps * Remove attribute "alpha_2_code" from some entries, as the information is included in the first two letters of the "alpha_4_code" * Fix typos in LR-GB and LV-JK * Complete the list with modifications from the ISO-3166 MA newsletter I-9 of 2007-11-28 * Add missing subset information * GWP removed from the non-historic section * SVC removed from the historic section * Add Saint Barthélemy and Saint Martin (French part) according to ISO-3166-1 newsletter VI-1, dated 2007-09-21 * Update translations * Fri Apr 06 2007 sbrabec@suse.cz - Updated to version 1.0a: * Many data updates. * Support for ISO-639-3. * Stable version. * Mon Jan 08 2007 sbrabec@suse.cz - Spec file cleanup. * Sun Mar 05 2006 aj@suse.de - removed "tt" directories since they are in filesystem now. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 16 2006 sbrabec@suse.cz - Updated to version 0.49. * Thu Jan 05 2006 ro@suse.de - removed "fo" directories (in filesystem) * Thu Sep 29 2005 dmueller@suse.de - add norootforbuild * Wed Aug 03 2005 sbrabec@suse.cz - Updated to version 0.47. * Mon Jun 27 2005 sbrabec@suse.cz - Bi-arch fix. * Wed Jun 22 2005 gekker@suse.de - Fix the file lists - Patch the Makefile * Tue Jun 21 2005 gekker@suse.de - Initial import of iso-codes version 0.25