iso-codes.spec
author dcarbery
Mon, 23 Oct 2006 12:46:17 +0000
branchgnome-2-14
changeset 19195 352a4716f1f3
parent 6571 2e079eaea91a
child 8564 df62c23d2955
permissions -rw-r--r--
2006-10-23 Damien Carbery <[email protected]> * docs/ssa/*: Remove these, as they're now up on the JDS project pages under 'Tasks/Single Sys Admin'.

#
# 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.
#


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
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