Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37497556
en ru br
ALT Linux repos
S:1.5.0a4-alt1
5.0: 1.4.7-alt3
4.1: 1.4.7-alt2

Group :: Development/Other
RPM: pear-Date

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pear_name Date

Name: pear-Date
Version: 1.5.0a4
Release: alt1

Summary: Generic date/time handling class for PEAR

License: BSD License
Group: Development/Other
Url: http://pear.php.net/package/Date

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pear.php.net/get/Date-%version.tar

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

%description
Generic classes for representation and manipulation of
dates, times and time zones without the need of timestamps,
which is a huge limitation for php programs.  Includes time zone data,
time zone conversions and many date/time conversions.
It does not rely on 32-bit system date stamps, so
you can display calendars and compare dates that date
pre 1970 and post 2038. This package also provides a class
to convert date strings between Gregorian and Human calendar formats.

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/Date
%pear_testdir/Date/
%pear_dir/Date.php
%pear_docdir/%pear_name/
%pear_datadir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin