%define name iso-codes %define version 0.46 %define release 2mdk Summary: Mapping between ISO country codes and full names Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL Group: System/Libraries #gw FIXME outdated URL Url: http://people.debian.org/~mckinstry/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python-pyxml BuildRequires: python BuildArch: noarch %description This package aims to provide the list of the country and language (and currency) names in one place, rather than repeated in many programs throughout Mandrivalinux. %prep %setup -q %build ./configure --prefix=%_prefix --libdir=%_libdir %make %install rm -rf $RPM_BUILD_ROOT *.lang %makeinstall_std %find_lang iso_639 %find_lang iso_3166 %find_lang iso_3166_2 %find_lang iso_4217 cat iso_*.lang > iso-codes.lang %clean rm -rf $RPM_BUILD_ROOT %files -f iso-codes.lang %defattr(-,root,root) %doc README ChangeLog TODO %_datadir/xml/iso-codes/ %_datadir/iso-codes/ %_libdir/pkgconfig/iso-codes.pc %changelog * Tue Apr 12 2005 Götz Waschk <waschk@linux-mandrake.com> 0.46-2mdk - fix buildrequires * Tue Apr 12 2005 Götz Waschk <waschk@linux-mandrake.com> 0.46-1mdk - initial package