tzdata/tzdata.spec
cvsdist ea2813192a auto-import changelog data from tzdata-2003c-1.src.rpm
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
2004-09-09 13:40:41 +00:00

57 lines
1.2 KiB
RPMSpec

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 <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