rpms/php-pecl-xdebug/devel php-pecl-xdebug.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Christopher Stone (xulchris) fedora-extras-commits at redhat.com
Wed Sep 6 19:40:25 UTC 2006


Author: xulchris

Update of /cvs/extras/rpms/php-pecl-xdebug/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21093/devel

Modified Files:
	.cvsignore sources 
Added Files:
	php-pecl-xdebug.spec 
Log Message:
auto-import php-pecl-xdebug-2.0.0-0.1.beta6 on branch devel from php-pecl-xdebug-2.0.0-0.1.beta6.src.rpm


--- NEW FILE php-pecl-xdebug.spec ---
%global php_apiver  %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
%global php_extdir  %(php-config --extension-dir 2>/dev/null || echo "undefined")
%define beta beta6

Name:           php-pecl-xdebug
Version:        2.0.0
Release:        0.1.%{beta}%{?dist}
Summary:        PECL package for debugging PHP scripts
License:        PHP License
Group:          Development/Languages
URL:            http://pecl.php.net/package/xdebug
Source0:        http://pecl.php.net/get/xdebug-%{version}%{beta}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  php-devel
Requires:       php-api = %{php_apiver}
Provides:       php-pecl(Xdebug) = %{version}-%{release}

%description
The Xdebug extension helps you debugging your script by providing a lot
of valuable debug information.

%prep
%setup -q -n xdebug-%{version}%{beta}

%build
phpize
%configure --enable-xdebug
make

%install
rm -rf %{buildroot}
make install INSTALL_ROOT=%{buildroot}
mkdir -p %{buildroot}%{_sysconfdir}/php.d
cat > %{buildroot}%{_sysconfdir}/php.d/xdebug.ini << 'EOF'
; Enable xdebug extension module
zend_extension=%{php_extdir}/xdebug.so
EOF

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changelog CREDITS LICENSE NEWS README
%config(noreplace) %{_sysconfdir}/php.d/xdebug.ini
%{php_extdir}/xdebug.so

%changelog
* Wed Sep 06 2006 Christopher Stone <chris.stone at gmail.com> 2.0.0-0.1.beta6
- Remove Provides php-xdebug
- Fix Release
- Remove prior changelog due to Release number change


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-xdebug/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Sep 2006 19:39:52 -0000	1.1
+++ .cvsignore	6 Sep 2006 19:40:25 -0000	1.2
@@ -0,0 +1 @@
+xdebug-2.0.0beta6.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-xdebug/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Sep 2006 19:39:52 -0000	1.1
+++ sources	6 Sep 2006 19:40:25 -0000	1.2
@@ -0,0 +1 @@
+1ba82711d8f91c38c4b30a396cc2e72a  xdebug-2.0.0beta6.tgz




More information about the fedora-extras-commits mailing list