Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mkubecek:private
php56
php56.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php56.spec of Package php56
# # spec file for package php56 # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: php56 Version: 5.6.40 Release: 0 Summary: PHP scripting language License: PHP-3.01 Group: Development/Languages/Other Url: http://www.php.net/ Source: php-%{version}.tar.xz Source2: php-%{version}.tar.xz.asc BuildRequires: autoconf BuildRequires: bison BuildRequires: freetype2-devel BuildRequires: gd-devel BuildRequires: httpd24-devel BuildRequires: libapr-util1-devel BuildRequires: libapr1-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libxml2-devel BuildRequires: xorg-x11-libXpm-devel BuildRequires: xz BuildRequires: zlib-devel %if 0%{?suse_version} < 1140 BuildRequires: libfbclient2-devel %else BuildRequires: pkgconfig(fbclient) %endif Requires: httpd24 Patch1: move-build-directory-under-datadir.patch Patch2: make-installation-compatible-with-Apache-packages.patch Patch3: ext-interbase-fix-include-and-lib-directories.patch Patch4: avoid-gcc-warnings-in-mbstring-extensions.patch %if 0%{?suse_version} < 1130 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif %description This package contains the PHP5 core files, including PHP binary (CLI) and PHP configuration (php.ini). This package must be installed in order to use PHP. Additionally, extension modules and server modules (e.g. for Apache) may be installed. %prep %setup -q -n php-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build EXTENSION_DIR=%{_libdir}/php/extensions export EXTENSION_DIR CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS ./buildconf --force %configure --with-libdir=`basename %{_libdir}` \ --sysconfdir=%{_sysconfdir}/php --datadir=%{_datadir}/php \ --with-config-file-path=%{_sysconfdir}/php \ --with-apxs2=%{_bindir}/apxs --with-pear=%{_datadir}/php/pear \ --with-interbase --without-mysql \ --with-gd --enable-gd-native-ttf --with-freetype-dir=%{_usr} \ --with-png-dir=%{_usr} --with-jpeg-dir=%{_usr} --with-xpm-dir=%{_usr} \ --with-zlib-dir=%{_usr} \ --enable-dom --enable-libxml --enable-xml --with-xmlrpc \ --enable-xmlreader --enable-xmlwriter \ --with-iconv --enable-sockets --enable-mbstring --enable-mbregex make %{?_smp_mflags} %install make install INSTALL_ROOT=%{buildroot} test -L %{buildroot}%{_bindir}/phar && ln -sf phar.phar %{buildroot}%{_bindir}/phar rm -rf %{buildroot}/{.channels,.registry,.depdb*,.filemap,.lock} mkdir -p %{buildroot}%{_sysconfdir}/php cp php.ini-production %{buildroot}%{_sysconfdir}/php/php.ini %files %defattr(-,root,root) %{_bindir}/* %{_libdir}/httpd/modules/* %dir %{_libdir}/php %dir %{_libdir}/php/extensions %{_libdir}/php/extensions/opcache.so %{_mandir}/man1/* %{_datadir}/php %exclude %{_datadir}/php/build %config(noreplace) %{_sysconfdir}/php # ---------------------------------------------------------------------------- %package devel Summary: PHP scripting language - development tools Group: Development/Languages/Other Requires: %{name} = %{version} %description devel Development tools for PHP scripting language. %files devel %defattr(-,root,root) %{_includedir}/php %{_datadir}/php/build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor