diff --git a/README.md b/README.md index c8af5e1..954e1ca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # iso-codes +ISO country, language and currency codes and translations + diff --git a/iso-codes.spec b/iso-codes.spec new file mode 100644 index 0000000..84c54d9 --- /dev/null +++ b/iso-codes.spec @@ -0,0 +1,86 @@ +Name: iso-codes +Version: 3.52 +Release: 1mamba +Summary: Mapping between ISO country codes and full names +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://people.debian.org/~mckinstry/ +Source: http://ftp.debian.org/debian/pool/main/i/iso-codes/iso-codes_%{version}.orig.tar.xz +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ISO country, language and currency codes and translations + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure --prefix=%_prefix --libdir=%_libdir +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +%find_lang iso_639 +%find_lang iso_639_3 +%find_lang iso_639_5 +%find_lang iso_3166 +%find_lang iso_3166_2 +%find_lang iso_4217 +%find_lang iso_15924 +cat *.lang > %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_datadir}/xml/iso-codes/*.xml +#%{_datadir}/iso-codes/ + +%files devel +%defattr(-,root,root) +%{_datadir}/pkgconfig/*.pc +%doc ChangeLog README TODO + +%changelog +* Thu Apr 10 2014 Automatic Build System 3.52-1mamba +- automatic version update by autodist + +* Mon Dec 16 2013 Automatic Build System 3.49-1mamba +- automatic update by autodist + +* Sat Sep 07 2013 Automatic Build System 3.46-1mamba +- automatic update by autodist + +* Thu Aug 22 2013 Automatic Build System 3.45-1mamba +- automatic update by autodist + +* Sat Jul 20 2013 Automatic Build System 3.44-1mamba +- automatic update by autodist + +* Tue Jun 11 2013 Automatic Build System 3.43-1mamba +- automatic version update by autodist + +* Tue May 28 2013 Automatic Build System 3.42-1mamba +- automatic version update by autodist + +* Mon Apr 22 2013 Automatic Build System 3.41-1mamba +- update to 3.41 + +* Mon Jun 28 2010 Automatic Build System 1.0-2mamba +- rebuilt with pkgconfig provides + +* Sun Apr 08 2007 Tiziano Pratellesi 1.0-1mamba +- package created by autospec