]> git.pld-linux.org Git - packages/php-pear-HTML_Table.git/blobdiff - php-pear-HTML_Table.spec
- do not use macros in URL
[packages/php-pear-HTML_Table.git] / php-pear-HTML_Table.spec
index 8197cab1c64b62c4ac9dccea47e953be68abf25e..f117ed407b9c44dd40bae566eb652ad82a3906d9 100644 (file)
@@ -1,17 +1,21 @@
 %include       /usr/lib/rpm/macros.php
 %define                _class          HTML
 %define                _subclass       Table
+%define                _status         stable
+
 %define                _pearname       %{_class}_%{_subclass}
-Summary:       %{_class}_%{_subclass} - makes the design of HTML tables easy, flexible, reusable and efficient
-Summary(pl):   %{_class}_%{_subclass} - czyni tworzenie tabel HTML ³atwym, elastycznym, efektywnym
+Summary:       %{_pearname} - makes the design of HTML tables easy, flexible, reusable and efficient
+Summary(pl):   %{_pearname} - czyni tworzenie tabel HTML ³atwym, elastycznym, efektywnym
 Name:          php-pear-%{_pearname}
-Version:       1.0
+Version:       1.5
 Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
+# Source0-md5: 6b3d42c58fa94c5f735a8622882c46ec
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-URL:           http://pear.php.net/
-BuildRequires: rpm-php-pearprov
+URL:           http://pear.php.net/package/HTML_Table/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires:      php-pear
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,6 +29,8 @@ design of HTML tables.
 - PHP code is shorter, easier to read and to maintain.
 - Tables options can be reused.
 
+This class has in PEAR status: %{_status}.
+
 %description -l pl
 Klasa PEAR::HTML_Table dostarcza metody do ³atwego i efektywnego
 tworzenia tabel HTML.
@@ -35,16 +41,16 @@ tworzenia tabel HTML.
 - kod PHP jest krótszy, ³atwiejszy do czytania i konserwacji.
 - opcje tabel mog± byæ ponownie u¿ywane.
 
+Ta klasa ma w PEAR status: %{_status}.
+
 %prep
 %setup -q -c
 
 %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 %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.052309 seconds and 4 git commands to generate.