]>
Commit | Line | Data |
---|---|---|
2c9a5155 PG |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Date | |
6528a3a9 | 3 | %define _status stable |
2c9a5155 | 4 | %define _pearname %{_class} |
115f40ce | 5 | |
7b63b6da | 6 | Summary: %{_pearname} - date and time zone classes |
7 | Summary(pl): %{_pearname} - klasy daty i stref czasowych | |
2c9a5155 | 8 | Name: php-pear-%{_pearname} |
69ae50d0 | 9 | Version: 1.4.7 |
c931c94a | 10 | Release: 2 |
fc26d272 | 11 | Epoch: 0 |
2c9a5155 PG |
12 | License: PHP 2.02 |
13 | Group: Development/Languages/PHP | |
6528a3a9 | 14 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz |
69ae50d0 | 15 | # Source0-md5: 6d34306e484d46c205002f8900ce6da3 |
2ba7a10f | 16 | Patch0: %{name}-tz-baltic-hasdst.patch |
f68fdcaf | 17 | URL: http://pear.php.net/package/Date/ |
3efc2bd1 | 18 | BuildRequires: php-pear-PEAR |
773b38bf | 19 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
ffb78082 | 20 | BuildRequires: rpmbuild(macros) >= 1.300 |
68422013 | 21 | Requires: php-common >= 3:4.2 |
4bfb4a0c | 22 | Requires: php-pear |
2c9a5155 PG |
23 | BuildArch: noarch |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | Generic classes for representation and manipulation of dates, times | |
9743a4b8 | 28 | and time zones without the need of timestamps, which is a huge |
c21f339f | 29 | limitation for PHP programs. Includes time zone data, time zone |
9743a4b8 PG |
30 | conversions and many date/time conversions. It does not rely on 32-bit |
31 | system date stamps, so you can display calendars and compare dates | |
32 | that date pre 1970 and post 2038. This package also provides a class | |
33 | to convert date strings between Gregorian and Human calendar formats. | |
2c9a5155 | 34 | |
7813326e | 35 | In PEAR status of this package is: %{_status}. |
3c35275e | 36 | |
2c9a5155 PG |
37 | %description -l pl |
38 | Podstawowe klasy do pokazywania i manipulowania datami, czasem i | |
9743a4b8 | 39 |