3 # - contains: eclipse, jre - maybe can use system pkgs
4 Summary: Zend Studio - The Leading PHP IDE
5 Summary(pl.UTF-8): ZendStudio - narzędzia do zarządzania serwerami WWW opartymi o PHP
9 License: Zend Studio License
11 Source0: http://downloads.zend.com/studio-eclipse/%{version}/%{name}-%{version}-linux.gtk.x86.tar.gz
12 # NoSource0-md5: d618f10c50d5077b1d6c72406d5a57d6
14 Source1: http://downloads.zend.com/studio-eclipse/%{version}/%{name}-%{version}-linux.gtk.x86_64.tar.gz
15 # NoSource1-md5: 3ca8d2aa435070d8405b290875dbd610
17 URL: http://www.zend.com/products/studio/
18 BuildRequires: rpm-pythonprov
19 ExclusiveArch: %{ix86} %{x8664}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _appdir %{_libdir}/%{name}
24 # no Provides for privately packaged libs
25 %define _noautoprov libpng12.so.0
26 %define _noautoreq %{_noautoprov}
28 # don't strip anything. strip crashes, and if it succeeds then ZS crashes
29 %define _noautostrip .*%{_appdir}/.*
31 # otherwise it builds this package two decades
32 %define _noautoprovfiles %{_appdir}/.*
35 Zend Studio is our professional-grade PHP IDE (Integrated Development
36 Environment). It has been designed to maximize developer productivity
37 by enabling you to develop and maintain code faster, solve application
38 problems quickly and improve team collaboration.
40 %description -l pl.UTF-8
41 Ten pakiet zawiera narzędzia do zarządzania serwerami WWW opartymi o
42 PHP. Moduł pozwala na przezroczystą instalację i integrację,
43 jednocześnie upraszczając konfigurowanie PHP i zdalną diagnostykę oraz
44 utrzymywanie bezpieczeństwa.
53 mv %{name} .unp && mv .unp/* .unp/.eclipseproduct . && rmdir .unp
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_appdir}
59 # test if we can hardlink -- %{_builddir} and $RPM_BUILD_ROOT on same partition
60 if cp -al notice.html $RPM_BUILD_ROOT/notice.html; then
62 rm -f $RPM_BUILD_ROOT/notice.html
65 cp -a$l . $RPM_BUILD_ROOT%{_appdir}
67 rm -f $RPM_BUILD_ROOT%{_appdir}/debug*.list
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_appdir}/ZendStudio
76 %attr(755,root,root) %{_appdir}/libcairo-swt.so
78 # use actual file permissions from source tarball. fix this later
79 %defattr(-,root,root,-)
81 %{_appdir}/.eclipseproduct
83 %{_appdir}/epl-v10.html
84 %{_appdir}/notice.html
86 %{_appdir}/ZendStudio.ini
88 %{_appdir}/configuration
91 %{_appdir}/artifacts.xml