[php-zmq] Initial commit (#831491)

Ralph Bean ralph at fedoraproject.org
Fri Jun 15 17:34:47 UTC 2012


commit e16f61a2b6113b1ad6b942585c29fa1d71a449e7
Author: Ralph Bean <rbean at redhat.com>
Date:   Fri Jun 15 13:34:00 2012 -0400

    Initial commit (#831491)

 .gitignore   |    1 +
 php-zmq.spec |   80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..16f43ae 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/php-zmq-0.6.0-2.20120613git516bd6f.tar.gz
diff --git a/php-zmq.spec b/php-zmq.spec
new file mode 100644
index 0000000..e58d1a4
--- /dev/null
+++ b/php-zmq.spec
@@ -0,0 +1,80 @@
+# Define version and release number
+%global version 0.6.0
+
+# Temporarily using git checkout since the release version won't build anymore.
+%global release 4.20120613git516bd6f
+
+Name:          php-zmq
+Version:       %{version}
+Release:       %{release}%{?dist}
+Summary:       PHP 0MQ/zmq/zeromq extension
+# run-tests.php is PHP.  Everything else is BSD
+License:       BSD and PHP
+Group:         Development/Libraries
+URL:           http://github.com/mkoppanen/php-zmq
+Source:        php-zmq-0.6.0-2.20120613git516bd6f.tar.gz
+
+BuildRequires: php-devel
+BuildRequires: php-cli
+BuildRequires: zeromq-devel >= 2.0.7
+
+Requires:      zeromq >= 2.0.7
+
+%filter_from_provides /^zmq.so/d
+%filter_setup
+
+%description
+PHP extension for the 0MQ/zmq/zeromq messaging system
+
+%prep
+%setup -q -n php-zmq
+
+%build
+/usr/bin/phpize
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__make} install INSTALL_ROOT=%{buildroot}
+
+# Create the ini location
+%{__mkdir} -p %{buildroot}/%{_sysconfdir}/php.d
+
+# Preliminary extension ini
+echo "extension=zmq.so" > %{buildroot}/%{_sysconfdir}/php.d/zmq.ini
+
+%check
+echo "n" | make test
+
+%files
+%doc README LICENSE
+%{_libdir}/php/modules/zmq.so
+%config(noreplace) %{_sysconfdir}/php.d/zmq.ini
+
+%changelog
+* Thu Jun 14 2012 Ralph Bean <rbean at redhat.com> - 0.6.0-4.20120613git516bd6f
+ - Fixed the private-shared-object-provides for reals with John Ciesla's help.
+* Wed Jun 13 2012 Ralph Bean <rbean at redhat.com> - 0.6.0-3.20120613git516bd6f
+ - Updated License to BSD and PHP.
+ - Removed spurious gcc BuildRequires.
+ - Fixed private-shared-object-provides.
+* Wed Jun 13 2012 Ralph Bean <rbean at redhat.com> - 0.6.0-2.20120613git516bd6f
+ - Using tarball of git checkout since the 0.6.0 release won't build anymore.
+ - Using valid shortname for BSD license.
+ - Added README and LICENSE to the doc
+ - Use %%global instead of %%define.
+ - Changed 0MQ to 0MQ/zmq/zeromq in Summary and Description to help with
+   search.
+ - Fully qualified Source URL.
+ - Updated to modern BuildRequires.
+ - Separated %%build out into %%build and %%install.
+ - Removed unnecessary references to buildroot.
+ - Removed unnecessary %%defattr.
+ - Changed Group from Web/Applications to Development/Libraries.
+ - Removed hardcoded Packager tag.
+ - Added %%check section.
+ - Marked /etc/php.d/zmq.ini as a config file.
+* Wed Jun 15 2011 Rick Moran <moran at morangroup.org>
+ - Minor Changes.
+* Thu Apr 8 2010 Mikko Koppanen <mkoppanen at php.net>
+ - Initial spec file
diff --git a/sources b/sources
index e69de29..4389a1c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9a2007974f3392ce0b6ee11d556237c8  php-zmq-0.6.0-2.20120613git516bd6f.tar.gz


More information about the scm-commits mailing list