60 lines
1.7 KiB
RPMSpec
60 lines
1.7 KiB
RPMSpec
|
Name: pear-Date
|
||
|
Version: 1.4.7
|
||
|
Release: 2mamba
|
||
|
Summary: Provides php/pear classes to handle Date and Time
|
||
|
Group: Applications/Web
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
||
|
URL: http://pear.php.net
|
||
|
Source: http://pear.php.net/get/Date-%{version}.tgz
|
||
|
License: GPL
|
||
|
Requires: php >= 4.3.3
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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
|
||
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
mkdir -p %{buildroot}%{_libdir}
|
||
|
pushd %{buildroot}%{_libdir}
|
||
|
tar xzvf %{SOURCE0}
|
||
|
mv Date-%{version} php
|
||
|
rm package.xml
|
||
|
popd
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/php/Date/*
|
||
|
%{_libdir}/php/Date.php
|
||
|
%{_libdir}/php/docs/LICENSE
|
||
|
%{_libdir}/php/docs/TODO
|
||
|
%{_libdir}/php/tests/bugs/*.phpt
|
||
|
%{_libdir}/php/tests/*.php
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* 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
|
||
|
|
||
|
* Tue Sep 11 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1qilnx
|
||
|
- first build
|