iso-codes/iso-codes.spec

87 lines
2.5 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 3.52-1mamba
- automatic version update by autodist
* Mon Dec 16 2013 Automatic Build System <autodist@mambasoft.it> 3.49-1mamba
- automatic update by autodist
* Sat Sep 07 2013 Automatic Build System <autodist@mambasoft.it> 3.46-1mamba
- automatic update by autodist
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 3.45-1mamba
- automatic update by autodist
* Sat Jul 20 2013 Automatic Build System <autodist@mambasoft.it> 3.44-1mamba
- automatic update by autodist
* Tue Jun 11 2013 Automatic Build System <autodist@mambasoft.it> 3.43-1mamba
- automatic version update by autodist
* Tue May 28 2013 Automatic Build System <autodist@mambasoft.it> 3.42-1mamba
- automatic version update by autodist
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 3.41-1mamba
- update to 3.41
* Mon Jun 28 2010 Automatic Build System <autodist@mambasoft.it> 1.0-2mamba
- rebuilt with pkgconfig provides
* Sun Apr 08 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 1.0-1mamba
- package created by autospec