2 Summary(pl): Dane o strefach czasowych
8 Source0: %{name}-base-0.tar.bz2
9 # Source0-md5: 906a4c98cc5240f416524a256b039c42
10 Source1: ftp://elsie.nci.nih.gov/pub/%{name}%{version}.tar.gz
11 # Source1-md5: 5ba3a8c3581a0ef962179fba1328f3cb
12 Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{version}.tar.gz
13 # Source2-md5: 9162d8d447eec31f60d0602edd17e123
15 BuildRequires: perl-base
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 This package contains data files with rules for various timezones
24 Ten pakiet zawiera pliki z danymi na temat regu³ stref czasowych na
27 %package zoneinfo_right
28 Summary: Non-POSIX (real) time zones
29 Summary(es): Zonas de tiempo reales (no de POSIX)
30 Summary(pl): Nie-POSIX-owe (prawdziwe) strefy czasowe
32 Obsoletes: glibc-zoneinfo_right
34 %description zoneinfo_right
35 You don't want this. Details at:
36 <http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html>.
38 %description zoneinfo_right -l es
39 No lo necesita. Encontrará los detalles en:
40 <http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html>.
42 %description zoneinfo_right -l pl
43 Nie potrzebujesz tego. Szczegó³y pod:
44 <http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html>.
48 mkdir %{name}%{version}
49 %{__tar} xzf %{SOURCE1} -C %{name}%{version}
50 mkdir tzcode%{version}
51 %{__tar} xzf %{SOURCE2} -C tzcode%{version}
54 s|@objpfx@|`pwd`/obj/|
55 s|@datadir@|%{_datadir}|
56 s|@install_root@|$RPM_BUILD_ROOT|
57 " Makeconfig.in > Makeconfig
59 grep -v tz-art.htm tzcode%{version}/tz-link.htm > tzcode%{version}/tz-link.html
65 rm -rf $RPM_BUILD_ROOT
68 echo ====================TESTING=========================
71 CFLAGS="%{rpmcflags} %{rpmldflags}"
72 echo ====================TESTING END=====================
74 # glibc.spec didn't keep it. so won't here either.
75 rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posix
76 # behave more like glibc.spec
77 ln -sf %{_sysconfdir}/localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
78 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
79 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
86 %doc tzcode%{version}/README tzcode%{version}/Theory tzcode%{version}/tz-link.html
88 %exclude %{_datadir}/zoneinfo/right
91 %defattr(644,root,root,755)
92 %{_datadir}/zoneinfo/right