packages: php-pecl-fdf/php-pecl-fdf.spec (NEW) - removed from php 5.3, now ...

qboosh qboosh at pld-linux.org
Tue Oct 26 09:13:34 CEST 2010


Author: qboosh                       Date: Tue Oct 26 07:13:34 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- removed from php 5.3, now as pecl (not released yet, so svn snapshot)

---- Files affected:
packages/php-pecl-fdf:
   php-pecl-fdf.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-pecl-fdf/php-pecl-fdf.spec
diff -u /dev/null packages/php-pecl-fdf/php-pecl-fdf.spec:1.1
--- /dev/null	Tue Oct 26 09:13:34 2010
+++ packages/php-pecl-fdf/php-pecl-fdf.spec	Tue Oct 26 09:13:29 2010
@@ -0,0 +1,83 @@
+# $Revision$, $Date$
+%define		_modname	fdf
+%define		_status		beta
+Summary:	%{_modname} - PDF Form Data Format functions
+Summary(pl.UTF-8):	%{_modname} - funkcje do obsługi formularzy PDF (PDF Form Data Format)
+Name:		php-pecl-%{_modname}
+Version:	5.0
+%define	subver	rc1
+%define	svnver	297330
+Release:	0.%{subver}.1
+License:	PHP 2.02
+Group:		Development/Languages/PHP
+# svn checkout http://svn.php.net/repository/pecl/fdf/trunk fdf
+Source0:	%{_modname}-%{version}%{subver}-%{svnver}.tgz
+# Source0-md5:	d47e547e7247cfd260ec611c44fc8184
+# not yet
+#Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+#URL:		http://pecl.php.net/package/Fdf/
+URL:		http://pecl.php.net/
+BuildRequires:	fdftk-devel >= 5
+BuildRequires:	php-devel >= 3:5.0.0
+BuildRequires:	rpmbuild(macros) >= 1.344
+%{?requires_php_extension}
+Requires:	php-common >= 4:5.0.4
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FDF module provides functions for PDF Forms Data Format handling.
+
+In PECL status of this extension is: %{_status}.
+
+%description -l pl.UTF-8
+Moduł FDF udostępnia funkcje do obsługi formularzy PDF (Forms Data
+Format).
+
+To rozszerzenie ma w PECL status: %{_status}.
+
+%prep
+%setup -q -c
+
+%build
+cd fdf
+phpize
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
+
+%{__make} -C fdf install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT \
+	EXTENSION_DIR=%{php_extensiondir}
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
+; Enable %{_modname} extension module
+extension=%{_modname}.so
+EOF
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%php_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+	%php_webserver_restart
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc fdf/CREDITS
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{_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  2010/10/26 07:13:29  qboosh
+- removed from php 5.3, now as pecl (not released yet, so svn snapshot)
================================================================


More information about the pld-cvs-commit mailing list