85b9646f18
216691 Resolves: bz 216384
239 lines
7.7 KiB
RPMSpec
239 lines
7.7 KiB
RPMSpec
Summary: Timezone data
|
|
Name: tzdata
|
|
Version: 2006o
|
|
%define tzdata_version %{version}
|
|
%define tzcode_version %{version}
|
|
Release: 2%{?dist}
|
|
License: GPL
|
|
Group: System Environment/Base
|
|
Source0: tzdata-base-0.tar.bz2
|
|
Source1: ftp://elsie.nci.nih.gov/pub/tzdata%{tzdata_version}.tar.gz
|
|
Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{tzcode_version}.tar.gz
|
|
Patch0: tzdata-2006o-wa.patch
|
|
BuildRequires: gawk, glibc, glibc-common, perl
|
|
Conflicts: glibc-common <= 2.3.2-63
|
|
BuildArchitectures: noarch
|
|
Buildroot: %{_tmppath}/%{name}-root
|
|
|
|
%description
|
|
This package contains data files with rules for various timezones around
|
|
the world.
|
|
|
|
%prep
|
|
%setup -n tzdata
|
|
mkdir tzdata%{tzdata_version}
|
|
tar xzf %{SOURCE1} -C tzdata%{tzdata_version}
|
|
mkdir tzcode%{tzcode_version}
|
|
tar xzf %{SOURCE2} -C tzcode%{tzcode_version}
|
|
sed -e 's|@objpfx@|'`pwd`'/obj/|' \
|
|
-e 's|@datadir@|%{_datadir}|' \
|
|
-e 's|@install_root@|%{buildroot}|' \
|
|
Makeconfig.in > Makeconfig
|
|
%patch0 -p1
|
|
|
|
%build
|
|
make
|
|
grep -v tz-art.htm tzcode%{tzcode_version}/tz-link.htm > tzcode%{tzcode_version}/tz-link.html
|
|
|
|
%install
|
|
make install
|
|
|
|
%check
|
|
echo ====================TESTING=========================
|
|
make check
|
|
echo ====================TESTING END=====================
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/zoneinfo
|
|
%doc tzcode%{tzcode_version}/README
|
|
%doc tzcode%{tzcode_version}/Theory
|
|
%doc tzcode%{tzcode_version}/tz-link.html
|
|
|
|
%changelog
|
|
* Wed Nov 22 2006 Petr Machata <pmachata@redhat.com> - 2006o-2
|
|
- Patch for Western Australia DST trial
|
|
|
|
* 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.
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Thu Sep 21 2006 Petr Machata <pmachata@redhat.com> - 2006l-1
|
|
- Upstream 2006k, 2006l:
|
|
- Adjustments for Egypt, Palestine, Cuba, Honduras
|
|
- Documentation changes
|
|
|
|
* 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
|
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2006g-1.1
|
|
- rebuild
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Thu Mar 16 2006 Petr Machata <pmachata@redhat.com> - 2006b-2
|
|
- Patch for Sri Lanka time zone change (#184514)
|
|
|
|
* 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
|
|
|
|
* Thu Feb 02 2006 Petr Machata <pmachata@redhat.com> 2006a-2
|
|
- Small changes in tst-timezone.c
|
|
|
|
* 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
|
|
- 2005r-3
|
|
- Meta changes. Renaming tzdata.tar.bz2 file to tzdata$ver-base,
|
|
so that it won't clash across updates.
|
|
|
|
* 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.
|
|
|
|
* Sat Dec 17 2005 Jakub Jelinek <jakub@redhat.com> 2005q-2
|
|
- 2005q
|
|
- changes for Georgia, Azerbaijan, Jordan, Palestine, Cuba, Nicaragua
|
|
- SystemV timezone changes
|
|
|
|
* Wed Nov 2 2005 Jakub Jelinek <jakub@redhat.com> 2005n-2
|
|
- 2005n
|
|
- changes for Kyrgyzstan and Uruguay
|
|
- fix a typo in the Makefile (used TZDATA env var instead of TZDIR during
|
|
make check), update tst-timezone.c from glibc CVS (#172102)
|
|
|
|
* Tue Sep 6 2005 Jakub Jelinek <jakub@redhat.com> 2005m-2
|
|
- 2005m
|
|
- 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
|
|
|
|
* Fri Jul 15 2005 Jakub Jelinek <jakub@redhat.com> 2005k-2
|
|
- 2005k
|
|
- leap seconds update
|
|
|
|
* Sat Apr 30 2005 Jakub Jelinek <jakub@redhat.com> 2005i-2
|
|
- 2005i
|
|
- updates for Iran, Haiti and Nicaragua
|
|
|
|
* Mon Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2005h-2
|
|
- 2005h
|
|
- fixes for Kazakhstan
|
|
|
|
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 2005g-2
|
|
- 2005g
|
|
- fixes for Uruguay
|
|
- include README and Theory from tzcode tarball in %{_docdir};
|
|
Theory includes a good summary of how the timezone data files
|
|
are supposed to be named
|
|
|
|
* Tue Mar 1 2005 Jakub Jelinek <jakub@redhat.com> 2005f-2
|
|
- 2005f
|
|
- more updates for Israel, updates for Azerbaijan
|
|
|
|
* Wed Jan 26 2005 Jakub Jelinek <jakub@redhat.com> 2005c-3
|
|
- 2005c
|
|
- updates for Israel and Paraguay
|
|
|
|
* Mon Nov 29 2004 Jakub Jelinek <jakub@redhat.com> 2004g-1
|
|
- 2004g (#141107)
|
|
- updates for Cuba
|
|
|
|
* 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
|
|
- 2004b
|
|
|
|
* Mon Oct 6 2003 Jakub Jelinek <jakub@redhat.com> 2003d-1
|
|
- 2003d
|
|
|
|
* Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2003c-1
|
|
- 2003c
|
|
- updates for Brazil (#104840)
|
|
|
|
* 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
|