Advertisement
Guest User

Untitled

a guest
Sep 26th, 2015
195
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Name: phpfarm
  2. Version: 0.2.0
  3. Release: 1%{?dist}
  4. Summary: Set of scripts to install a dozen of PHP versions in parallel on a single system
  5.  
  6. License: AGPLv3+
  7. URL: https://github.com/fpoirotte/phpfarm  
  8. Source0: https://github.com/fpoirotte/phpfarm/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
  9. Patch0: %{name}-%{version}.patch
  10.  
  11. BuildRequires: make,wget,gcc,mod_fcgid,tar,bzip2,autoconf,libxml2-devel,libcurl,postgresql-devel,openssl-devel,libssh2-devel,openldap-devel,turbojpeg-devel,libjpeg-turbo-devel,libpng-devel,libicu-devel,libmcrypt-devel,ImageMagick-devel,librabbitmq-devel,gcc-c++,glibc-headers,binutils
  12. Requires: make,wget,gcc,mod_fcgid,tar,bzip2,autoconf,libxml2-devel,libcurl,postgresql-devel,openssl-devel,libssh2-devel,openldap-devel,turbojpeg-devel,libjpeg-turbo-devel,libpng-devel,libicu-devel,libmcrypt-devel,ImageMagick-devel,librabbitmq-devel,gcc-c++,glibc-headers,binutils
  13.  
  14.  
  15. %description
  16. Set of scripts to install a dozen of PHP versions in parallel on a single system
  17.  
  18.  
  19. %prep
  20. %autosetup -p1
  21.  
  22. %build
  23. cd src/
  24. ./main.sh
  25.  
  26.  
  27. %install
  28. rm -rf %{buildroot}
  29. mkdir -p %{buildroot}/opt
  30. cp -R %{_builddir}/%{name}-%{version} %{buildroot}/opt/phpfarm
  31.  
  32. %files
  33. /opt/phpfarm/
  34.  
  35. %doc
  36.  
  37. %changelog
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement