Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (41 sloc) 1.4 KB
# Define version and release number
%define version @PACKAGE_VERSION@
%define release 1
Name: php-zmq
Version: %{version}
Release: %{release}%{?dist}
Packager: Mikko Koppanen <>
Summary: PHP 0MQ extension
License: BSD License
Group: Web/Applications
Source: zmq-%{version}.tgz
Prefix: %{_prefix}
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: php-devel, make, gcc, /usr/bin/phpize, zeromq-devel >= 2.0.7
Requires: zeromq >= 2.0.7
PHP extension for 0MQ messaging system
%setup -q -n zmq-%{version}
/usr/bin/phpize && %configure && %{__make} %{?_smp_mflags}
# Clean the buildroot so that it does not contain any stuff from previous builds
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
# Install the extension
%{__make} install INSTALL_ROOT=%{buildroot}
# Create the ini location
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/php.d
# Preliminary extension ini
echo "" > %{buildroot}/%{_sysconfdir}/php.d/zmq.ini
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
* Wed Jun 15 2011 Rick Moran <>
- Minor Changes.
* Thu Apr 8 2010 Mikko Koppanen <>
- Initial spec file
Jump to Line
Something went wrong with that request. Please try again.