|
|
|
@ -22,9 +22,9 @@ |
|
|
|
## |
|
|
|
## |
|
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
# package version |
|
|
|
%define V_opkg 3.66 |
|
|
|
%define V_opkg 3.67 |
|
|
|
%define V_dist 3.66 |
|
|
|
%define V_dist 3.67 |
|
|
|
%define V_subdir 3.66 |
|
|
|
%define V_subdir 3.67 |
|
|
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
# package information |
|
|
|
Name: data-isocodes |
|
|
|
Name: data-isocodes |
|
|
|
@ -37,7 +37,7 @@ Class: BASE |
|
|
|
Group: Data |
|
|
|
Group: Data |
|
|
|
License: Open Source |
|
|
|
License: Open Source |
|
|
|
Version: %{V_opkg} |
|
|
|
Version: %{V_opkg} |
|
|
|
Release: 20160305 |
|
|
|
Release: 20160402 |
|
|
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
# list of sources |
|
|
|
Source0: http://ftp.debian.org/debian/pool/main/i/iso-codes/iso-codes_%{V_dist}.orig.tar.xz |
|
|
|
Source0: http://ftp.debian.org/debian/pool/main/i/iso-codes/iso-codes_%{V_dist}.orig.tar.xz |
|
|
|
@ -70,20 +70,29 @@ PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes |
|
|
|
%{l_shtool} install -c \ |
|
|
|
%{l_shtool} install -c \ |
|
|
|
iso_3166/iso_3166.xml \ |
|
|
|
iso_3166-1/iso_3166-1.xml \ |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-3166-1.xml |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-3166-1.xml |
|
|
|
%{l_shtool} install -c \ |
|
|
|
%{l_shtool} install -c \ |
|
|
|
iso_3166_2/iso_3166_2.xml \ |
|
|
|
iso_3166-2/iso_3166-2.xml \ |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-3166-2.xml |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-3166-2.xml |
|
|
|
|
|
|
|
%{l_shtool} install -c \ |
|
|
|
|
|
|
|
iso_3166-3/iso_3166-3.xml \ |
|
|
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-3166-3.xml |
|
|
|
%{l_shtool} install -c \ |
|
|
|
%{l_shtool} install -c \ |
|
|
|
iso_4217/iso_4217.xml \ |
|
|
|
iso_4217/iso_4217.xml \ |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-4217.xml |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-4217.xml |
|
|
|
%{l_shtool} install -c \ |
|
|
|
%{l_shtool} install -c \ |
|
|
|
iso_639/iso_639.xml \ |
|
|
|
iso_639-2/iso_639-2.xml \ |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-639-1.xml |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-639-1.xml |
|
|
|
%{l_shtool} install -c \ |
|
|
|
%{l_shtool} install -c \ |
|
|
|
iso_639_3/iso_639_3.xml \ |
|
|
|
iso_639-3/iso_639-3.xml \ |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-639-3.xml |
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-639-3.xml |
|
|
|
|
|
|
|
%{l_shtool} install -c \ |
|
|
|
|
|
|
|
iso_639-5/iso_639-5.xml \ |
|
|
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-639-5.xml |
|
|
|
|
|
|
|
%{l_shtool} install -c \ |
|
|
|
|
|
|
|
iso_15924/iso_15924.xml \ |
|
|
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/data-isocodes/iso-15924.xml |
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
%files -f files |
|
|
|
|