diff --git a/README.md b/README.md index 3836015..77c5ed2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # pear-Date +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. + diff --git a/pear-Date.spec b/pear-Date.spec new file mode 100644 index 0000000..4610d14 --- /dev/null +++ b/pear-Date.spec @@ -0,0 +1,59 @@ +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 +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 1.4.7-2mamba +- automatic rebuild by autodist + +* Sat Jun 09 2007 Tiziana Ferro 1.4.7-1mamba +- update to 1.4.7 + +* Tue Sep 11 2003 Silvan Calarco 1.3-1qilnx +- first build