]>
Commit | Line | Data |
---|---|---|
c07e4ff9 | 1 | %include /usr/lib/rpm/macros.php |
9ef7b338 PG |
2 | %define _class FSM |
3 | %define _status stable | |
9ef7b338 PG |
4 | %define _pearname %{_class} |
5 | Summary: %{_pearname} - Finite State Machine | |
1a263521 | 6 | Summary(pl.UTF-8): %{_pearname} - automat skończony |
9ef7b338 | 7 | Name: php-pear-%{_pearname} |
b0b78aac | 8 | Version: 1.2.5 |
ee404362 | 9 | Release: 1 |
c7c10c6a | 10 | Epoch: 0 |
9ef7b338 PG |
11 | License: PHP 2.02 |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
b0b78aac | 14 | # Source0-md5: d7c42cdc96b07c743cdf51cbdd8b6fb2 |
0115e0ac | 15 | URL: http://pear.php.net/package/FSM/ |
8414345a | 16 | BuildRequires: php-pear-PEAR |
696144f4 | 17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
b048659a | 18 | BuildRequires: rpmbuild(macros) >= 1.300 |
9ef7b338 PG |
19 | Requires: php-pear |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | The FSM package provides a simple class that implements a Finite State | |
25 | Machine. | |
26 | ||
67644f75 | 27 | In PEAR status of this package is: %{_status}. |
9ef7b338 | 28 | |
901692e9 JR |
29 | %description -l pl.UTF-8 |
30 | Pakiet FSM dostarcza prostą klasę implementującą automat skończony | |
31 | (automat o skończonej liczbie stanów). | |
9ef7b338 | 32 | |
1ce5610a | 33 | Ta klasa ma w PEAR status: %{_status}. |
9ef7b338 | 34 | |
696144f4 ER |
35 | %package tests |
36 | Summary: Tests for PEAR::%{_pearname} | |
1a263521 | 37 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} |
c58c126d | 38 | Group: Development/Languages/PHP |
9e6ae4dd | 39 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8ea9d812 | 40 | AutoReq: no |
eb5d7377 | 41 | AutoProv: no |
696144f4 ER |
42 | |
43 | %description tests | |
44 | Tests for PEAR::%{_pearname}. | |
45 | ||
901692e9 | 46 | %description tests -l pl.UTF-8 |
696144f4 ER |
47 | Testy dla PEAR::%{_pearname}. |
48 | ||
9ef7b338 | 49 | %prep |
696144f4 | 50 | %pear_package_setup |
9ef7b338 PG |
51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
696144f4 ER |
54 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
55 | %pear_package_install | |
9ef7b338 PG |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
696144f4 ER |
62 | %doc install.log |
63 | %{php_pear_dir}/.registry/*.reg | |
9ef7b338 | 64 | %{php_pear_dir}/*.php |
696144f4 ER |
65 | |
66 | %files tests | |
67 | %defattr(644,root,root,755) | |
68 | %{php_pear_dir}/tests/* |