]> git.pld-linux.org Git - packages/ZendDebugger.git/blame - ZendDebugger.spec
- up to 20100729, php4 dropped (in pld)
[packages/ZendDebugger.git] / ZendDebugger.spec
CommitLineData
9212a2fd 1# NOTE
9212a2fd 2# - Can't find what Free Download means (http://www.zend.com/free_download/list)
d465c43d
ER
3# - dummy.php should be placed to document root
4
5# Unusable in PLD Linux as our PHP is compiled with ZTS, while this extension is not
6%define _zend_zts 0
7
8a8e4f08
JB
8Summary: The Zend Debug Server enabling remote debugging of PHP applications
9Summary(pl.UTF-8): Zend Debug Server pozwalający na zdalne śledzenie aplikacji PHP
9212a2fd 10Name: ZendDebugger
d465c43d
ER
11Version: 20100729
12Release: 0.1
9212a2fd
ER
13License: Free Download
14Group: Development/Languages/PHP
d465c43d
ER
15Source0: http://downloads.zend.com/studio_debugger/20100729/%{name}-%{version}-linux-glibc23-i386.tar.gz
16# NoSource0-md5: 6112762c697af055d65e77f4b5705c17
9212a2fd 17NoSource: 0
d465c43d
ER
18Source1: http://downloads.zend.com/studio_debugger/20100729/%{name}-%{version}-linux-glibc23-x86_64.tar.gz
19# NoSource1-md5: 5423c72de2e4715663186ea5c6cc0ab0
9212a2fd
ER
20NoSource: 1
21URL: http://www.zend.com/store/software/zend_studio
d465c43d
ER
22BuildRequires: php-devel
23BuildRequires: rpmbuild(macros) >= 1.553
9212a2fd 24BuildRequires: tar >= 1:1.15.1
d465c43d
ER
25Obsoletes: php-ZendDebugger
26Obsoletes: php4-ZendDebugger
27Conflicts: ZendStudioServer <= 5.2.0
28%{?requires_php_extension}
9212a2fd
ER
29ExclusiveArch: %{ix86} %{x8664}
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
d465c43d
ER
32# No debuginfo to be stored
33%define _enable_debug_packages 0
9212a2fd
ER
34
35%description
36The Zend Debug Server enables remote debugging of PHP applications. It
37plugs into a PHP server and allows the Zend Development Environment to
38control the execution of PHP applications on the server.
39
40The Debug Server is designed be deployed safely on production servers.
41It does not affect server performance and features access-list based
42security for protecting the server from unauthorized access.
43
8a8e4f08
JB
44%description -l pl.UTF-8
45Zend Debug Server pozwala na zdalne śledzenie aplikacji PHP. Podłącza
46się do serwera PHP i pozwala środowisku Zend Development Environment
47sterować wykonywaniem aplikacji PHP na serwerze.
48
49Debug server jest zaprojektowany z myślą o bezpiecznym wdrożeniu na
50serwerach produkcyjnych. Nie wpływa na wydajność serwera i cechuje się
51bezpieczeństwem opartym na listach dostępu.
52
9212a2fd
ER
53%prep
54%setup -qcT
55%ifarch %{x8664}
d465c43d 56%{__tar} --strip-components=1 -xzf %{SOURCE1}
9212a2fd 57%else
d465c43d 58%{__tar} --strip-components=1 -xzf %{SOURCE0}
9212a2fd
ER
59%endif
60
d465c43d
ER
61%undos dummy.php README
62
9212a2fd
ER
63cat > zend.ini <<EOF
64[Zend]
65zend_debugger.allow_hosts=127.0.0.1
66zend_debugger.expose_remotely=always
67EOF
68
d465c43d 69cat <<'EOF' > pack.ini
9212a2fd
ER
70; %{name} package settings. Overwritten with each upgrade.
71; if you need to add options, edit %{name}.ini instead
72[Zend]
d465c43d 73zend_extension=%{php_extensiondir}/ZendDebugger.so
9212a2fd
ER
74EOF
75
76%install
77rm -rf $RPM_BUILD_ROOT
d465c43d
ER
78install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
79install -p %{php_major_version}_%{php_minor_version}_x_comp/ZendDebugger.so $RPM_BUILD_ROOT%{php_extensiondir}
80cp -a zend.ini $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{name}.ini
81cp -a pack.ini $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{name}_pack.ini
9212a2fd
ER
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
d465c43d
ER
86%post
87%php_webserver_restart
9212a2fd 88
d465c43d 89%postun
9212a2fd
ER
90if [ "$1" = "0" ]; then
91 %php_webserver_restart
92fi
93
d465c43d 94%files
9212a2fd 95%defattr(644,root,root,755)
d465c43d
ER
96%doc README dummy.php
97%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{name}.ini
98%config %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{name}_pack.ini
99%attr(755,root,root) %{php_extensiondir}/ZendDebugger.so
This page took 0.073188 seconds and 4 git commands to generate.