SPECS: php4-pecl-pop3.spec (NEW) - new (cp from php-pecl-pop3)

adamg adamg at pld-linux.org
Wed Jul 27 08:53:26 CEST 2005


Author: adamg                        Date: Wed Jul 27 06:53:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (cp from php-pecl-pop3)

---- Files affected:
SPECS:
   php4-pecl-pop3.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php4-pecl-pop3.spec
diff -u /dev/null SPECS/php4-pecl-pop3.spec:1.1
--- /dev/null	Wed Jul 27 08:53:26 2005
+++ SPECS/php4-pecl-pop3.spec	Wed Jul 27 08:53:21 2005
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+%define		_modname	pop3
+%define		_status		stable
+
+Summary:	POP3 Client Library
+Summary(pl):	Biblioteka klienta POP3
+Name:		php4-pecl-%{_modname}
+Version:	1.0.2
+Release:	1
+License:	PHP
+Group:		Development/Languages/PHP
+Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+# Source0-md5:	cdbe4f41aa37bcf45e651d5568f3a8d2
+URL:		http://pecl.php.net/package/POP3/
+BuildRequires:	libspopc-devel
+BuildRequires:	libtool
+BuildRequires:	php4-devel >= 3:4.3.0
+Requires:	php4-common
+Obsoletes:	php-pear-%{_modname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/php4
+%define		extensionsdir	%{_libdir}/php4
+
+%description
+The POP3 extension makes it possible for a PHP script to connect to
+and interact with a POP3 mail server. Based on libspopc
+(http://brouits.free.fr/libspopc/), it is built for performance and
+ease of use.
+
+In PECL status of this package is: %{_status}.
+
+%description -l pl
+Rozszerzenie POP3 umożliwia skryptowi PHP podłączenie i współpracę z
+serwerem POP3. Biblioteka bazująca na libspopc
+(http://brouits.free.fr/libspopc/), stworzona została z myślą o
+wydajności i łatwości użycia.
+
+To rozszerzenie ma w PECL status: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd %{_modname}-%{version}
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensionsdir}
+
+install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{extensionsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/php4-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+	%{_sbindir}/php4-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{_modname}-%{version}/{CREDITS,EXPERIMENTAL}
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/27 06:53:21  adamg
+- new (cp from php-pecl-pop3)
+
================================================================



More information about the pld-cvs-commit mailing list