| Name |
tzdata |
| Description |
time zone and daylight-saving time data |
| Version |
2025b-0ubuntu0.24.04.1 |
| Package Base |
|
| Homepage |
https://www.iana.org/time-zones |
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Aurelien Jarno <aurel32@debian.org>', 'Benjamin Drung <bdrung@debian.org>', 'Clint Adams <clint@debian.org>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/tzdata/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/tzdata/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/tzdata/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/tzdata/plain/debian/patches/ziguard.awk-Move-link-to-link-feature-from-vanguard-to-ma.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/tzdata/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['debconf'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
b68ee1f3cd510054313e63d45713ac5a4a816c0c9227c607b44c0ac810b7d8b6 |
#!/usr/bin/make -f
export LC_ALL=C
include /usr/share/dpkg/default.mk
TZGEN := $(CURDIR)/tzgen
ICU_FILES := metaZones timezoneTypes windowsZones zoneinfo64
%:
dh $@
override_dh_auto_build-indep:
# Generate a tzdata.zi and leapseconds file
$(MAKE) AWK=gawk BACKWARD="backward" PACKRATDATA=backzone PACKRATLIST=zone.tab VERSION_DEPS= tzdata.zi leapseconds
# Build the timezone data
/usr/sbin/zic -d $(TZGEN) -L /dev/null tzdata.zi
/usr/sbin/zic -d $(TZGEN)/right -L leapseconds tzdata.zi
# Replace hardlinks by symlinks
grep '^L ' $(CURDIR)/tzdata.zi | while read L target name ; do \
ln -srf $(TZGEN)/$$target $(TZGEN)/$$name ; \
ln -srf $(TZGEN)/right/$$target $(TZGEN)/right/$$name ; \
done
# Generate a posixrules file
ln -s America/New_York $(TZGEN)/posixrules
debian/generate_debconf_templates -d "$(TZGEN)" > debian/tzdata.templates
debconf-updatepo
mkdir -p le be
for icu in $(ICU_FILES); do \
genrb --formatVersion 2 debian/icu/$$icu.txt; \
icupkg -tl $$icu.res le/$$icu.res; \
icupkg -tb $$icu.res be/$$icu.res; \
done
# The upstream tests are related to the sources. Just skip it.
override_dh_auto_test:
debian/test_timezone_conversions -z "$(TZGEN)"
PYTHONTZPATH="$(TZGEN)" debian/tests/python
debian/check_translations debian/po/*.po
override_dh_auto_install:
mkdir -p debian/tmp/usr/share/zoneinfo
cp -r tzgen/* debian/tmp/usr/share/zoneinfo
override_dh_auto_clean:
-rm -rf $(TZGEN) *.res le/ be/
dh_auto_clean
override_dh_installchangelogs:
cp NEWS debian/tzdata/usr/share/doc/tzdata
dh_installchangelogs
update-icu:
mkdir -p debian/icu/
cd debian/icu/; \
for icu in $(ICU_FILES); do \
wget https://raw.githubusercontent.com/unicode-org/icu-data/master/tzdata/icunew/$(DEB_VERSION_UPSTREAM)/44/$$icu.txt -O $$icu.txt; \
done