Created
February 23, 2012 09:19
-
-
Save syshack/1891858 to your computer and use it in GitHub Desktop.
php5.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define version 5.3.10 | |
%define so_version 5 | |
Name: php | |
Summary: PHP: Hypertext Preprocessor | |
Group: Development/Languages | |
Version: %{version} | |
Release: 2%{?dist}.centos | |
License: The PHP license (see "LICENSE" file included in distribution) | |
Source: http://www.php.net/get/php-%{version}.tar.gz | |
URL: http://www.php.net/ | |
Packager: PHP Group <[email protected]> | |
AutoReqProv: no | |
%description | |
PHP is an HTML-embedded scripting language. Much of its syntax is | |
borrowed from C, Java and Perl with a couple of unique PHP-specific | |
features thrown in. The goal of the language is to allow web | |
developers to write dynamically generated pages quickly. | |
%prep | |
"php5.spec" 53L, 1165C | |
%_prefix}/sbin | |
%_prefix}/lib | |
%_prefix}/include | |
%_prefix}/var | |
%_prefix}/share | |
%_prefix}/man | |
%_prefix}/etc | |
%{_mandir} | |
%defattr(-,root,root) | |
%configure | |
make | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make install | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
rm -rf $RPM_BUILD_DIR/%{name}-%{version} | |
%files | |
%defattr(-,root,root) | |
————to be continue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment