diff --git a/.cvsignore b/.cvsignore index e69de29..068aaaf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +tzdata.tar.bz2 +tzdata2003c.tar.gz diff --git a/sources b/sources index e69de29..d529ff2 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +d20ffc3a857fd1714daadf8edacfb37a tzdata.tar.bz2 +0feaacca283d83317693f3c873e3e0ef tzdata2003c.tar.gz diff --git a/tzdata.spec b/tzdata.spec new file mode 100644 index 0000000..ef5b8b1 --- /dev/null +++ b/tzdata.spec @@ -0,0 +1,56 @@ +Summary: Timezone data +Name: tzdata +Version: 2003c +Release: 1 +Copyright: GPL +Group: System Environment/Base +Source0: %{name}.tar.bz2 +Source1: ftp://elsie.nci.nih.gov/pub/%{name}%{version}.tar.gz +Patch: %{name}%{version}.patch +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} +cd %{name}%{version} +%patch -p0 +cd - + +%build +sed -e 's|@objpfx@|'`pwd`'/obj/|' \ + -e 's|@datadir@|%{_datadir}|' \ + -e 's|@install_root@|%{buildroot}|' \ + Makeconfig.in > Makeconfig +make + +%install +make install +echo ====================TESTING========================= +make check +echo ====================TESTING END===================== + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_datadir}/zoneinfo + +%changelog +* Thu Sep 25 2003 Jakub Jelinek 2003c-1 +- 2003c +- updates for Brasil (#104840) + +* Mon Jul 28 2003 Jakub Jelinek 2003a-2 +- rebuilt + +* Mon Jul 28 2003 Jakub Jelinek 2003a-1 +- initial package