packages: php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValid...
glen
glen at pld-linux.org
Tue Nov 16 09:09:46 CET 2010
Author: glen Date: Tue Nov 16 08:09:46 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.2.2
---- Files affected:
packages/php-pear-Services_W3C_CSSValidator:
php-pear-Services_W3C_CSSValidator.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValidator.spec
diff -u packages/php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValidator.spec:1.7 packages/php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValidator.spec:1.8
--- packages/php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValidator.spec:1.7 Sun Aug 22 10:51:31 2010
+++ packages/php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValidator.spec Tue Nov 16 09:09:41 2010
@@ -5,18 +5,19 @@
Summary: %{_pearname} - An Object Oriented Interface to the W3C CSS Validator service
Summary(pl.UTF-8): %{_pearname} - zorientowany obiektowo interfejs do usługi walidacji CSS
Name: php-pear-%{_pearname}
-Version: 0.1.0
-Release: 4
+Version: 0.2.2
+Release: 1
License: BSD
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 7d4caa54880de5b94808db8cba85f665
+# Source0-md5: 33f7687729294878c32963a8b8b4f079
URL: http://pear.php.net/package/Services_W3C_CSSValidator/
BuildRequires: php-pear-PEAR >= 1:1.5.4
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-pear
-Requires: php-pear-HTTP_Request >= 1.3.0
+Requires: php-pear-HTTP_Request2 >= 0.2.0
+Obsoletes: php-pear-Services_W3C_CSSValidator-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,43 +47,34 @@
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
+mv docs/Services_W3C_CSSValidator/docs/examples .
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+# tests should not be packaged
+%{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc install.log
-%doc docs/Services_W3C_CSSValidator/docs/examples
%{php_pear_dir}/.registry/*.reg
%dir %{php_pear_dir}/Services/W3C
%{php_pear_dir}/Services/W3C/CSSValidator
%{php_pear_dir}/Services/W3C/CSSValidator.php
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/Services_W3C_CSSValidator
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -90,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2010/11/16 08:09:41 glen
+- up to 0.2.2
+
Revision 1.7 2010/08/22 08:51:31 glen
- ensure rpmbuild macros present
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Services_W3C_CSSValidator/php-pear-Services_W3C_CSSValidator.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list