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