iso-codes.spec
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 19073 09f5bf6611e6
child 9036 908e01595df9
permissions -rw-r--r--
Merged trunk changes r9797:9829 into 217update branch.

#
# spec file for package iso-codes
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: laca
#
Name:         iso-codes
License:      LGPL
Group:        System/Base
Version:      0.25
Release:      1
BuildArch:    noarch
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      ISO code lists and translations
Source:       http://www.gnome.org/~gman/iso-codes_%{version}.tar.gz
# date:2005-09-15 owner:laca type:bug
# FIXME: file a bug
Patch1:       iso-codes-01-msgfmt.diff
URL:          http://alioth.debian.org/projects/pkg-isocodes/
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/%{name}
Autoreqprov:  on

%description
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.

%prep
%setup -q -n iso-codes
%patch1 -p1

%build
%ifos solaris
make MSGFMT_OPTS=--verbose
%else
make
%endif

%install
make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -m 644"

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, root)
%{_libdir}/*
%{_datadir}/*

%changelog
* Mon Jan 16 2006 - [email protected]
- Update source URL to working server.
* Thu Sep 15 2005 - [email protected]
- Initial version