[packages/php-pear-Services_Hatena] - up to 0.1.5;

glen glen at pld-linux.org
Tue Aug 28 23:05:51 CEST 2012


commit e0630cf95f55177f5eb217d41d05f6f600774c02
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Aug 29 00:05:45 2012 +0300

    - up to 0.1.5;

 php-pear-Services_Hatena.spec | 33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/php-pear-Services_Hatena.spec b/php-pear-Services_Hatena.spec
index 7821d43..e9fc88d 100644
--- a/php-pear-Services_Hatena.spec
+++ b/php-pear-Services_Hatena.spec
@@ -1,19 +1,19 @@
+%define		status		alpha
+%define		pearname	Services_Hatena
 %include	/usr/lib/rpm/macros.php
-%define		_status		alpha
-%define		_pearname	Services_Hatena
-Summary:	%{_pearname} - WebServices for Hatena
-Summary(pl.UTF-8):	%{_pearname} - dostęp do usług sieciowych Hatena
-Name:		php-pear-%{_pearname}
-Version:	0.1.4
-Release:	3
+Summary:	%{pearname} - WebServices for Hatena
+Summary(pl.UTF-8):	%{pearname} - dostęp do usług sieciowych Hatena
+Name:		php-pear-%{pearname}
+Version:	0.1.5
+Release:	1
 License:	PHP
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	8eb6b3a1e2b3e558da88b56373cd1fc6
+Source0:	http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5:	9ffc08aff0041fcdd8a1a3e898680eca
 URL:		http://pear.php.net/package/Services_Hatena/
 BuildRequires:	php-pear-PEAR >= 1:1.4.0-0.b1
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.580
 Requires:	php-pear
 Requires:	php-pear-HTTP_Request >= 1.3.0
 Requires:	php-pear-PEAR-core >= 1:1.3.0
@@ -29,7 +29,7 @@ Interface to Hatena's XML-API.
 It provides objects to operate Hatena's Bookmark or Fotolife service,
 and get information from Hatena Web Site.
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Interfejs do XML-API Hatena.
@@ -37,22 +37,29 @@ Interfejs do XML-API Hatena.
 Umożliwia operacje na usługach Hatena's Bookmark lub Hatena's
 Fotolife, oraz pobieranie informacji ze stron Hatena.
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
 
+mv .%{php_pear_dir}/data/Services_Hatena/README .
+mv docs/%{pearname}/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}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc install.log docs/%{_pearname}/{docs,examples}
+%doc install.log README docs/%{pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/Services/Hatena
 %{php_pear_dir}/Services/Hatena.php
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Services_Hatena.git/commitdiff/e0630cf95f55177f5eb217d41d05f6f600774c02



More information about the pld-cvs-commit mailing list