Projects
Infrastructure
libphutil
libphutil.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libphutil.spec of Package libphutil
%define git_short_version_hash 20841d2 %define git_full_version_hash 20841d2321275c87ff8718422868ef6b1beb16c4 Summary: A collection of PHP utility classes Name: libphutil Version: 20161022.git20841d2 Release: 1%{?dist} License: ASL 2.0 URL: http://www.phabricator.com/docs/libphutil/ Source0: https://github.com/phacility/libphutil/archive/%{git_full_version_hash}.tar.gz#/libphutil-%{git_full_version_hash}.tar.gz # Document what's in the phabricator subpackage, so that RPM will # be able to build the actual subpackage. Source999: README.phabricator ## ## Packaging fixes ## # https://github.com/kanarip/libphutil/tree/packaging/stable/0001-unvendorize-jsonlint Patch0001: 0001-Unvendorize-jsonlint.patch # https://github.com/kanarip/libphutil/tree/packaging/stable/0002-remove-deprecated-xhprof-dependency # No longer needed in the next promotion of master to stable Patch0002: 0002-Remove-xhprof-dependency.patch ## ## Feature enhancements (arguably) ## # https://github.com/kanarip/libphutil/tree/feature/stable/0001-fix-from-address-parsing Patch0003: 0003-Parse-From-lines-in-the-format-user-domain.com-user-.patch BuildArch: noarch # Virtual provides to silence rpmlint on requiring an explicit # library for arcanist and phabricator. Provides: arcanist(libphutil) = %{version}-%{release} Requires: php(language) >= 5 Requires: php-curl Requires: php-date Requires: php-fileinfo Requires: php-jsonlint Requires: php-mbstring Requires: php-pecl(json) Requires: php-xml %description A collection of PHP utility classes used with phabricator %package phabricator Summary: A collection of dependencies optimized for Phabricator Requires: php-gd Requires: php-ldap Requires: php-mysqlnd Requires: php-opcache Requires: php-pecl(APC) # Virtual provides to silence rpmlint on requiring an explicit # library for arcanist and phabricator. Provides: phabricator(libphutil) = %{version}-%{release} %description phabricator A meta-package to pull in optimization and server-side dependencies for Phabricator. %prep %setup -q -n libphutil-%{git_full_version_hash} %patch0001 -p1 -b .unvendorize-jsonlint %patch0002 -p1 -b .deprecate-xhprof %patch0003 -p1 -b .fix-email-address-parsing cp -a %{SOURCE999} . %build %install # copy libphutil to the buildroot mkdir -p %{buildroot}%{_datadir}/%{name} cp -a scripts/ src/ %{buildroot}%{_datadir}/%{name}/. find %{buildroot}%{_datadir}/%{name}/ -type d -name test -exec rm -rvf {} \; 2>/dev/null || : find %{buildroot}%{_datadir}/%{name}/ -type d -name __tests__ -exec rm -rvf {} \; 2>/dev/null || : # Fix shebangs find %{buildroot}%{_datadir}/%{name}/ -type f -exec sed -i -r -e 's"^#!(.*)/usr/bin/env php"#!%{_bindir}/php"' {} \; %files %{!?_licensedir:%global license %doc} %license LICENSE %doc README.md %doc NOTICE %dir %{_datadir}/%{name} %{_datadir}/%{name}/scripts %{_datadir}/%{name}/src %files phabricator %doc README.phabricator %changelog * Mon Oct 24 2016 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 20161022.git20841d2-1 - Promote Week #42 * Sat Sep 24 2016 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 20160924.git518dacd-1 - Promote week #38 * Thu Sep 8 2016 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 20160905.gitc14343e-1 - Promote week #36 * Wed Aug 10 2016 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 20160806.git8f8e02d-1 - Correct NEVRA * Tue Aug 9 2016 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> - 20160727.git8f8e02d-2 - Adjust dependency on php-opcache - Adjust dependency on php-pecl-apcu - Remove dependency on XHProf (strip references to it as well) - Taking in some of the packaging review recommendations * Wed Feb 25 2015 Tim Flink <tflink@fedoraproject.org> - 20150211.git9e0ea2c-2 - un-removing bundled jsonlint because the bundled version isn't compatible with upstream * Wed Feb 11 2015 Tim Flink <tflink@fedoraproject.org> - 20150211.git9e0ea2c-1 - Updating to latest upstream git * Sat Jan 17 2015 Vladimir Rusinov <vladimir@greenmice.info> - 20141204.git549aa1b-2 - remove bundled jsonlint * Thu Dec 04 2014 Tim Flink <tflink@fedoraproject.org> - 20141204.git549aa1b-1 - updating to latest upstream git * Tue Sep 02 2014 Tim Flink <tflink@fedoraproject.org> - 20140902.git2de6440-1 - updating to latest upstream git * Mon Jul 21 2014 Tim Flink <tflink@fedoraproject.org> - 20140721.gitefc2cc5-1 - updating to latest upstream git * Sun May 18 2014 Tim Flink <tflink@fedoraproject.org> - 20140518.git1add454-1 - updating to latest upstream git * Thu Jan 23 2014 Tim Flink <tflink@fedoraproject.org> - 20140123.git86d651f-1 - updating to latest git * Tue Dec 10 2013 Tim Flink <tflink@fedoraproject.org> - 20131210.git69490c5-1 - updating to latest git * Wed Oct 30 2013 Tim Flink <tflink@fedoraproject.org> - 20131030.gitba9c942-1 - Initial package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.