packages: php-pear-Net_NNTP/php-pear-Net_NNTP.spec - up to 1.5.0a1
glen
glen at pld-linux.org
Thu Aug 19 16:07:14 CEST 2010
Author: glen Date: Thu Aug 19 14:07:14 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.5.0a1
---- Files affected:
packages/php-pear-Net_NNTP:
php-pear-Net_NNTP.spec (1.33 -> 1.34)
---- Diffs:
================================================================
Index: packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec
diff -u packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec:1.33 packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec:1.34
--- packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec:1.33 Thu Jun 19 14:48:37 2008
+++ packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec Thu Aug 19 16:07:09 2010
@@ -3,26 +3,31 @@
%define _class Net
%define _subclass NNTP
%define _pearname %{_class}_%{_subclass}
-%define _status stable
-
+%define _status alpha
+%define subver a1
+%define rel 1
Summary: %{_pearname} - communicate with an NNTP server
Summary(pl.UTF-8): %{_pearname} - komunikacja z serwerem NNTP
Name: php-pear-%{_pearname}
-Version: 1.4.0
-Release: 1
+Version: 1.5.0
+Release: 0.%{subver}.%{rel}
License: W3C / PHP 2.0
Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: dae6d336c87668e311f6d1e5603e9207
+Source0: http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5: 491f1926dd8d9189b771d895642bf8c3
URL: http://pear.php.net/package/Net_NNTP/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-pear
Requires: php-pear-Net_Socket >= 1.0.3
+Requires: php-pear-PEAR-core >= 1:1.4.5
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# exclude optional dependencies
+%define _noautoreq pear(Log.*)
+
%description
Complete class for communicating with an NNTP server (this is: the
USENET), including: post, view, list, authentication, overview, header
@@ -40,18 +45,26 @@
%prep
%pear_package_setup
+mv docs/%{_pearname}/docs/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 docs/%{_pearname}/docs/*
+%doc install.log optional-packages.txt
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/%{_class}/%{_subclass}
@@ -61,6 +74,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.34 2010/08/19 14:07:09 glen
+- up to 1.5.0a1
+
Revision 1.33 2008/06/19 12:48:37 adamg
- updated to 1.4.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec?r1=1.33&r2=1.34&f=u
More information about the pld-cvs-commit
mailing list