Репозиторий Sisyphus
Последнее обновление: 21 февраля 2018 | Пакетов: 18274 | Посещений: 11006429
en ru br
Репозитории ALT
S:1.3.7-alt1.5.6.33.20180104.alt1.S1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: php5-mongo

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define php5_extension mongo

Name: php5-mongo
Version: 1.3.7
Release: alt1.%php5_version.%php5_release

Summary: PHP MongoDB driver
License: Apache license
Group: System/Servers

Source0: %name-%version.tar
Source1: php-%php5_extension.ini
Source2: php-%php5_extension-params.sh

# Automatically added by buildreq on Wed Nov 22 2006

BuildRequires(pre): rpm-build-php5
BuildRequires: rpm-build-php5
BuildRequires: php5-devel = %php5_version
Prereq: php5-libs = %php5_version

%description
This package provides an interface for communicating with the MongoDB
database in PHP.

%prep
%setup

%build
%add_optflags -fPIC
phpize
%configure
%php5_make

%install
%php5_make_install
mkdir -p %buildroot/%_cachedir/%php5_extension
install -pDm644 %SOURCE1 %buildroot/%php5_extconf/%php5_extension/config
install -pDm644 %SOURCE2 %buildroot/%php5_extconf/%php5_extension/params

%files
%php5_extconf/%php5_extension
%php5_extdir/*
%_cachedir/%php5_extension
%doc php README.md
# doc/ belongs to examples subpackage, sample php code
#doc doc/

%post
%php5_extension_postin

%preun
%php5_extension_preun

# TODO:

# - conditional eloader/encoder build?
# - add/separate admin stuff (see also spec attached to #19996)

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin