# $Owl: Owl/packages/tzdata/tzdata.spec,v 1.5 2011/10/26 02:05:40 solar Exp $ Summary: Timezone data. Name: tzdata %define tzdata_version 2014h %define tzcode_version 2014h Version: %tzdata_version Release: owl1 License: public domain Group: System Environment/Base URL: http://www.iana.org/time-zones # These are official upstream. Source0: ftp://munnari.oz.au/pub/tzdata%tzdata_version.tar.gz Source1: ftp://munnari.oz.au/pub/tzcode%tzcode_version.tar.gz BuildRequires: /usr/sbin/zic BuildRequires: hardlink BuildRequires: sed >= 4.0.9 BuildArchitectures: noarch BuildRoot: /override/%name-%version %description This package contains data files with rules for various timezones around the world. %prep %setup -c -T -n tzdata tar xzf %SOURCE0 tar xzf %SOURCE1 %build %__make %install rm -rf %buildroot %__make install DESTDIR=%buildroot TOPDIR=/usr TZDIR=%_datadir/zoneinfo hardlink -vc %buildroot WD=`pwd`; cd %buildroot DOCDIR=%{buildroot}/%{_docdir}/tzdata-%tzdata_version/ mkdir -p $DOCDIR cp $WD/README $DOCDIR cp $WD/Theory $DOCDIR cp $WD/tz-link.htm $DOCDIR %check %__make check_character_set check_white_space check_sorted check_tables %files %defattr(-,root,root) %_datadir/zoneinfo %doc %{_docdir}/tzdata-%tzdata_version/README %doc %{_docdir}/tzdata-%tzdata_version/Theory %doc %{_docdir}/tzdata-%tzdata_version/tz-link.htm %exclude /usr/etc %exclude /usr/lib %exclude /usr/man %exclude /usr/share/zoneinfo-leaps %changelog * Wed Oct 22 2014 Vasily Tekychev 2014h-owl1 - Updated to 2014m - Remove tzdata-base-0 * Wed Oct 26 2011 Solar Designer 2011m-owl1 - Updated to 2011m. * Sat Oct 15 2011 Solar Designer 2011l-owl1 - Updated to 2011l. - Run hardlink(1) on the target tree to save disk space. * Sun Oct 09 2011 Solar Designer 2011k-owl1 - Initial packaging for Owl based on cut-down spec file and tzdata-base-0.tar.bz2 from Fedora, with review of the tzdata package in ALT Linux Sisyphus.