X-Git-Url: https://git.pld-linux.org/?p=packages%2Fphp-pear-HTML_Common.git;a=blobdiff_plain;f=php-pear-HTML_Common.spec;h=cbab009ca322b5bc75bf9eb4a40a4a60eadd88ce;hp=50d9718e2f7ba8930c010f91ef3c14a5c58f0752;hb=HEAD;hpb=34e552d7d6bc3c03717fa757caf006642337547d diff --git a/php-pear-HTML_Common.spec b/php-pear-HTML_Common.spec index 50d9718..cbab009 100644 --- a/php-pear-HTML_Common.spec +++ b/php-pear-HTML_Common.spec @@ -1,49 +1,56 @@ -%include /usr/lib/rpm/macros.php %define _class HTML %define _subclass Common +%define _status stable %define _pearname %{_class}_%{_subclass} -Summary: %{_class}_%{_subclass} - PEAR::HTML_Common is a base class for other HTML classes -Summary(pl): %{_class}_%{_subclass} - PEAR::HTML_Common jest podstawow± klas± dla innych klas HTML + +Summary: %{_pearname} - PEAR::HTML_Common is a base class for other HTML classes +Summary(pl.UTF-8): %{_pearname} - PEAR::HTML_Common jest podstawową klasą dla innych klas HTML Name: php-pear-%{_pearname} -Version: 1.0 -Release: 1 +Version: 1.2.5 +Release: 2 License: PHP 2.02 Group: Development/Languages/PHP Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz -BuildRequires: rpm-php-pearprov -URL: http://pear.php.net/ +# Source0-md5: e69765be9d5b5932273fe8b213d8c3c0 +URL: http://pear.php.net/package/HTML_Common/ +BuildRequires: php-pear-PEAR +BuildRequires: rpm-php-pearprov >= 4.4.2-11 +BuildRequires: rpmbuild(macros) >= 1.300 +Requires: php-pear BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -The PEAR::HTML_Common package provides methods for html code display -and attributes handling. -- Methods to set, remove, update html attributes. +The PEAR::HTML_Common package provides methods for HTML code display +and attributes handling: +- Methods to set, remove, update HTML attributes. - Handles comments in HTML code. - Handles layout and tabs for nicer HTML code. -%description -l pl -Klasa PEAR::HTML_Common dostarcza metody do wy¶wietlania kodu html -oraz obs³ugê atrybutów. -- metody do ustawiania, usuwania, aktualizacji atrybutów html. -- manipulacje komentarzami w kodzie HTML. -- manipulacje wygl±dem oraz tabsami dla ³adniejszego wygl±du kodu HTML. +In PEAR status of this package is: %{_status}. + +%description -l pl.UTF-8 +Klasa PEAR::HTML_Common dostarcza metody do wyświetlania kodu HTML +oraz obsługę atrybutów. +- Zawiera metody do ustawiania, usuwania, aktualizacji atrybutów HTML. +- Obsługuje komentarze w kodzie HTML. +- Obsługuje ułożenie i tabulacje dla ładniejszego wyglądu kodu HTML. + +Ta klasa ma w PEAR status: %{_status}. %prep -%setup -q -c +%pear_package_setup %install rm -rf $RPM_BUILD_ROOT -cd %{_pearname}-%{version} - -install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class} - -install *.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/ +install -d $RPM_BUILD_ROOT%{php_pear_dir} +%pear_package_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%dir %{php_pear_dir}/%{_class} +%doc install.log +%{php_pear_dir}/.registry/*.reg %{php_pear_dir}/%{_class}/*.php