]> git.pld-linux.org Git - SPECS.git/blob - php-pear-Text_TeXHyphen.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / php-pear-Text_TeXHyphen.spec
1 %define         _class          Text
2 %define         _subclass       TeXHyphen
3 %define         _status         alpha
4 %define         _pearname       %{_class}_%{_subclass}
5
6 Summary:        %{_pearname} - automated word hyphenation with the TeX algorithm
7 Summary(pl.UTF-8):      %{_pearname} - automatyczne przenoszenie wyrazów przy użyciu algorytmu TeXa
8 Name:           php-pear-%{_pearname}
9 Version:        0.1.0
10 Release:        6
11 Epoch:          0
12 License:        PHP 2.02
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  2f3ab275d65cefd477cd0c9707842027
16 URL:            http://pear.php.net/package/Text_TeXHyphen/
17 BuildRequires:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.300
20 Requires:       php-pear
21 Obsoletes:      php-pear-Text_TeXHyphen-tests
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This package implements the TeX hyphenation algorithm based on
27 pattern.
28
29 The package can support various backends for pattern retrieval. At
30 this stage only flat files with TeX pattern were implemented. The
31 advantage of the TeX pattern is the available multi-language support.
32 Currently German, Oxford and American English are supported.
33
34 For speed purposes an interface for a cache of hyphenated words was
35 implemented.
36
37 In PEAR status of this package is: %{_status}.
38
39 %description -l pl.UTF-8
40 Ten pakiet jest implementacją przenoszenia wyrazów z TeXa w oparciu o
41 wzorce.
42
43 Pakiet może obsługiwać różne backendy do uzyskiwania wzorców. Na tym
44 etapie zaimplementowane są tylko płaskie pliki z wzorcami TeXowymi.
45 Zaletą wzorców TeXowych jest możliwość obsługi wielu języków.
46 Aktualnie obsługiwany jest język niemiecki oraz oksfordzki i
47 amerykański angielski.
48
49 W celu przyspieszenia działania został zaimplementowany interfejs do
50 buforowania złamanych wyrazów.
51
52 Ta klasa ma w PEAR status: %{_status}.
53
54 %prep
55 %pear_package_setup
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{php_pear_dir}
60 %pear_package_install
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc install.log
68 %doc docs/%{_pearname}/*
69 %{php_pear_dir}/.registry/*.reg
70 %{php_pear_dir}/%{_class}/*.php
71 %{php_pear_dir}/%{_class}/%{_subclass}
72
73 %{php_pear_dir}/data/%{_pearname}
This page took 0.174275 seconds and 3 git commands to generate.