tzdata-vl.spec 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. Summary: Timezone data
  2. Summary(ja): タイムゾーンのデータ
  3. Name: tzdata
  4. Version: 2009d
  5. %define tzdata_version %{version}
  6. %define tzcode_version 2009d
  7. Release: 1%{?_dist_release}
  8. License: GPL
  9. Group: System Environment/Base
  10. Source0: tzdata-base-0.tar.bz2
  11. Source1: ftp://elsie.nci.nih.gov/pub/tzdata%{tzdata_version}.tar.gz
  12. Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{tzcode_version}.tar.gz
  13. BuildRequires: gawk, glibc, glibc-common, perl
  14. Conflicts: glibc-common <= 2.3.2-63
  15. BuildArchitectures: noarch
  16. Buildroot: %{_tmppath}/%{name}-%{version}-root
  17. %description
  18. This package contains data files with rules for various timezones around
  19. the world.
  20. %description -l ja
  21. このパッケージには世界中のタイムゾーンに関するデータファイルが
  22. 収録されています。
  23. %prep
  24. %setup -n tzdata
  25. mkdir tzdata%{tzdata_version}
  26. tar xzf %{SOURCE1} -C tzdata%{tzdata_version}
  27. mkdir tzcode%{tzcode_version}
  28. tar xzf %{SOURCE2} -C tzcode%{tzcode_version}
  29. sed -e 's|@objpfx@|'`pwd`'/obj/|' \
  30. -e 's|@datadir@|%{_datadir}|' \
  31. -e 's|@install_root@|%{buildroot}|' \
  32. Makeconfig.in > Makeconfig
  33. %build
  34. make
  35. grep -v tz-art.htm tzcode%{tzcode_version}/tz-link.htm > tzcode%{tzcode_version}/tz-link.html
  36. %install
  37. make install
  38. %check
  39. echo ====================TESTING=========================
  40. make check
  41. echo ====================TESTING END=====================
  42. %clean
  43. rm -rf %{buildroot}
  44. %files
  45. %defattr(-,root,root)
  46. %{_datadir}/zoneinfo
  47. %doc tzcode%{tzcode_version}/README
  48. %doc tzcode%{tzcode_version}/Theory
  49. %doc tzcode%{tzcode_version}/tz-link.html
  50. %changelog
  51. * Tue Apr 07 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2009d-1
  52. - update to tzdata-2009d, tzcode-2009d
  53. - spec in utf-8
  54. * Sun Apr 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2008b-1
  55. - update to tzdata-2008b, tzcode-2008a
  56. * Sun May 06 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2007d-1vl1
  57. - initial build for VineSeed
  58. * Fri Mar 23 2007 Petr Machata <pmachata@redhat.com> - 2007d-1
  59. - Upstream 2007d
  60. - Mongolia has abolished DST.
  61. - Turkey will use EU rules this year, changing at 01:00 UTC rather
  62. than 01:00 standard time.
  63. - Cuba observed DST starting Sunday.
  64. - Resolute, Nunavut switched from Central to Eastern time last
  65. November.
  66. * Mon Feb 26 2007 Petr Machata <pmachata@redhat.com> - 2007c-1
  67. - Upstream 2007c
  68. - Pulaski County, Indiana, switched back to eastern time.
  69. - Turkey switches at 01:00 standard time, not at 01:00 UTC.
  70. - Upstream 2007b
  71. - Changes to the commentary in "leapseconds".
  72. - Upstream 2007a
  73. - Updates to Bahamas, they will be in sync with 2007 US DST change
  74. - New zone Australia/Eucla
  75. - Africa/Asmera renamed to Africa/Asmara, link created
  76. - Atlantic/Faeroe renamed to Atlantic/Faroe, link created
  77. * Wed Nov 29 2006 Petr Machata <pmachata@redhat.com> - 2006p-1
  78. - Upstream 2006p
  79. - Covers changes from 2006m-2 and 2006m-3
  80. - Latitude/longitude changes for Europe/Jersey and Europe/Podgorica
  81. * Wed Nov 22 2006 Petr Machata <pmachata@redhat.com> - 2006m-3
  82. - Patch for Western Australia DST trial
  83. * Tue Oct 10 2006 Petr Machata <pmachata@redhat.com> - 2006m-2
  84. - Proposed upstream patch (#210058)
  85. - Jordan will switch to winter time on October 27, not September 29
  86. - Brazil's DST this year is the first Sunday in November to the last
  87. Sunday in February. (Thanks to Frederico A. C. Neves.)
  88. - ISO 3166 codes for Serbia and Montenegro, zone Europe/Podgorica
  89. - Commentary and past timestamps changes
  90. * Tue Oct 3 2006 Petr Machata <pmachata@redhat.com> - 2006m-1
  91. - Upstream 2006m:
  92. - Adjustments for Egypt, Palestine, Uruguay
  93. - Better description of `until' field in zic (8) manpage
  94. * Thu Sep 21 2006 Petr Machata <pmachata@redhat.com> - 2006l-1
  95. - Upstream 2006k, 2006l:
  96. - Adjustments for Egypt, Palestine, Cuba, Honduras
  97. - Documentation changes
  98. * Tue Aug 22 2006 Petr Machata <pmachata@redhat.com> - 2006j-1
  99. - Upstream 2006j
  100. - Honduras stopped observing DST on Monday at 00:00
  101. - America/Bermuda will follow the US's lead next year
  102. - America/Moncton will use US-style rules next year
  103. - New Zone America/Blanc-Sablon, for Canadians who observe AST all
  104. year
  105. - New zone: America/Atikokan instead of America/Coral_Harbour
  106. - New zones: Europe/Jersey, Europe/Guernsey, Europe/Isle_of_Man
  107. - Historical changes
  108. - Commentary updates
  109. - Upstream 2006i
  110. - localtime.c fixes
  111. - Upstream 2006h
  112. - zic leapsecond fix
  113. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2006g-1.1
  114. - rebuild
  115. * Thu May 11 2006 Petr Machata <pmachata@redhat.com> - 2006g-1
  116. - Honduras chose to follow Guatemala and will observe DST May/6 to Sep/2
  117. - Nicaragua updates
  118. * Tue May 2 2006 Petr Machata <pmachata@redhat.com> - 2006f-1
  119. - Upstream 2006f
  120. - America/Guatemala observes DST between Apr/30 and Oct/1
  121. - Historical changes for Nicaragua
  122. - Update of America/Indiana/Vincennes in zone table
  123. * Thu Apr 20 2006 Petr Machata <pmachata@redhat.com> - 2006d-1
  124. - Upstream 2006d
  125. - Haiti observes DST
  126. - Sri Lanka change actually took effect Apr/15
  127. - All Canada is now scheduled for 2007 US DST rules
  128. - Some historical fixes
  129. * Thu Apr 6 2006 Petr Machata <pmachata@redhat.com> - 2006c-1
  130. - Upstream 2006c
  131. - Time-related changes:
  132. - dozens of historical and commentary changes
  133. - Iran stopped observing DST
  134. - Sri Lanka switches from UTC+6 to UTC+5:30
  135. - America/Thule and America/Edmonton will adopt new US rules,
  136. starting 2007
  137. - Tunisia is adopting regular DST
  138. - Code:
  139. - asctime.c: Chages in format strings to silent gcc warnings
  140. - removing K&R notation from function signatures
  141. - few fixes across the code
  142. * Thu Mar 16 2006 Petr Machata <pmachata@redhat.com> - 2006b-2
  143. - Patch for Sri Lanka time zone change (#184514)
  144. * Thu Feb 22 2006 Petr Machata <pmachata@redhat.com> 2006b-1
  145. - Upstream 2006b:
  146. - using tz64code version, as 32 is legacy according to tzdata ML
  147. - new manual pages for ctime, strftime, tzset
  148. - some source code reorganizations
  149. - no timezone/dst rule updates
  150. * Thu Feb 02 2006 Petr Machata <pmachata@redhat.com> 2006a-2
  151. - Small changes in tst-timezone.c
  152. * Thu Feb 02 2006 Petr Machata <pmachata@redhat.com> 2006a-1
  153. - Upstream 2006a:
  154. - private.h(scheck): changing char* to char const*
  155. - Rule changes for Palestine, zone changes for Indiana/US, both
  156. changes for Canada.
  157. - Many related doc changes.
  158. - Naming scheme in spec file doesn't use %%{name}, but tzdata.
  159. * Thu Jan 12 2006 Petr Machata <pmachata@redhat.com> 2005r-3
  160. - 2005r-3
  161. - Meta changes. Renaming tzdata.tar.bz2 file to tzdata$ver-base,
  162. so that it won't clash across updates.
  163. * Thu Jan 5 2006 Petr Machata <pmachata@redhat.com> 2005r-2
  164. - 2005r
  165. - Zones EST, MST, HST, EST5EDT, CST6CDT, MST7MDT, PST8PDT moved to
  166. northamerica to guard against old files with obsolete information
  167. being left in the time zone binary directory.
  168. - Changes for countries that are supposed to join 2007 US DST
  169. change. This includes most of Canada, however entries already in
  170. the database (Alberta, British Columbia, Newfoundland, Northwest
  171. Territories, and Yukon) were left alone for the time being.
  172. - Fixes in zdump.c (abbrok): conditions are chained, and the string
  173. is checked for emptiness.
  174. * Sat Dec 17 2005 Jakub Jelinek <jakub@redhat.com> 2005q-2
  175. - 2005q
  176. - changes for Georgia, Azerbaijan, Jordan, Palestine, Cuba, Nicaragua
  177. - SystemV timezone changes
  178. * Wed Nov 2 2005 Jakub Jelinek <jakub@redhat.com> 2005n-2
  179. - 2005n
  180. - changes for Kyrgyzstan and Uruguay
  181. - fix a typo in the Makefile (used TZDATA env var instead of TZDIR during
  182. make check), update tst-timezone.c from glibc CVS (#172102)
  183. * Tue Sep 6 2005 Jakub Jelinek <jakub@redhat.com> 2005m-2
  184. - 2005m
  185. - changes for USA (extending DST by 4 weeks since 2007), Tunisia,
  186. Australia, Kazakhstan
  187. - historical timezone data changes for Japan, Poland, Northern Ireland and
  188. Mali
  189. - timezone name change for East Timor
  190. * Fri Jul 15 2005 Jakub Jelinek <jakub@redhat.com> 2005k-2
  191. - 2005k
  192. - leap seconds update
  193. * Sat Apr 30 2005 Jakub Jelinek <jakub@redhat.com> 2005i-2
  194. - 2005i
  195. - updates for Iran, Haiti and Nicaragua
  196. * Mon Apr 4 2005 Jakub Jelinek <jakub@redhat.com> 2005h-2
  197. - 2005h
  198. - fixes for Kazakhstan
  199. * Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 2005g-2
  200. - 2005g
  201. - fixes for Uruguay
  202. - include README and Theory from tzcode tarball in %{_docdir};
  203. Theory includes a good summary of how the timezone data files
  204. are supposed to be named
  205. * Tue Mar 1 2005 Jakub Jelinek <jakub@redhat.com> 2005f-2
  206. - 2005f
  207. - more updates for Israel, updates for Azerbaijan
  208. * Wed Jan 26 2005 Jakub Jelinek <jakub@redhat.com> 2005c-3
  209. - 2005c
  210. - updates for Israel and Paraguay
  211. * Mon Nov 29 2004 Jakub Jelinek <jakub@redhat.com> 2004g-1
  212. - 2004g (#141107)
  213. - updates for Cuba
  214. * Mon Oct 11 2004 Jakub Jelinek <jakub@redhat.com> 2004e-2
  215. - 2004e (#135194)
  216. - updates for Brazil, Uruguay and Argentina
  217. * Wed Aug 4 2004 Jakub Jelinek <jakub@redhat.com> 2004b-2
  218. - 2004b
  219. * Mon Oct 6 2003 Jakub Jelinek <jakub@redhat.com> 2003d-1
  220. - 2003d
  221. * Thu Sep 25 2003 Jakub Jelinek <jakub@redhat.com> 2003c-1
  222. - 2003c
  223. - updates for Brazil (#104840)
  224. * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2003a-2
  225. - rebuilt
  226. * Mon Jul 28 2003 Jakub Jelinek <jakub@redhat.com> 2003a-1
  227. - initial package