iso-codes/iso-codes.spec

144 lines
4.1 KiB
RPMSpec

#
# spec file for package iso-codes (Version 3.3)
#
# Copyright (c) 2008 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 pyxml
License: LGPL v2.1 or later
Group: System/GUI/GNOME
AutoReqProv: on
Version: 3.3
Release: 1
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, <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}/iso-codes
%{_datadir}/xml/iso-codes
%files devel
%defattr(-,root,root,-)
%{_datadir}/pkgconfig/iso-codes.pc
%changelog
* Fri Sep 12 2008 crrodriguez@suse.de
- update to version 3.3
- fix build (workaround BNC#424730)
* Tue Apr 01 2008 rodrigo@suse.de
- Update to version 2.0:
* http://pkgsrc.se/textproc/iso-codes
* Tue Feb 26 2008 crrodriguez@suse.de
- fix filelist again
* 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