Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:13ilya:php73
php7-phalcon
php7-phalcon.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php7-phalcon.spec of Package php7-phalcon
# # spec file for package php7-phalcon # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define pkg_name phalcon %define php_name php7 %define php_extdir %(php-config --extension-dir) %define php_cfgdir %{_sysconfdir}/%{php_name}/conf.d %define arch_name %([[ %{_arch} == "i586" ]] && echo "32bits" || echo "64bits") Name: %{php_name}-%{pkg_name} Version: 3.4.5 Release: 0 Summary: PHP Extension Module License: BSD-3-Clause Group: Development/Libraries/PHP URL: https://github.com/phalcon/cphalcon/tree/3.4.x Source0: %{pkg_name}-%{version}.tar.xz BuildRequires: %{php_name}-ctype BuildRequires: %{php_name}-devel BuildRequires: %{php_name}-pdo BuildRequires: %{php_name}-psr Requires: %{php_name}-mysql %description Phalcon is a framework for PHP written as a C extension. Zephir is a high-level language, something between C and PHP. It is both dynamic and static typed and it supports the features we need to create and maintain a project like Phalcon. %prep %autosetup -p1 -n %{pkg_name}-%{version} %build cd build/%{php_name}/%{arch_name} phpize %configure %make_build PHP_EXECUTABLE=%{_bindir}/%{php_name} %check cd build/%{php_name}/%{arch_name} %make_build PHP_EXECUTABLE=%{_bindir}/%{php_name} NO_INTERACTION=1 test %install cd build/%{php_name}/%{arch_name} %make_build INSTALL_ROOT=%{buildroot} install-modules mkdir -p %{buildroot}%{php_cfgdir} cat >> %{buildroot}%{php_cfgdir}/%{pkg_name}.ini << EOF ; comment out next line to disable %{pkg_name} extension in php extension=%{pkg_name}.so EOF %files %license LICENSE.txt %doc BACKERS.md CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %config(noreplace) %{php_cfgdir}/%{pkg_name}.ini %{php_extdir}/%{pkg_name}.so %changelog
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