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

113 lines
2.8 KiB
RPMSpec

#
# spec file for package iso-codes (Version 1.0a)
#
# Copyright (c) 2007 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: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: System/GUI/GNOME
Autoreqprov: on
Version: 1.0a
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
BuildArchitectures: 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
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
rm -v */no.*
rm -v */*/no.*
%build
./autogen.sh --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}/xml/iso-codes
%files devel
%defattr(-,root,root,-)
%{_datadir}/pkgconfig/iso-codes.pc
%changelog
* 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