2024-01-06 08:28:52 +01:00
|
|
|
Name: pear-Date
|
2024-11-15 08:35:39 +01:00
|
|
|
Version: 1.5.0a4
|
|
|
|
Release: 1mamba
|
2024-01-06 08:28:52 +01:00
|
|
|
Summary: Provides php/pear classes to handle Date and Time
|
|
|
|
Group: Applications/Web
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-11-15 08:35:39 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pear.php.net/
|
2024-01-06 08:28:52 +01:00
|
|
|
Source: http://pear.php.net/get/Date-%{version}.tgz
|
|
|
|
License: GPL
|
2024-11-15 08:35:39 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:28:52 +01:00
|
|
|
Requires: php >= 4.3.3
|
|
|
|
|
|
|
|
%description
|
2024-11-15 08:35:39 +01:00
|
|
|
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.
|
2024-01-06 08:28:52 +01:00
|
|
|
Includes time zone data, time zone conversions and many date/time conversions.
|
2024-11-15 08:35:39 +01:00
|
|
|
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.
|
2024-01-06 08:28:52 +01:00
|
|
|
|
|
|
|
%prep
|
2024-11-15 08:35:39 +01:00
|
|
|
%setup -n Date-%{version}
|
2024-01-06 08:28:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2024-11-15 08:35:39 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_libdir}/php
|
|
|
|
cp -a Date %{buildroot}%{_libdir}/php/
|
2024-01-06 08:28:52 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-11-15 08:35:39 +01:00
|
|
|
%dir %{_libdir}/php/Date
|
|
|
|
%{_libdir}/php/Date/*.php
|
|
|
|
%doc docs/LICENSE
|
2024-01-06 08:28:52 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-15 08:35:39 +01:00
|
|
|
* Thu Nov 14 2024 Automatic Build System <autodist@openmamba.org> 1.5.0a4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:28:52 +01:00
|
|
|
* Thu Sep 05 2013 Automatic Build System <autodist@mambasoft.it> 1.4.7-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sat Jun 09 2007 Tiziana Ferro <tiziana.ferro@email.it> 1.4.7-1mamba
|
|
|
|
- update to 1.4.7
|
|
|
|
|
2024-11-15 08:35:39 +01:00
|
|
|
* Thu Sep 11 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1qilnx
|
2024-01-06 08:28:52 +01:00
|
|
|
- first build
|