]>
Commit | Line | Data |
---|---|---|
5bcfa561 ER |
1 | %include /usr/lib/rpm/macros.php |
2 | %define _class Text | |
3 | %define _subclass Wiki_Cowiki | |
4 | %define _status alpha | |
5 | %define _pearname Text_Wiki_Cowiki | |
6 | Summary: %{_pearname} - Cowiki parser and renderer for Text_Wiki | |
923fd14e | 7 | Summary(pl.UTF-8): %{_pearname} - analizator i renderer coWiki dla Text_Wiki |
5bcfa561 ER |
8 | Name: php-pear-%{_pearname} |
9 | Version: 0.0.2 | |
10 | Release: 1 | |
11 | License: LGPL | |
12 | Group: Development/Languages/PHP | |
13 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
14 | # Source0-md5: 131713e1f47e5938adf541139189243f | |
15 | URL: http://pear.php.net/package/Text_Wiki_Cowiki/ | |
16 | BuildRequires: php-pear-PEAR | |
17 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
18 | Requires: php-pear | |
19 | Requires: php-pear-Text_Wiki >= 1.0.1 | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Note: coWiki has been offically discontinued. This package is being | |
25 | kept to allow conversion of coWiki syntax to other wiki markups. | |
26 | ||
27 | Parses coWiki mark-up to tokenize the text for Text_Wiki rendering | |
28 | and also renders for wiki conversion. | |
29 | ||
30 | See: <http://cowiki.org/> | |
31 | ||
32 | In PEAR status of this package is: %{_status}. | |
33 | ||
923fd14e JB |
34 | %description -l pl.UTF-8 |
35 | Uwaga: coWiki oficjalnie przestało być utrzymywane. Ten pakiet został | |
36 | zachowany w celu konwersji ze składni coWiki do znaczników innych | |
37 | wiki. | |
38 | ||
39 | Ta klasa analizuje znaczniki coWiki w celu utworzenia tokenów tekstu | |
40 | do renderowania Text_Wiki oraz konwersji wiki. | |
41 | ||
42 | Więcej pod adresem <http://cowiki.org/>. | |
43 | ||
44 | Ta klasa ma w PEAR status: %{_status}. | |
45 | ||
5bcfa561 ER |
46 | %prep |
47 | %pear_package_setup | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
52 | %pear_package_install | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc install.log | |
60 | %{php_pear_dir}/.registry/*.reg | |
61 | %{php_pear_dir}/Text/Wiki/Cowiki.php | |
62 | %{php_pear_dir}/Text/Wiki/Render/Cowiki.php | |
63 | %{php_pear_dir}/Text/Wiki/Parse/Cowiki | |
64 | %{php_pear_dir}/Text/Wiki/Render/Cowiki |