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