SPECS: template-php4-pecl.spec (NEW) - copy of template-php-pecl.spec

glen glen at pld-linux.org
Thu Aug 25 10:22:30 CEST 2005


Author: glen                         Date: Thu Aug 25 08:22:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- copy of template-php-pecl.spec

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

---- Diffs:

================================================================
Index: SPECS/template-php4-pecl.spec
diff -u /dev/null SPECS/template-php4-pecl.spec:1.1
--- /dev/null	Thu Aug 25 10:22:30 2005
+++ SPECS/template-php4-pecl.spec	Thu Aug 25 10:22:25 2005
@@ -0,0 +1,100 @@
+# $Revision$, $Date$
+%define		_modname	-
+%define		_status		-
+
+Summary:	%{_modname} -
+Summary(pl):	%{_modname} -
+Name:		php-pecl-%{_modname}
+Version:	1.0
+Release:	1
+License:	PHP 2.02
+Group:		Development/Languages/PHP
+Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+URL:		http://pecl.php.net/package/Modname/
+BuildRequires:	libtool
+BuildRequires:	php-devel >= 3:5.0.0
+Requires:	php-common >= 3:5.0.0
+Obsoletes:	php-pear-%{_modname}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sysconfdir	/etc/php
+%define		extensionsdir	%{_libdir}/php
+
+%description
+
+In PECL status of this extension is: %{_status}.
+
+%description -l pl
+
+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}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
+
+%preun
+if [ "$1" = "0" ]; then
+	%{_sbindir}/php-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/08/25 08:22:25  glen
+- copy of template-php-pecl.spec
+
+Revision 1.10  2004/08/07 17:47:11  adamg
+- ok, let's force php5 for pecl extensions
+
+Revision 1.9  2004/05/30 16:13:15  adamg
+- fixed english information about status of the package; cosmetics
+
+Revision 1.8  2003/10/21 11:17:28  adamg
+- added default doc files
+
+Revision 1.7  2003/10/15 17:37:05  adamg
+- it finally happened - PECL separated from PEAR and moved to its own
+  repository, thus changes in urls (s/pear/pecl/)
+
+Revision 1.6  2003/10/07 20:50:01  adamg
+- do not use macros in URL
+
+Revision 1.5  2003/08/31 20:49:12  adamg
+- more specific URL
+
+Revision 1.4  2003/08/18 08:09:35  gotar
+- mass commit: cosmetics (removed trailing white spaces)
+
+Revision 1.3  2003/06/12 12:31:48  qboosh
+- cosmetics
+
+Revision 1.2  2003/06/11 23:09:37  adamg
+- fixed package status information
+
+Revision 1.1  2003/06/11 17:18:49  adamg
+- initial import of PECL template
================================================================



More information about the pld-cvs-commit mailing list