packages: php-pear-XML_FOAF/php-pear-XML_FOAF.spec - examples not docs; rel 2

glen glen at pld-linux.org
Tue Jan 26 08:28:46 CET 2010


Author: glen                         Date: Tue Jan 26 07:28:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- examples not docs; rel 2

---- Files affected:
packages/php-pear-XML_FOAF:
   php-pear-XML_FOAF.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/php-pear-XML_FOAF/php-pear-XML_FOAF.spec
diff -u packages/php-pear-XML_FOAF/php-pear-XML_FOAF.spec:1.15 packages/php-pear-XML_FOAF/php-pear-XML_FOAF.spec:1.16
--- packages/php-pear-XML_FOAF/php-pear-XML_FOAF.spec:1.15	Sat Aug 30 23:07:41 2008
+++ packages/php-pear-XML_FOAF/php-pear-XML_FOAF.spec	Tue Jan 26 08:28:40 2010
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	%{_pearname} - przetwarzanie plików FOAF RDF/XML
 Name:		php-pear-%{_pearname}
 Version:	0.3.0
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -20,14 +20,14 @@
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	php-common >= 3:4.3.0
 Requires:	php-pear
-Requires:	php-pear-XML_Tree >= 1.1
 Requires:	php-pear-XML_Beautifier >= 0.2.2
+Requires:	php-pear-XML_Tree >= 1.1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-XML_FOAF allows advanced users to create advanced FOAF files.
-The FOAF Project can be found at http://www.foaf-project.org/ -
+XML_FOAF allows advanced users to create advanced FOAF files. The FOAF
+Project can be found at <http://www.foaf-project.org/> -
 XML_FOAF_Parser and XML_FOAF_Lite will follow before 1.0.
 
 In PEAR status of this package is: %{_status}.
@@ -35,36 +35,44 @@
 %description -l pl.UTF-8
 XML_FOAF pozwala zaawansowanym użytkownikom tworzyć zaawansowane pliki
 FOAF. Projekt FOAF znajduje się pod adresem
-http://www.foaf-project.org/. XML_FOAF_Parser i XML_FOAF_Lite ukażą
+<http://www.foaf-project.org/>. XML_FOAF_Parser i XML_FOAF_Lite ukażą
 się przed 1.0.
 
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
 %pear_package_setup
+mv docs/%{_pearname}/docs/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}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc install.log
-%doc docs/%{_pearname}/docs/*
 %{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/01/26 07:28:40  glen
+- examples not docs; rel 2
+
 Revision 1.15  2008/08/30 21:07:41  adamg
 - updated to 0.3.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-XML_FOAF/php-pear-XML_FOAF.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list