SPECS: php-pear-Text_LanguageDetect.spec - missing dirs, created -...

glen glen at pld-linux.org
Sun Jan 15 12:34:30 CET 2006


Author: glen                         Date: Sun Jan 15 11:34:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- missing dirs, created -tests; rel 3

---- Files affected:
SPECS:
   php-pear-Text_LanguageDetect.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Text_LanguageDetect.spec
diff -u SPECS/php-pear-Text_LanguageDetect.spec:1.2 SPECS/php-pear-Text_LanguageDetect.spec:1.3
--- SPECS/php-pear-Text_LanguageDetect.spec:1.2	Thu Jan 12 12:17:54 2006
+++ SPECS/php-pear-Text_LanguageDetect.spec	Sun Jan 15 12:34:25 2006
@@ -9,7 +9,7 @@
 Summary(pl):	%{_pearname} - klasa do określania języka
 Name:		php-pear-%{_pearname}
 Version:	0.1.1
-Release:	2
+Release:	3
 License:	BSD
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -33,9 +33,25 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl):	Testy dla PEAR::%{_pearname}
+Group:		Development
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+AutoReq:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
 %prep
 %pear_package_setup
 
+mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
+rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
@@ -50,7 +66,12 @@
 %doc docs/%{_pearname}/{docs/example_clui.php,docs/example_web.php}
 %{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/Text/LanguageDetect.php
-%{php_pear_dir}/data/Text_LanguageDetect/lang.dat
+
+%{php_pear_dir}/data/Text_LanguageDetect
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,9 +79,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/01/15 11:34:25  glen
+- missing dirs, created -tests; rel 3
+
 Revision 1.2  2006/01/12 11:17:54  adamg
 - typo
 
 Revision 1.1  2006/01/12 10:24:59  adamg
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-Text_LanguageDetect.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list