packages: php-pear-HTML_Common2/php-pear-HTML_Common2.spec - up to 2.0.0-st...
glen
glen at pld-linux.org
Tue Nov 16 15:45:02 CET 2010
Author: glen Date: Tue Nov 16 14:45:02 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 2.0.0-stable
---- Files affected:
packages/php-pear-HTML_Common2:
php-pear-HTML_Common2.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: packages/php-pear-HTML_Common2/php-pear-HTML_Common2.spec
diff -u packages/php-pear-HTML_Common2/php-pear-HTML_Common2.spec:1.20 packages/php-pear-HTML_Common2/php-pear-HTML_Common2.spec:1.21
--- packages/php-pear-HTML_Common2/php-pear-HTML_Common2.spec:1.20 Tue Aug 24 15:58:26 2010
+++ packages/php-pear-HTML_Common2/php-pear-HTML_Common2.spec Tue Nov 16 15:44:57 2010
@@ -1,26 +1,23 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.php
-%define _class HTML
-%define _subclass Common2
-%define _status beta
-%define _pearname %{_class}_%{_subclass}
-%define subver RC1
-%define rel 1
+%define _status stable
+%define _pearname HTML_Common2
Summary: %{_pearname} - abstract base class for HTML classes (PHP5 port of HTML_Common package)
Summary(pl.UTF-8): %{_pearname} - podstawowa klasa dla klas HTML (port pakietu HTML_Common dla PHP5)
Name: php-pear-%{_pearname}
Version: 2.0.0
-Release: 1.%{subver}.%{rel}
+Release: 2
License: PHP 2.02
Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
-# Source0-md5: 4b5c216ccc365471e0235eb8d69cecbc
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: cd4a6ed84ac10c10f747b772b13bbc62
URL: http://pear.php.net/package/HTML_Common2/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-common >= 3:5.0.0
Requires: php-pear >= 3:5.0.0
+Obsoletes: php-pear-HTML_Common2-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,20 +43,6 @@
Ta klasa ma w PEAR status: %{_status}.
-%package tests
-Summary: Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
-Group: Development/Languages/PHP
-Requires: %{name} = %{version}-%{release}
-AutoProv: no
-AutoReq: no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
%prep
%pear_package_setup
@@ -68,6 +51,9 @@
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+# tests should not be packaged
+%{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -75,11 +61,7 @@
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/HTML/*.php
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -87,6 +69,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2010/11/16 14:44:57 glen
+- up to 2.0.0-stable
+
Revision 1.20 2010/08/24 13:58:26 glen
- solve:
error: php-pear-HTML_QuickForm2-0.4.0-2: req php-pear-HTML_Common2 >= 2.0.0-0.beta1 not found
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-HTML_Common2/php-pear-HTML_Common2.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list