Author: glen                         Date: Wed Jun  2 15:29:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.1.8

---- Files affected:
packages/php-pecl-pdflib:
   php-pecl-pdflib.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/php-pecl-pdflib/php-pecl-pdflib.spec
diff -u packages/php-pecl-pdflib/php-pecl-pdflib.spec:1.13 
packages/php-pecl-pdflib/php-pecl-pdflib.spec:1.14
--- packages/php-pecl-pdflib/php-pecl-pdflib.spec:1.13  Sat Apr 11 20:16:59 2009
+++ packages/php-pecl-pdflib/php-pecl-pdflib.spec       Wed Jun  2 17:29:13 2010
@@ -1,17 +1,17 @@
 # $Revision$, $Date$
-%define                _modname        pdflib
-%define                _smodname       pdf
-%define                _status         stable
-Summary:       %{_modname} - creating PDF on the fly with the PDFlib library
-Summary(pl.UTF-8):     %{_modname} - tworzenie PDF "w locie" za pomocą 
biblioteki PDFlib
-Name:          php-pecl-%{_modname}
-Version:       2.1.7
+%define                modname pdflib
+%define                smodname        pdf
+%define                status          stable
+Summary:       %{modname} - creating PDF on the fly with the PDFlib library
+Summary(pl.UTF-8):     %{modname} - tworzenie PDF "w locie" za pomocą 
biblioteki PDFlib
+Name:          php-pecl-%{modname}
+Version:       2.1.8
 Release:       1
 License:       PHP
 Group:         Development/Languages/PHP
-Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5: 02323827f244d7d7db645b1d3874f980
-URL:           http://pecl.php.net/package/Modname/
+Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
+# Source0-md5: ee1b7c30b68b2caba8a95ef9a45e9b84
+URL:           http://pecl.php.net/package/pdflib/
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: libtiff-devel
@@ -21,7 +21,7 @@
 BuildRequires: zlib-devel
 %{?requires_php_extension}
 Requires:      php-common >= 4:5.0.4
-Obsoletes:     php-pear-%{_modname}
+Obsoletes:     php-pear-%{modname}
 Obsoletes:     php-pdf < 3:5.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -29,19 +29,19 @@
 This extension wraps the PDFlib programming library for processing PDF
 on the fly.
 
-In PECL status of this extension is: %{_status}.
+In PECL status of this extension is: %{status}.
 
 %description -l pl.UTF-8
 To rozszerzenie "owija" bibliotekę PDFlib przeznaczoną do tworzenia
 dokumentów PDF "w locie".
 
-To rozszerzenie ma w PECL status: %{_status}.
+To rozszerzenie ma w PECL status: %{status}.
 
 %prep
-%setup -q -c
+%setup -qc
+mv %{modname}-%{version}/* .
 
 %build
-cd %{_modname}-%{version}
 phpize
 %configure \
        --with-png-dir=%{_prefix} \
@@ -54,10 +54,10 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
 
-install %{_modname}-%{version}/modules/%{_smodname}.so 
$RPM_BUILD_ROOT%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-extension=%{_smodname}.so
+install -p modules/%{smodname}.so $RPM_BUILD_ROOT%{php_extensiondir}
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{smodname}.so
 EOF
 
 %clean
@@ -73,9 +73,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_modname}-%{version}/CREDITS
-%config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_smodname}.so
+%doc CREDITS
+%config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{smodname}.so
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -83,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2010/06/02 15:29:13  glen
+- up to 2.1.8
+
 Revision 1.13  2009/04/11 18:16:59  adamg
 - updated to 2.1.7
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-pdflib/php-pecl-pdflib.spec?r1=1.13&r2=1.14&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to