packages: php-pear-File_IMC/php-pear-File_IMC.spec - up to 0.4.1
glen
glen at pld-linux.org
Thu Aug 19 21:14:53 CEST 2010
Author: glen Date: Thu Aug 19 19:14:53 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.4.1
---- Files affected:
packages/php-pear-File_IMC:
php-pear-File_IMC.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: packages/php-pear-File_IMC/php-pear-File_IMC.spec
diff -u packages/php-pear-File_IMC/php-pear-File_IMC.spec:1.15 packages/php-pear-File_IMC/php-pear-File_IMC.spec:1.16
--- packages/php-pear-File_IMC/php-pear-File_IMC.spec:1.15 Thu Jan 31 13:17:18 2008
+++ packages/php-pear-File_IMC/php-pear-File_IMC.spec Thu Aug 19 21:14:48 2010
@@ -4,16 +4,15 @@
%define _subclass IMC
%define _status beta
%define _pearname %{_class}_%{_subclass}
-
Summary: %{_pearname} - create and parse Internet Mail Consortium-style files
Summary(pl.UTF-8): %{_pearname} - tworzenie i parsowanie plików typu Internet Mail Consortium
Name: php-pear-%{_pearname}
-Version: 0.3
-Release: 5
+Version: 0.4.1
+Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 48b2b15969f5f5aecaf8e76eef03a6d1
+# Source0-md5: 9a077a7384375faf2d929371ff5815eb
URL: http://pear.php.net/package/File_IMC/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -47,28 +46,42 @@
%prep
%pear_package_setup
+install -d examples
+mv docs/File_IMC/docs/sample.* examples
+mv docs/File_IMC/docs/*example.php examples
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+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/%{_pearname}/{sample.*,*.php}
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/%{_class}/*.php
%{php_pear_dir}/%{_class}/%{_subclass}
+%{_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.16 2010/08/19 19:14:48 glen
+- up to 0.4.1
+
Revision 1.15 2008/01/31 12:17:18 glen
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-File_IMC/php-pear-File_IMC.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list