packages: php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec - fix pack...
glen
glen at pld-linux.org
Thu Aug 19 20:31:38 CEST 2010
Author: glen Date: Thu Aug 19 18:31:38 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fix packaging; suggests tidy ext; rel 2
---- Files affected:
packages/php-pear-XML_Feed_Parser:
php-pear-XML_Feed_Parser.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: packages/php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec
diff -u packages/php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec:1.18 packages/php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec:1.19
--- packages/php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec:1.18 Sat Dec 27 02:03:42 2008
+++ packages/php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec Thu Aug 19 20:31:32 2010
@@ -4,13 +4,11 @@
%define _subclass Feed_Parser
%define _status stable
%define _pearname XML_Feed_Parser
-
Summary: %{_pearname} - unified API for handling RSS and ATOM feeds
Summary(pl.UTF-8): %{_pearname} - zunifikowane API do obsługi źródeł RSS i ATOM
Name: php-pear-%{_pearname}
Version: 1.0.3
-Release: 1
-Epoch: 0
+Release: 2
License: PHP License
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -20,8 +18,9 @@
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php(xml)
-Requires: php-pear
Requires: php-common >= 4:5.0
+Requires: php-pear
+Suggests: php-tidy
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,9 +46,9 @@
Summary: Tests for PEAR::%{_pearname}
Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
Group: Development/Languages/PHP
-Requires: %{name} = %{epoch}:%{version}-%{release}
-AutoReq: no
+Requires: %{name} = %{version}-%{release}
AutoProv: no
+AutoReq: no
%description tests
Tests for PEAR::%{_pearname}.
@@ -63,27 +62,27 @@
mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
+mv .%{php_pear_dir}/data/XML_Feed_Parser/samples examples
+
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
%pear_package_install
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
- cat %{_docdir}/%{name}-%{version}/optional-packages.txt
-fi
-
%files
%defattr(644,root,root,755)
%doc install.log
-%doc optional-packages.txt
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/XML/Feed
%{php_pear_dir}/data/XML_Feed_Parser
+%{_examplesdir}/%{name}-%{version}
+
%files tests
%defattr(644,root,root,755)
%{php_pear_dir}/tests/XML_Feed_Parser
@@ -94,6 +93,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2010/08/19 18:31:32 glen
+- fix packaging; suggests tidy ext; rel 2
+
Revision 1.18 2008/12/27 01:03:42 adamg
- updated to 1.0.3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-XML_Feed_Parser/php-pear-XML_Feed_Parser.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list