Search
SailfishOS Open Build Service
>
Projects
>
home:johannes
:
64bit
>
tzdata
> tzdata.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File tzdata.spec of Package tzdata
Summary: Time zone and daylight-saving time data Name: tzdata Version: 2013h.lm65 %define tzdata_version %{version} %define tzcode_version %{version} Release: 1%{?dist}.1.1 Packager: tar_nomovok_cgit;https://lm-cgit.nomovok.info/cgit.cgi/tzdata;cf5ee509542d3f12f8ebbbe87a99b334f8c22628 License: Public Domain Group: System/Base URL: https://lm-cgit.nomovok.info/cgit.cgi/tzdata/snapshot/tzdata-cf5ee509542d3f12f8ebbbe87a99b334f8c22628.tar.bz2 Source0: tzdata-cf5ee509542d3f12f8ebbbe87a99b334f8c22628.tar.bz2 Conflicts: glibc-common <= 2.3.2-63 Requires: filesystem BuildArch: noarch %description This package contains data required for the implementation of standard local time for many representative locations around the globe. It is updated periodically to reflect changes made by political bodies to time zone boundaries, UTC offsets, and daylight-saving rules. %prep %setup -n tzdata-cf5ee509542d3f12f8ebbbe87a99b334f8c22628 -q %build # The build setup is adapted from Ubuntu tzdata package version # 2012e-0ubuntu0.12.04.1 TIMEZONES="africa \ antarctica \ asia \ australasia \ europe \ northamerica \ southamerica \ etcetera \ factory \ backward \ systemv \ pacificnew \ solar87 \ solar88 \ solar89" # Build the "default" version for zone in $TIMEZONES; do \ /usr/sbin/zic -d tzgen -L /dev/null -y yearistype.sh ${zone} done # Build the "posix" and "right" versions for zone in $TIMEZONES; do /usr/sbin/zic -d tzgen/posix -L /dev/null -y yearistype.sh ${zone} /usr/sbin/zic -d tzgen/right -L leapseconds -y tzgen/yearistype.sh ${zone} done # Generate a posixrules file /usr/sbin/zic -d tzgen -p America/New_York # Replace hardlinks by symlinks cd tzgen fdupes -1 -H -q -r . | while read line ; do set -- ${line} tgt="${1##./}" shift while [ "$#" != 0 ] ; do link="${1##./}" reltgt="$(echo $link | sed -e 's,[^/]\+$,,g' -e 's,[^/]\+,..,g')${tgt}" ln -sf ${reltgt} ${link} shift done done cd - %install rm -fr $RPM_BUILD_ROOT install -d %{buildroot}%{_datadir}/zoneinfo cp -r tzgen/* %{buildroot}%{_datadir}/zoneinfo install -m 644 iso3166.tab %{buildroot}%{_datadir}/zoneinfo install -m 644 zone.tab %{buildroot}%{_datadir}/zoneinfo %check %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_datadir}/zoneinfo %changelog * Mon Dec 2 2013 Petri M. Gerdt <petri.gerdt@jollamobile.com> - 2013h - New upstream version 2013h * Tue Jul 16 2013 Davide Bettio <davide.bettio@ispirata.com> - 2013d - New upstream version 2013d * Fri Mar 8 2013 Petri M. Gerdt <petri.gerdt@jollamobile.com> - 2013b - New upstream version 2013b - New build setup, adapted from Ubuntu tzdata 2012e-0ubuntu0.12.04.1 - Remove obsolete TZ database files - Remove calendar and timed subpackages - Remove extras and extras build patch * Sat May 28 2011 Tapio Rantala <ext-tapio.rantala@nokia.com> - 2011e - New upstream version - Add calendar and timed subpackages for generated files (BMC#12919) + Add extras from maemo tzdata version 2011e-1 + Add extras-build patch to build extras correctly * Fri May 27 2011 Anas Nashif <anas.nashif@intel.com> - 2010b - Dont depend on fdupes, avoid too many cycles * Tue May 24 2011 Anas Nashif <anas.nashif@intel.com> - 2010b - Repackage documentaion/translations * Sat Apr 10 2010 Anas Nashif <anas.nashif@intel.com> - 2010b - Fixed rpmlint errors * Mon Feb 8 2010 Austin Zhang <austin.zhang@intel.com> - 2010b - Upstream 2010b