diff --git a/README.md b/README.md index 77c5ed2..7303754 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,7 @@ # 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. +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. +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 index 4610d14..c1ed352 100644 --- a/pear-Date.spec +++ b/pear-Date.spec @@ -1,59 +1,51 @@ Name: pear-Date -Version: 1.4.7 -Release: 2mamba +Version: 1.5.0a4 +Release: 1mamba 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 +Packager: Silvan Calarco +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 -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. +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. +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}" +%setup -n Date-%{version} %build %install -mkdir -p %{buildroot}%{_libdir} -pushd %{buildroot}%{_libdir} -tar xzvf %{SOURCE0} -mv Date-%{version} php -rm package.xml -popd +install -d -m0755 %{buildroot}%{_libdir}/php +cp -a Date %{buildroot}%{_libdir}/php/ %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 - +%dir %{_libdir}/php/Date +%{_libdir}/php/Date/*.php +%doc docs/LICENSE %changelog +* Thu Nov 14 2024 Automatic Build System 1.5.0a4-1mamba +- automatic version update by autodist + * 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 +* Thu Sep 11 2003 Silvan Calarco 1.3-1qilnx - first build