2004-09-09 13:40:41 +00:00
|
|
|
Summary: Timezone data
|
|
|
|
Name: tzdata
|
2007-05-09 15:40:42 +00:00
|
|
|
Version: 2007f
|
2006-09-21 14:03:39 +00:00
|
|
|
%define tzdata_version %{version}
|
2006-10-03 08:17:44 +00:00
|
|
|
%define tzcode_version %{version}
|
2007-02-26 15:04:40 +00:00
|
|
|
Release: 1%{?dist}
|
2005-03-01 14:32:30 +00:00
|
|
|
License: GPL
|
2004-09-09 13:40:41 +00:00
|
|
|
Group: System Environment/Base
|
2007-02-07 19:47:13 +00:00
|
|
|
URL: ftp://elsie.nci.nih.gov/pub/
|
2006-03-22 09:45:45 +00:00
|
|
|
Source0: tzdata-base-0.tar.bz2
|
2006-09-21 14:03:39 +00:00
|
|
|
Source1: ftp://elsie.nci.nih.gov/pub/tzdata%{tzdata_version}.tar.gz
|
|
|
|
Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{tzcode_version}.tar.gz
|
2007-02-07 19:47:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: gawk, glibc, perl
|
2007-01-18 13:34:09 +00:00
|
|
|
BuildRequires: glibc-common >= 2.5.90-7
|
2004-09-09 13:40:41 +00:00
|
|
|
Conflicts: glibc-common <= 2.3.2-63
|
|
|
|
BuildArchitectures: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains data files with rules for various timezones around
|
|
|
|
the world.
|
|
|
|
|
|
|
|
%prep
|
2007-02-07 19:47:13 +00:00
|
|
|
%setup -q -n tzdata
|
2006-09-21 14:03:39 +00:00
|
|
|
mkdir tzdata%{tzdata_version}
|
|
|
|
tar xzf %{SOURCE1} -C tzdata%{tzdata_version}
|
|
|
|
mkdir tzcode%{tzcode_version}
|
|
|
|
tar xzf %{SOURCE2} -C tzcode%{tzcode_version}
|
2004-09-09 13:40:41 +00:00
|
|
|
sed -e 's|@objpfx@|'`pwd`'/obj/|' \
|
|
|
|
-e 's|@datadir@|%{_datadir}|' \
|
|
|
|
Makeconfig.in > Makeconfig
|
2006-02-09 13:19:31 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 13:40:41 +00:00
|
|
|
make
|
2006-09-21 14:03:39 +00:00
|
|
|
grep -v tz-art.htm tzcode%{tzcode_version}/tz-link.htm > tzcode%{tzcode_version}/tz-link.html
|
2004-09-09 13:40:41 +00:00
|
|
|
|
|
|
|
%install
|
2007-02-07 19:47:13 +00:00
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
sed -i 's|@install_root@|%{buildroot}|' Makeconfig
|
2004-09-09 13:40:41 +00:00
|
|
|
make install
|
2006-03-22 09:45:45 +00:00
|
|
|
|
|
|
|
%check
|
2004-09-09 13:40:41 +00:00
|
|
|
echo ====================TESTING=========================
|
|
|
|
make check
|
|
|
|
echo ====================TESTING END=====================
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/zoneinfo
|
2006-09-21 14:03:39 +00:00
|
|
|
%doc tzcode%{tzcode_version}/README
|
|
|
|
%doc tzcode%{tzcode_version}/Theory
|
|
|
|
%doc tzcode%{tzcode_version}/tz-link.html
|
2004-09-09 13:40:41 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-05-09 15:40:42 +00:00
|
|
|
* Wed May 9 2007 Petr Machata <pmachata@redhat.com> - 2007f-1
|
|
|
|
- Upstream 2007f
|
|
|
|
- New Zealand is extending DST, starting later this year.
|
|
|
|
- Haiti no longer observes DST.
|
|
|
|
- The Turks and Caicos switch at 02:00, not at 00:00, and have
|
|
|
|
adopted US DST rules.
|
|
|
|
|
2007-04-03 15:18:40 +00:00
|
|
|
* Tue Apr 3 2007 Petr Machata <pmachata@redhat.com> - 2007e-1
|
|
|
|
- Upstream 2007e
|
|
|
|
- Syria switched to summer time at Mar/29.
|
|
|
|
- Honduras will not enter DST this year.
|
|
|
|
|
2007-03-21 13:17:38 +00:00
|
|
|
* Wed Mar 21 2007 Petr Machata <pmachata@redhat.com> - 2007d-1
|
|
|
|
- Upstream 2007d
|
|
|
|
- Mongolia has abolished DST.
|
|
|
|
- Turkey will use EU rules this year, changing at 01:00 UTC rather
|
|
|
|
than 01:00 standard time.
|
|
|
|
- Cuba observed DST starting Sunday.
|
|
|
|
- Resolute, Nunavut switched from Central to Eastern time last
|
|
|
|
November.
|
|
|
|
|
2007-02-26 15:04:40 +00:00
|
|
|
* Mon Feb 26 2007 Petr Machata <pmachata@redhat.com> - 2007c-1
|
|
|
|
- Upstream 2007c
|
|
|
|
- Pulaski County, Indiana, switched back to eastern time.
|
|
|
|
- Turkey switches at 01:00 standard time, not at 01:00 UTC.
|
|
|
|
- Upstream 2007b
|
|
|
|
- Changes to the commentary in "leapseconds".
|
|
|
|
|
2007-02-07 19:47:13 +00:00
|
|
|
* Wed Feb 7 2007 Petr Machata <pmachata@redhat.com> - 2007a-2
|
|
|
|
- tidy up the specfile per rpmlint comments
|
|
|
|
|
2007-01-18 13:34:09 +00:00
|
|
|
* Thu Jan 18 2007 Petr Machata <pmachata@redhat.com> - 2007a-1
|
|
|
|
- Upstream 2007a
|
|
|
|
- Updates to Bahamas, they will be in sync with 2007 US DST change
|
|
|
|
- New zone Australia/Eucla
|
|
|
|
- Africa/Asmera renamed to Africa/Asmara, link created
|
|
|
|
- Atlantic/Faeroe renamed to Atlantic/Faroe, link created
|
|
|
|
- Packaging
|
|
|
|
- Adding BuildRequires: glibc-common >= 2.5.90-7 to build tzdata
|
|
|
|
with extended 64-bit format necessary for dates beyond 2037
|
|
|
|
|
2006-11-29 09:50:56 +00:00
|
|
|
* Wed Nov 29 2006 Petr Machata <pmachata@redhat.com> - 2006p-1
|
|
|
|
- Upstream 2006p
|
|
|
|
- Official version of Western Australia DST trial changes
|
|
|
|
- Latitude/longitude changes for Europe/Jersey and Europe/Podgorica
|
|
|
|
|
2006-11-22 20:18:48 +00:00
|
|
|
* Wed Nov 22 2006 Petr Machata <pmachata@redhat.com> - 2006o-2
|
|
|
|
- Patch for Western Australia DST trial
|
|
|
|
|
2006-11-09 13:59:37 +00:00
|
|
|
* Thu Nov 9 2006 Petr Machata <pmachata@redhat.com> - 2006o-1
|
|
|
|
- Cuba has ended its three years of permanent DST.
|
|
|
|
- Updates in historical timestamps for Chile.
|
|
|
|
|
2006-10-10 10:54:57 +00:00
|
|
|
* Tue Oct 10 2006 Petr Machata <pmachata@redhat.com> - 2006m-2
|
|
|
|
- Proposed upstream patch (#210058)
|
|
|
|
- Jordan will switch to winter time on October 27, not September 29
|
|
|
|
- Brazil's DST this year is the first Sunday in November to the last
|
|
|
|
Sunday in February. (Thanks to Frederico A. C. Neves.)
|
|
|
|
- ISO 3166 codes for Serbia and Montenegro, zone Europe/Podgorica
|
|
|
|
- Commentary and past timestamps changes
|
|
|
|
|
2006-10-03 08:17:44 +00:00
|
|
|
* Tue Oct 3 2006 Petr Machata <pmachata@redhat.com> - 2006m-1
|
|
|
|
- Upstream 2006m:
|
|
|
|
- Adjustments for Egypt, Palestine, Uruguay
|
|
|
|
- Better description of `until' field in zic (8) manpage
|
|
|
|
|
2006-09-21 14:03:39 +00:00
|
|
|
* Thu Sep 21 2006 Petr Machata <pmachata@redhat.com> - 2006l-1
|
|
|
|
- Upstream 2006k, 2006l:
|
|
|
|
- Adjustments for Egypt, Palestine, Cuba, Honduras
|
|
|
|
- Documentation changes
|
|
|
|
|
2006-08-22 14:52:10 +00:00
|
|
|
* Tue Aug 22 2006 Petr Machata <pmachata@redhat.com> - 2006j-1
|
|
|
|
- Upstream 2006j
|
|
|
|
- Honduras stopped observing DST on Monday at 00:00
|
|
|
|
- America/Bermuda will follow the US's lead next year
|
|
|
|
- America/Moncton will use US-style rules next year
|
|
|
|
- New Zone America/Blanc-Sablon, for Canadians who observe AST all
|
|
|
|
year
|
|
|
|
- New zone: America/Atikokan instead of America/Coral_Harbour
|
|
|
|
- New zones: Europe/Jersey, Europe/Guernsey, Europe/Isle_of_Man
|
|
|
|
- Historical changes
|
|
|
|
- Commentary updates
|
|
|
|
- Upstream 2006i
|
|
|
|
- localtime.c fixes
|
|
|
|
- Upstream 2006h
|
|
|
|
- zic leapsecond fix
|
|
|
|
|
2006-07-12 08:35:07 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2006g-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-11 08:33:03 +00:00
|
|
|
* Thu May 11 2006 Petr Machata <pmachata@redhat.com> - 2006g-1
|
|
|
|
- Honduras chose to follow Guatemala and will observe DST May/6 to Sep/2
|
|
|
|
- Nicaragua updates
|
|
|
|
|
2006-05-02 12:09:32 +00:00
|
|
|
* Tue May 2 2006 Petr Machata <pmachata@redhat.com> - 2006f-1
|
|
|
|
- Upstream 2006f
|
|
|
|
- America/Guatemala observes DST between Apr/30 and Oct/1
|
|
|
|
- Historical changes for Nicaragua
|
|
|
|
- Update of America/Indiana/Vincennes in zone table
|
|
|
|
|
2006-04-20 14:17:25 +00:00
|
|
|
* Thu Apr 20 2006 Petr Machata <pmachata@redhat.com> - 2006d-1
|
|
|
|
- Upstream 2006d
|
|
|
|
- Haiti observes DST
|
|
|
|
- Sri Lanka change actually took effect Apr/15
|
|
|
|
- All Canada is now scheduled for 2007 US DST rules
|
|
|
|
- Some historical fixes
|
|
|
|
|
2006-04-06 12:15:34 +00:00
|
|
|
* Thu Apr 6 2006 Petr Machata <pmachata@redhat.com> - 2006c-1
|
|
|
|
- Upstream 2006c
|
|
|
|
- Time-related changes:
|
|
|
|
- dozens of historical and commentary changes
|
|
|
|
- Iran stopped observing DST
|
|
|
|
- Sri Lanka switches from UTC+6 to UTC+5:30
|
|
|
|
- America/Thule and America/Edmonton will adopt new US rules,
|
|
|
|
starting 2007
|
|
|
|
- Tunisia is adopting regular DST
|
|
|
|
- Code:
|
|
|
|
- asctime.c: Chages in format strings to silent gcc warnings
|
|
|
|
- removing K&R notation from function signatures
|
|
|
|
- few fixes across the code
|
|
|
|
|
2006-03-22 09:45:45 +00:00
|
|
|
* Thu Mar 16 2006 Petr Machata <pmachata@redhat.com> - 2006b-2
|
|
|
|
- Patch for Sri Lanka time zone change (#184514)
|
|
|
|
|
2006-02-22 14:29:41 +00:00
|
|
|
* Thu Feb 22 2006 Petr Machata <pmachata@redhat.com> 2006b-1
|
|
|
|
- Upstream 2006b:
|
|
|
|
- using tz64code version, as 32 is legacy according to tzdata ML
|
|
|
|
- new manual pages for ctime, strftime, tzset
|
|
|
|
- some source code reorganizations
|
|
|
|
- no timezone/dst rule updates
|
|
|
|
|
2006-02-09 13:19:31 +00:00
|
|
|
* Thu Feb 02 2006 Petr Machata <pmachata@redhat.com> 2006a-2
|
|
|
|
- Small changes in tst-timezone.c
|
|
|
|
|
2006-02-02 19:55:43 +00:00
|
|
|
* Thu Feb 02 2006 Petr Machata <pmachata@redhat.com> 2006a-1
|
|
|
|
- Upstream 2006a:
|
|
|
|
- private.h(scheck): changing char* to char const*
|
|
|
|
- Rule changes for Palestine, zone changes for Indiana/US, both
|
|
|
|
changes for Canada.
|
|
|
|
- Many related doc changes.
|
|
|
|
- Naming scheme in spec file doesn't use %%{name}, but tzdata.
|
|
|
|
|
|
|
|
* Thu Jan 12 2006 Petr Machata <pmachata@redhat.com> 2005r-3
|
2006-01-12 16:12:07 +00:00
|
|
|
- 2005r-3
|
|
|
|
- Meta changes. Renaming tzdata.tar.bz2 file to tzdata$ver-base,
|
|
|
|
so that it won't clash across updates.
|
|
|
|
|
2006-01-06 09:19:18 +00:00
|
|
|
* Thu Jan 5 2006 Petr Machata <pmachata@redhat.com> 2005r-2
|
|
|
|
- 2005r
|
|
|
|
- Zones EST, MST, HST, EST5EDT, CST6CDT, MST7MDT, PST8PDT moved to
|
|
|
|
northamerica to guard against old files with obsolete information
|
|
|
|
being left in the time zone binary directory.
|
|
|
|
- Changes for countries that are supposed to join 2007 US DST
|
|
|
|
change. This includes most of Canada, however entries already in
|
|
|
|
the database (Alberta, British Columbia, Newfoundland, Northwest
|
|
|
|
Territories, and Yukon) were left alone for the time being.
|
|
|
|
- Fixes in zdump.c (abbrok): conditions are chained, and the string
|
|
|
|
is checked for emptiness.
|
|
|
|
|
2005-12-17 10:02:32 +00:00
|
|
|
* Sat Dec 17 2005 Jakub Jelinek <jakub@redhat.com> 2005q-2
|
|
|
|
- 2005q
|
|
|
|
- changes for Georgia, Azerbaijan, Jordan, Palestine, Cuba, Nicaragua
|
|
|
|
- SystemV timezone changes
|
2005-12-09 22:43:40 +00:00
|
|
|
|
2005-11-02 12:07:37 +00:00
|
|
|
* Wed Nov 2 2005 Jakub Jelinek <jakub@redhat.com> 2005n-2
|
|
|
|
- 2005n
|
|
|
|
- changes for Kyrgyzstan and Uruguay
|
2005-11-02 12:23:26 +00:00
|
|
|
- fix a typo in the Makefile (used TZDATA env var instead of TZDIR during
|
2005-11-02 12:30:37 +00:00
|
|
|
make check), update tst-timezone.c from glibc CVS (#172102)
|
2005-11-02 12:07:37 +00:00
|
|
|
|
2005-09-06 11:05:46 +00:00
|
|
|
* Tue Sep 6 2005 Jakub Jelinek <jakub@redhat.com> 2005m-2
|
2005-09-06 10:33:56 +00:00
|
|
|
- 2005m
|
2005-09-06 11:05:46 +00:00
|
|
|
- changes for USA (extending DST by 4 weeks since 2007), Tunisia,
|
|
|
|
Australia, Kazakhstan
|
|
|
|
- historical timezone data changes for Japan, Poland, Northern Ireland and
|
|
|
|
Mali
|
|
|
|
- timezone name change for East Timor
|
2005-09-06 10:33:56 +00:00
|
|
|
|
2005-07-15 11:05:33 +00:00
|
|
|
* Fri Jul 15 2005 Jakub Jelinek <jakub@redhat.com> 2005k-2
|
|
|
|
- 2005k
|
|
|
|
- leap seconds update
|
|
|
|
|
2005-04-30 07:45:51 +00:00
|
|
|
* Sat Apr 30 2005 Jakub Jelinek <jakub@redhat.com> 2005i-2
|
|
|
|
- 2005i
|
2005-04-30 07:51:52 +00:00
|
|
|
- updates for Iran, Haiti and Nicaragua
|
2005-04-30 07:45:51 +00:00
|
|
|
|
2005-04-04 21:47:51 +00:00
|
|
|
* Mon Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2005h-2
|
|
|
|
- 2005h
|
|
|
|
- fixes for Kazakhstan
|
|
|
|
|
2005-03-17 15:06:26 +00:00
|
|
|
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 2005g-2
|
|
|
|
- 2005g
|
|
|
|
- fixes for Uruguay
|
2007-02-07 19:47:13 +00:00
|
|
|
- include README and Theory from tzcode tarball in %%{_docdir};
|
2005-03-17 15:06:26 +00:00
|
|
|
Theory includes a good summary of how the timezone data files
|
|
|
|
are supposed to be named
|
|
|
|
|
2005-03-01 14:24:21 +00:00
|
|
|
* Tue Mar 1 2005 Jakub Jelinek <jakub@redhat.com> 2005f-2
|
|
|
|
- 2005f
|
|
|
|
- more updates for Israel, updates for Azerbaijan
|
|
|
|
|
2005-01-26 10:44:27 +00:00
|
|
|
* Wed Jan 26 2005 Jakub Jelinek <jakub@redhat.com> 2005c-3
|
2005-01-26 10:34:40 +00:00
|
|
|
- 2005c
|
2005-01-26 10:44:27 +00:00
|
|
|
- updates for Israel and Paraguay
|
2005-01-26 10:34:40 +00:00
|
|
|
|
2004-11-29 10:15:44 +00:00
|
|
|
* Mon Nov 29 2004 Jakub Jelinek <jakub@redhat.com> 2004g-1
|
|
|
|
- 2004g (#141107)
|
|
|
|
- updates for Cuba
|
|
|
|
|
2004-10-11 19:15:05 +00:00
|
|
|
* Mon Oct 11 2004 Jakub Jelinek <jakub@redhat.com> 2004e-2
|
|
|
|
- 2004e (#135194)
|
|
|
|
- updates for Brazil, Uruguay and Argentina
|
|
|
|
|
|
|
|
* Wed Aug 4 2004 Jakub Jelinek <jakub@redhat.com> 2004b-2
|
2004-09-09 13:43:26 +00:00
|
|
|
- 2004b
|
2004-09-09 13:42:30 +00:00
|
|
|
|
2004-09-09 13:40:51 +00:00
|
|
|
* Mon Oct 6 2003 Jakub Jelinek <jakub@redhat.com> 2003d-1
|
|
|
|
- 2003d
|
|
|
|
|
2004-09-09 13:40:41 +00:00
|
|
|
* Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2003c-1
|
|
|
|
- 2003c
|
2004-10-11 19:15:05 +00:00
|
|
|
- updates for Brazil (#104840)
|
2004-09-09 13:40:41 +00:00
|
|
|
|
|
|
|
* Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2003a-2
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2003a-1
|
|
|
|
- initial package
|