]> git.pld-linux.org Git - packages/ZendStudioServer.git/blobdiff - ZendStudioServer.spec
- drop no_install_post_strip (not reasoned)
[packages/ZendStudioServer.git] / ZendStudioServer.spec
index 53e6a34fac8abca462d8cfd39bc5ac87328117f5..be11cf3b2be28670a352eafe70aa72bfcf1e5906 100644 (file)
@@ -1,17 +1,19 @@
 Summary:       ZendStudioServer - server management tools for PHP based Web servers
-Summary(pl):   ZendStudioServer - narzêdzia zarz±dzaj±ce dla serwerów WWW opartych na PHP
+Summary(pl.UTF-8):     ZendStudioServer - narzędzia zarządzające dla serwerów WWW opartych na PHP
 Name:          ZendStudioServer
-Version:       5.0.0
-Release:       0.3
+Version:       5.1.0a
+Release:       0.1
 Epoch:         0
 License:       Zend Studio License
 Group:         Applications
-Source0:       http://downloads.zend.com/studio/5.0.0/%{name}-%{version}-linux-glibc21-i386.tar.gz
-# NoSource0-md5:       c55d9bbde4ec1eceba1b6a06e6ead9c3
+Source0:       http://downloads.zend.com/studio/5.1.0/%{name}-%{version}-linux-glibc21-i386.tar.gz
+# NoSource0-md5:       99672eec3502fb0aa6d779cc66333772
 NoSource:      0
-Source1:       http://downloads.zend.com/studio/5.0.0/%{name}-%{version}-linux-glibc23-x86_64.tar.gz
-# NoSource1-md5:       dbb459de43cf1492404b140b9f33e0a4
+Source1:       http://downloads.zend.com/studio/5.1.0/%{name}-%{version}-linux-glibc23-x86_64.tar.gz
+# NoSource1-md5:       a7ddb3b964fe0c1746b0f7b8a5093423
 NoSource:      1
+URL:           http://downloads.zend.com/studio/5.1.0/
+BuildRequires: rpmbuild(macros) >= 1.344
 BuildRequires: tar >= 1:1.15.1
 # circular dependency, so ones upgraded are forced to choose php and
 # ones that want to install specific for specific version need not to
@@ -21,8 +23,6 @@ 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
 
 %description
 Includes server management tools that manage PHP based Web servers.
@@ -30,15 +30,15 @@ This module makes installation and integration seamless while
 simplifying PHP and remote debugging configurations and security
 maintenance.
 
-%description -l pl
-Ten pakiet zawiera narzêdzia zarz±dzaj±ce serwerem dla serwerów WWW
-opartych na PHP. Ten modu³ pozwala na przezroczyst± instalacjê i
-integracjê jednocze¶nie upraszczaj±c konfiguracje PHP ze zdaln±
-diagnostyk± oraz zarz±dzanie bezpieczeñstwem.
+%description -l pl.UTF-8
+Ten pakiet zawiera narzędzia zarządzające serwerem dla serwerów WWW
+opartych na PHP. Ten moduł pozwala na przezroczystą instalację i
+integrację jednocześnie upraszczając konfiguracje PHP ze zdalną
+diagnostyką oraz zarządzanie bezpieczeństwem.
 
 %package -n php4-%{name}
 Summary:       ZendStudioServer for PHP 4.x
-Summary(pl):   ZendStudioServer dla PHP 4.x
+Summary(pl.UTF-8):     ZendStudioServer dla PHP 4.x
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      php4-ZendOptimizer
@@ -47,12 +47,12 @@ Provides:   %{name}(php) = %{version}-%{release}
 %description -n php4-%{name}
 ZendStudioServer for PHP 4.x.
 
-%description -n php4-%{name} -l pl
+%description -n php4-%{name} -l pl.UTF-8
 ZendStudioServer dla PHP 4.x.
 
 %package -n php-%{name}
 Summary:       ZendStudioServer for PHP 5.x
-Summary(pl):   ZendStudioServer dla PHP 5.x
+Summary(pl.UTF-8):     ZendStudioServer dla PHP 5.x
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      php-ZendOptimizer
@@ -61,7 +61,7 @@ Provides:     %{name}(php) = %{version}-%{release}
 %description -n php-%{name}
 ZendStudioServer for PHP 5.x.
 
-%description -n php-%{name} -l pl
+%description -n php-%{name} -l pl.UTF-8
 ZendStudioServer dla PHP 5.x.
 
 %prep
@@ -126,28 +126,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %preun -n php4-%{name}
 if [ "$1" = "0" ]; then
-       [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
-       [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
+       %php4_webserver_restart
 fi
 
 %post -n php4-%{name}
-[ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
-[ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
-
+%php4_webserver_restart
 
 %preun -n php-%{name}
 if [ "$1" = "0" ]; then
-       [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
-       [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
+       %php_webserver_restart
 fi
 
 %post -n php-%{name}
-[ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
-[ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
+%php_webserver_restart
 
 %files
 %defattr(644,root,root,755)
-%doc README LICENSE LICENSE-PHP
+%doc README* LICENSE LICENSE-PHP
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
 
This page took 0.04554 seconds and 4 git commands to generate.