packages: php-pear-OpenDocument/php-pear-OpenDocument.spec - up to 0.2.0
glen
glen at pld-linux.org
Thu Aug 19 15:31:51 CEST 2010
Author: glen Date: Thu Aug 19 13:31:51 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.2.0
---- Files affected:
packages/php-pear-OpenDocument:
php-pear-OpenDocument.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/php-pear-OpenDocument/php-pear-OpenDocument.spec
diff -u packages/php-pear-OpenDocument/php-pear-OpenDocument.spec:1.4 packages/php-pear-OpenDocument/php-pear-OpenDocument.spec:1.5
--- packages/php-pear-OpenDocument/php-pear-OpenDocument.spec:1.4 Tue Apr 1 23:56:44 2008
+++ packages/php-pear-OpenDocument/php-pear-OpenDocument.spec Thu Aug 19 15:31:45 2010
@@ -7,13 +7,12 @@
Summary: %{_pearname} - read, create or modify office documents in OpenDocument format
Summary(pl.UTF-8): %{_pearname} - odczyt, zapis i modyfikacja dokumentów zapisanych w formacie OpenDocument
Name: php-pear-%{_pearname}
-Version: 0.1.2
-Release: 3
+Version: 0.2.0
+Release: 1
License: PHP License
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 75ec8b86f06aa44c5bf289c735661d9c
-Patch0: %{name}-paths.patch
+# Source0-md5: ab9a2366c91a81d664221d2f4ca54206
URL: http://pear.php.net/package/OpenDocument/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -55,29 +54,42 @@
%prep
%pear_package_setup
-%patch0 -p1
+
+mv docs/%{_pearname}/examples .
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
%pear_package_install
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc install.log %doc docs/OpenDocument/*
+%doc install.log
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/OpenDocument
%{php_pear_dir}/OpenDocument.php
+%{php_pear_dir}/data/%{_pearname}
+
+%{_examplesdir}/%{name}-%{version}
+
%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.5 2010/08/19 13:31:45 glen
+- up to 0.2.0
+
Revision 1.4 2008/04/01 21:56:44 qboosh
- pl
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-OpenDocument/php-pear-OpenDocument.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list