tzdata/tzdata.spec
2005-12-09 22:43:40 +00:00

116 lines
3.1 KiB
RPMSpec

Summary: Timezone data
Name: tzdata
Version: 2005n
Release: 2.1
License: GPL
Group: System Environment/Base
Source0: %{name}.tar.bz2
Source1: ftp://elsie.nci.nih.gov/pub/%{name}%{version}.tar.gz
Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{version}.tar.gz
Buildroot: /var/tmp/tzdata-root
BuildRequires: gawk, glibc, glibc-common, perl
Conflicts: glibc-common <= 2.3.2-63
BuildArchitectures: noarch
%description
This package contains data files with rules for various timezones around
the world.
%prep
%setup -n tzdata
mkdir %{name}%{version}
tar xzf %{SOURCE1} -C %{name}%{version}
mkdir tzcode%{version}
tar xzf %{SOURCE2} -C tzcode%{version}
%build
sed -e 's|@objpfx@|'`pwd`'/obj/|' \
-e 's|@datadir@|%{_datadir}|' \
-e 's|@install_root@|%{buildroot}|' \
Makeconfig.in > Makeconfig
make
grep -v tz-art.htm tzcode%{version}/tz-link.htm > tzcode%{version}/tz-link.html
%install
make install
echo ====================TESTING=========================
make check
echo ====================TESTING END=====================
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_datadir}/zoneinfo
%doc tzcode%{version}/README tzcode%{version}/Theory tzcode%{version}/tz-link.html
%changelog
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* 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