packages: php-pear-Net_NNTP/php-pear-Net_NNTP.spec - up to 1.5.0RC1

glen glen at pld-linux.org
Thu Sep 15 21:52:56 CEST 2011


Author: glen                         Date: Thu Sep 15 19:52:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.5.0RC1

---- Files affected:
packages/php-pear-Net_NNTP:
   php-pear-Net_NNTP.spec (1.35 -> 1.36) 

---- 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.35 packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec:1.36
--- packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec:1.35	Sat Aug 21 21:08:14 2010
+++ packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec	Thu Sep 15 21:52:51 2011
@@ -1,24 +1,22 @@
 # $Revision$, $Date$
+%define		subver	RC1
+%define		rel		1
+%define		status		alpha
+%define		pearname	Net_NNTP
 %include	/usr/lib/rpm/macros.php
-%define		_class		Net
-%define		_subclass	NNTP
-%define		_pearname	%{_class}_%{_subclass}
-%define		_status		alpha
-%define		subver	a1
-%define		rel		2
-Summary:	%{_pearname} - communicate with an NNTP server
-Summary(pl.UTF-8):	%{_pearname} - komunikacja z serwerem NNTP
-Name:		php-pear-%{_pearname}
+Summary:	%{pearname} - communicate with an NNTP server
+Summary(pl.UTF-8):	%{pearname} - komunikacja z serwerem NNTP
+Name:		php-pear-%{pearname}
 Version:	1.5.0
-Release:	0.%{subver}.%{rel}
+Release:	1.%{subver}.%{rel}
 License:	W3C / PHP 2.0
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
-# Source0-md5:	491f1926dd8d9189b771d895642bf8c3
+Source0:	http://pear.php.net/get/%{pearname}-%{version}%{subver}.tgz
+# Source0-md5:	fd4468901ce5325146944f71ea92ac70
 URL:		http://pear.php.net/package/Net_NNTP/
 BuildRequires:	php-pear-PEAR >= 1:1.4.5
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.580
 Requires:	php-pear
 Requires:	php-pear-Net_Socket >= 1.0.3
 Requires:	php-pear-PEAR-core >= 1:1.4.0
@@ -34,19 +32,19 @@
 USENET), including: post, view, list, authentication, overview, header
 manipulation, NNTP commands debugger, etc.
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Kompletna klasa umożliwiająca komunikację z serwerem NNTP (USENET),
 zawierająca: wysyłanie, przeglądanie, listowanie, uwierzytelnianie,
 przegląd, manipulację nagłówkami, debugger komend NNTP, etc.
 
-Ta klasa ma w PEAR status %{_status}.
+Ta klasa ma w PEAR status %{status}.
 
 %prep
 %pear_package_setup
 
-mv docs/%{_pearname}/docs/examples .
+mv docs/%{pearname}/docs/examples .
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,16 +56,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
-	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
-fi
+%post -p <lua>
+%pear_package_print_optionalpackages
 
 %files
 %defattr(644,root,root,755)
 %doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Net/NNTP
+
+%{_examplesdir}/%{name}-%{version}
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2011/09/15 19:52:51  glen
+- up to 1.5.0RC1
+
 Revision 1.35  2010/08/21 19:08:14  glen
 - updated deps with pearize.sh
 - release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Net_NNTP/php-pear-Net_NNTP.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list