SHA256
1
0
forked from pool/iso-codes
iso-codes/iso-codes.spec

207 lines
6.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package iso-codes (Version 3.10)
#
# 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
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
* Tue Jun 02 2009 vuntz@novell.com
- Update to version 3.10:
+ General
- Move directory iso_3166_2 from iso_3166 directory into top
source directory
- Move directory iso_639_3 from iso_639 directory into top
source directory
+ ISO-3166
- Changes from ISO-3166 MA Newsletter VI-6.
* BO "short" name to "Bolivia, Plurinational State of"
* BO long name to "Plurinational State of Bolivia"
* introduce a "common_name" for Bolivia
- Use a "common name" also for Libya
+ ISO 3166-2
- Add provinces of Gabon (GA-*)
+ Updated translations.
* Sun May 03 2009 mboman@suse.de
- Update to version 3.9:
+ Use the GNU Lesser General Public License for all files
included in this package
+ Do no longer provide the file /usr/share/iso-codes/iso_639.tab
which has been deprecated for a long time now.
+ Do no longer include the notes directory in the tarball,
because all files were outdated and deprecated. Moreover, none
of those files have ever been installed
+ ISO 3166: Fix wrong capitalization for "Moldova, Republic of"
+ ISO 15924: Changes made by the Maintenance Agency on 2009-02-23
+ Translation updates for ISO 15924, ISO 3166, ISO 3166-2,
ISO 639, ISO 639-3, ISO 4217
- Remove AutoReqProv since it's default
* Sun Apr 05 2009 vuntz@novell.com
- Update to version 3.8:
+ ISO-3166:
- MD "short" name to "Moldova, republic of"
- introduce a "common_name" for Moldova
- VE "short" name to "Venezuela, Bolivarian republic of"
- introduce a "common_name" for Venezuela
+ Updated translations.
* Mon Mar 09 2009 vuntz@novell.com
- Update to version 3.7:
+ Use a Perl script for a complete check of valid UTF-8 text in
po files
+ ISO 639-2: Update to 2009-03-03
+ ISO 639-3: Update to 2009-02-10
+ ISO 3166-2: Update Danemark entry as in second edition of the
standard
+ Updated translations.
* Mon Feb 02 2009 mboman@suse.de
- Update to version 3.6:
+ [ ISO-639-3 ]
+ [ ISO 4217 ]
+ [ ISO 639-3 translations ]
+ [ ISO 639 translations ]
+ [ ISO 3166 translations ]
+ [ ISO 3166-2 translations ]
+ [ ISO 4217 translations ]
* Sat Jan 03 2009 mboman@suse.de
- Update to version 3.5.1:
+ [ ISO 4217 translations ]
+ [ ISO 15924 translations ]
+ [ ISO 639 translations ]
+ [ ISO 3166 translations ]
* Sat Dec 20 2008 mboman@suse.de
- Update to version 3.5:
+ Too many updates to list. Please see NEWS for full details
* 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