]>
Commit | Line | Data |
---|---|---|
d703307c | 1 | %define _status stable |
8e600250 | 2 | %define _pearname XML_Beautifier |
a7f1bd5a | 3 | Summary: %{_pearname} - class to format XML documents |
fae0d726 | 4 | Summary(pl.UTF-8): %{_pearname} - klasa do formatowania dokumentów XML |
c2204181 | 5 | Name: php-pear-%{_pearname} |
8e600250 | 6 | Version: 1.2.2 |
089dc0c7 | 7 | Release: 2 |
c32aaba8 | 8 | License: BSD |
c2204181 AG |
9 | Group: Development/Languages/PHP |
10 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
8e600250 | 11 | # Source0-md5: a5f57c749a09a1b598f0284c95f86e68 |
af4c25bc | 12 | URL: http://pear.php.net/package/XML_Beautifier/ |
8e600250 | 13 | BuildRequires: php-pear-PEAR >= 1:1.3.0 |
5a579dd5 | 14 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
e1bbb0f4 | 15 | BuildRequires: rpmbuild(macros) >= 1.300 |
089dc0c7 | 16 | Requires: php(core) >= 4.2.0 |
52b45607 ER |
17 | Requires: php-pear |
18 | Requires: php-pear-XML_Parser >= 1.0 | |
a92e91d4 | 19 | Requires: php-pear-XML_Util >= 0.5 |
c2204181 AG |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | XML_Beautifier will add indentation and linebreaks to you XML files, | |
25 | replace all entities, format your comments and makes your document | |
26 | easier to read. You can influence the way your document is beautified | |
52b45607 | 27 | with several options. |
c2204181 | 28 | |
119fcad0 | 29 | In PEAR status of this package is: %{_status}. |
c2204181 | 30 | |
f6b68d97 JR |
31 | %description -l pl.UTF-8 |
32 | XML_Beautifier dodaje wcięcia i znaki końca linii do plików XML, | |
33 | zastępuje wszelkie encje, przeformatowuje komentarze i sprawia, że | |
34 | dokument jest łatwiejszy do czytania. Za pomocą wielu opcji można | |
35 | wpłynąć na sposób, w jaki dokument będzie upiększony. | |
c2204181 AG |
36 | |
37 | Ta klasa ma w PEAR status: %{_status}. | |
38 | ||
39 | %prep | |
fa7adce7 | 40 | %pear_package_setup |
c2204181 AG |
41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
fa7adce7 ER |
44 | install -d $RPM_BUILD_ROOT%{php_pear_dir} |
45 | %pear_package_install | |
d703307c | 46 | |
c2204181 AG |
47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
fa7adce7 ER |
52 | %doc install.log |
53 | %{php_pear_dir}/.registry/*.reg | |
8e600250 ER |
54 | %{php_pear_dir}/XML/Beautifier.php |
55 | %{php_pear_dir}/XML/Beautifier |