1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 version = %{tzdata_version}
15 url = ftp://munnari.oz.au/pub/
16 license = Public Domain
17 summary = Timezone data.
20 This package contains data files with rules for various timezones around
24 source_dl += ftp://elsie.nci.nih.gov/pub/
25 sources = tzdata-base-0.tar.bz2 tzdata%{tzdata_version}.tar.gz tzcode%{tzcode_version}.tar.gz
33 DIR_APP = %{DIR_SRC}/tzdata
36 %{MACRO_EXTRACT} %{DIR_DL}/tzdata-base-0.tar.bz2
39 mkdir tzdata%{tzdata_version} tzcode%{tzcode_version}
40 %{MACRO_EXTRACT} %{DIR_DL}/tzdata%{tzdata_version}.tar.gz -C tzdata%{tzdata_version}
41 %{MACRO_EXTRACT} %{DIR_DL}/tzcode%{tzcode_version}.tar.gz -C tzcode%{tzcode_version}
43 sed -e 's|@objpfx@|'`pwd`'/obj/|' \
44 -e 's|@datadir@|/usr/share|' \
45 -e 's|@install_root@|%{BUILDROOT}|' \
46 Makeconfig.in > Makeconfig