tzdata/tzdata.spec

56 lines
1.2 KiB
RPMSpec
Raw Normal View History

Summary: Timezone data
Name: tzdata
Version: 2003d
Release: 1
Copyright: GPL
Group: System Environment/Base
Source0: %{name}.tar.bz2
Source1: ftp://elsie.nci.nih.gov/pub/%{name}%{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}
%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
* 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 Brasil (#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