Summary: Timezone data Summary(pl): Dane o strefach czasowych Name: tzdata Version: 2006g Release: 1 License: GPL Group: Base Source0: %{name}-base-0.tar.bz2 # Source0-md5: 906a4c98cc5240f416524a256b039c42 Source1: ftp://elsie.nci.nih.gov/pub/%{name}%{version}.tar.gz # Source1-md5: fed13df17e2e386f4c31b0962d3ed356 Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{version}.tar.gz # Source2-md5: 4091e3f764a296b476bb77cf8eda01c7 BuildRequires: gawk BuildRequires: perl-base BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This package contains data files with rules for various timezones around the world. %description -l pl Ten pakiet zawiera pliki z danymi na temat reguł stref czasowych na całym świecie. %package zoneinfo_right Summary: Non-POSIX (real) time zones Summary(es): Zonas de tiempo reales (no de POSIX) Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe Obsoletes: glibc-zoneinfo_right Group: Libraries %description zoneinfo_right You don't want this. Details at: http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html %description zoneinfo_right -l es No lo necesita. Encontrará los detalles en: http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html %description zoneinfo_right -l pl Nie potrzebujesz tego. Szczegóły pod: http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html %prep %setup -q -n %{name} mkdir %{name}%{version} tar xzf %{SOURCE1} -C %{name}%{version} mkdir tzcode%{version} tar xzf %{SOURCE2} -C tzcode%{version} sed -e " s|@objpfx@|`pwd`/obj/| s|@datadir@|%{_datadir}| s|@install_root@|$RPM_BUILD_ROOT| " Makeconfig.in > Makeconfig grep -v tz-art.htm tzcode%{version}/tz-link.htm > tzcode%{version}/tz-link.html %build %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install echo ====================TESTING========================= %{__make} check echo ====================TESTING END===================== %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc tzcode%{version}/README tzcode%{version}/Theory tzcode%{version}/tz-link.html %{_datadir}/zoneinfo %exclude %{_datadir}/zoneinfo/right %files zoneinfo_right %defattr(644,root,root,755) %{_datadir}/zoneinfo/right