php-pecl-http.spec
Andrzej Mateja
amateja at pimpek.one.pl
Thu Apr 23 18:12:57 CEST 2009
Poprawka według zastrzeżeń Patryka Zawadzkiego.
Pozdrawiam
Andrzej Mateja
amateja at pimpek.one.pl
-------------- next part --------------
Index: SPECS/php-pecl-http.spec
===================================================================
RCS file: /cvsroot/SPECS/php-pecl-http.spec,v
retrieving revision 1.38
diff -u -r1.38 php-pecl-http.spec
--- SPECS/php-pecl-http.spec 13 Feb 2009 23:14:11 -0000 1.38
+++ SPECS/php-pecl-http.spec 23 Apr 2009 14:03:00 -0000
@@ -1,16 +1,18 @@
# $Revision: 1.38 $, $Date: 2009/02/13 23:14:11 $
%define _modname http
%define _fmodname pecl_http
-%define _status stable
+%define _status beta
Summary: %{_modname} - extended HTTP support
Summary(pl.UTF-8): %{_modname} - rozszerzona obsługa protokołu HTTP
Name: php-pecl-%{_modname}
-Version: 1.6.3
-Release: 1
-License: BSD
+Version: 1.7.0
+%define _rc b1
+%define _rel 1
+Release: 0.%{_rc}.%{_rel}
+License: BSD, revised
Group: Development/Languages/PHP
-Source0: http://pecl.php.net/get/%{_fmodname}-%{version}.tgz
-# Source0-md5: 988d2c81147e10c97887bd481d5f8655
+Source0: http://pecl.php.net/get/%{_fmodname}-%{version}%{_rc}.tgz
+# Source0-md5: 11fb35073ea663f1daf582054d6f6716
URL: http://pecl.php.net/package/pecl_http/
BuildRequires: curl-devel >= 7.12.3
BuildRequires: openssl-devel
@@ -85,7 +87,7 @@
%setup -q -c
%build
-cd %{_fmodname}-%{version}
+cd %{_fmodname}-%{version}%{_rc}
phpize
%configure
%{__make}
@@ -94,7 +96,7 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
-install %{_fmodname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
+install %{_fmodname}-%{version}%{_rc}/modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
; Enable %{_modname} extension module
extension=%{_modname}.so
@@ -113,7 +115,7 @@
%files
%defattr(644,root,root,755)
-%doc %{_fmodname}-%{version}/{KnownIssues.txt,docs}
+%doc %{_fmodname}-%{version}%{_rc}/{KnownIssues.txt,docs}
%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
More information about the pld-devel-pl
mailing list