]> git.pld-linux.org Git - packages/ZendStudio.git/blobdiff - ZendStudio.spec
- BR: rpm-pythonprov
[packages/ZendStudio.git] / ZendStudio.spec
index bae866df789043586b4091d19be1c5ae93b857f3..7069b64fe2dd54188c9a935a0a2a859b135d1b05 100644 (file)
@@ -1,41 +1,85 @@
-Summary:       ZendStudio - server management tools for PHP-based Web serwers
-Summary(pl):   ZendStudio - narzêdzia do zarz±dzania serwerami WWW opartymi o PHP
+# TODO
+# - sync -pl
+# - contains: eclipse, jre - maybe can use system pkgs
+Summary:       ZendStudio - The PHP IDE
+Summary(pl.UTF-8):     ZendStudio - narzędzia do zarządzania serwerami WWW opartymi o PHP
 Name:          ZendStudio
-Version:       5.2.0
+Version:       8.0.0
 Release:       0.1
 License:       Zend Studio License
 Group:         Applications
-Source0:       ZendStudio-5_2_0.tar.gz
-# NoSource0-md5:       88f75c1d0576d8f3ec11386471520058
+Source0:       http://downloads.zend.com/studio-eclipse/%{version}/%{name}-%{version}-x86.tar.gz
+# NoSource0-md5:       9b5b7946ffb9d99362a224f5605c8e6e
 NoSource:      0
-URL:           http://www.zend.com/products/zend_studio
-ExclusiveArch: %{ix86}
+Source1:       http://downloads.zend.com/studio-eclipse/%{version}/%{name}-%{version}-x86_64.tar.gz
+# NoSource1-md5:       b4bd2f7a7b351db59ebb218653a5cb76
+NoSource:      1
+URL:           http://www.zend.com/products/studio/
+BuildRequires: rpm-pythonprov
+ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _datadir        %{_prefix}/share/Zend
-%define                no_install_post_strip           1
-%define                no_install_post_chrpath         1
+%define                _appdir         %{_libdir}/%{name}
 
 %description
-Includes server management tools that manage PHP based Web servers.
-This module makes installation and integration seamless while
-simplifying PHP and remote debugging configurations and security
-maintenance.
+Zend Studio is our professional-grade PHP IDE (Integrated Development
+Environment). It has been designed to maximize developer productivity
+by enabling you to develop and maintain code faster, solve application
+problems quickly and improve team collaboration.
 
-%description -l pl
-Ten pakiet zawiera narzêdzia do zarz±dzania serwerami WWW opartymi o
-PHP. Modu³ pozwala na przezroczyst± instalacjê i integracjê,
-jednocze¶nie upraszczaj±c konfigurowanie PHP i zdaln± diagnostykê oraz
-utrzymywanie bezpieczeñstwa.
+%description -l pl.UTF-8
+Ten pakiet zawiera narzędzia do zarządzania serwerami WWW opartymi o
+PHP. Moduł pozwala na przezroczystą instalację i integrację,
+jednocześnie upraszczając konfigurowanie PHP i zdalną diagnostykę oraz
+utrzymywanie bezpieczeństwa.
 
 %prep
-%setup -qc
+%ifarch %{ix86}
+%setup -qcT -b 0
+%endif
+%ifarch %{x8664}
+%setup -qcT -b 1
+%endif
+mv %{name} .unp && mv .unp/* .unp/.eclipseproduct .
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+
+# test if we can hardlink -- %{_builddir} and $RPM_BUILD_ROOT on same partition
+if cp -al notice.html $RPM_BUILD_ROOT/notice.html 2>/dev/null; then
+       l=l
+       rm -f $RPM_BUILD_ROOT/notice.html
+fi
+
+cp -a$l . $RPM_BUILD_ROOT%{_appdir}
+
+rm -f $RPM_BUILD_ROOT%{_appdir}/debug*.list
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%dir %{_appdir}
+%attr(755,root,root) %{_appdir}/ZendStudio
+%attr(755,root,root) %{_appdir}/libcairo-swt.so
+
+%{_appdir}/.eclipseproduct
+%{_appdir}/docs
+%{_appdir}/readme
+%{_appdir}/about_files
+%{_appdir}/about.html
+%{_appdir}/epl-v10.html
+%{_appdir}/notice.html
+
+%{_appdir}/ZendStudio.ini
+%{_appdir}/icon.xpm
+%{_appdir}/configuration
+%{_appdir}/p2
+
+%{_appdir}/artifacts.xml
+%{_appdir}/features
+%{_appdir}/plugins
+
+%{_appdir}/jre
This page took 0.051521 seconds and 4 git commands to generate.