52 lines
1.6 KiB
RPMSpec
52 lines
1.6 KiB
RPMSpec
Name: pear-Date
|
|
Version: 1.5.0a4
|
|
Release: 1mamba
|
|
Summary: Provides php/pear classes to handle Date and Time
|
|
Group: Applications/Web
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pear.php.net/
|
|
Source: http://pear.php.net/get/Date-%{version}.tgz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
Requires: php >= 4.3.3
|
|
|
|
%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 -n Date-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
install -d -m0755 %{buildroot}%{_libdir}/php
|
|
cp -a Date %{buildroot}%{_libdir}/php/
|
|
|
|
%clean
|
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/php/Date
|
|
%{_libdir}/php/Date/*.php
|
|
%doc docs/LICENSE
|
|
|
|
%changelog
|
|
* Thu Nov 14 2024 Automatic Build System <autodist@openmamba.org> 1.5.0a4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Thu Sep 11 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1qilnx
|
|
- first build
|