]> git.pld-linux.org Git - packages/php.git/commitdiff
- adapterized version from Tsunami
authorArtur Frysiak <artur@frysiak.net>
Wed, 16 Feb 2000 11:56:48 +0000 (11:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.1

php.spec [new file with mode: 0644]

diff --git a/php.spec b/php.spec
new file mode 100644 (file)
index 0000000..6044d7b
--- /dev/null
+++ b/php.spec
@@ -0,0 +1,80 @@
+Summary:       The PHP HTML-embedded scripting language for use with Apache.
+Summary(pl):   Jêzyk skryptowy PHP -- u¿ywany wraz z serwerem Apache.
+Name:          php
+Version:       4.0b3
+Release:       1
+Group:         Libraries
+Group(pl):     X11/Programowanie/Biblioteki
+Group:         Biblioteki
+License:       GPL
+Icon:          php4.gif
+Source0:       http://www.php.net/distributions/%{name}-%{version}.tar.gz
+Source1:       FAQ.php
+Source2:       php.ini
+Source3:       zend.gif
+BuildRequires: apache-devel
+BuildRequires: zlib-devel
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+PHP is an HTML-embedded scripting language.  PHP attempts to make it easy
+for developers to write dynamically generated web pages.  PHP also offers
+built-in database integration for several commercial and non-commercial
+database management systems, so writing a database-enabled web page with
+PHP is fairly simple.  The most common use of PHP coding is probably as a
+replacement for CGI scripts.  The mod_php module enables the Apache web
+server to understand and process the embedded PHP language in web pages.
+This package contains PHP.  If you use applications which specifically rely
+on PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
+module contained in the phpfi package.  If you're just starting with PHP,
+you should install this package.  You'll also need to install the Apache
+web server.
+
+%description -l pl
+PHP jest jêzykiem skryptowym
+
+%prep
+%setup -q 
+
+%build
+libtoolize --copy --force
+aclocal
+autoheader
+autoconf
+%configure \
+       --with-apxs=%{_sbindir}/apxs \
+       --with-config-file-path=%{_sysconfdir}/httpd \
+       --enable-safe-mode \
+       --with-exec-dir=%{_bindir} \
+       --disable-debug \
+       --with-zlib \
+       --enable-magic-quotes \
+       --enable-track-vars \
+       --without-gd \
+       --enable-shared 
+make
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d     $RPM_BUILD_ROOT{%{_libdir}/apache,%{_sysconfdir}/httpd,/home/httpd/html/icons/}
+
+install        .libs/*.so              $RPM_BUILD_ROOT%{_libdir}/apache
+install        %{SOURCE2}              $RPM_BUILD_ROOT%{_sysconfdir}/httpd/php.ini
+install %{SOURCE3} $RPM_BUILD_ROOT/home/httpd/html/icons/
+
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/apache/*.so
+
+install  %{SOURCE1}    .
+gzip -9nf CODING_STANDARDS CREDITS FAQ* 
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc {CODING_STANDARDS,CREDITS,FAQ*}.gz  
+
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd/*
+%attr(755,root,root) %{_libdir}/apache/libphp4.so
This page took 0.041862 seconds and 4 git commands to generate.