Author: glen                         Date: Tue Sep 27 20:05:44 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new pear packaging (fixed %files); rel 2

---- Files affected:
SPECS:
   php-pear-I18Nv2.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/php-pear-I18Nv2.spec
diff -u SPECS/php-pear-I18Nv2.spec:1.24 SPECS/php-pear-I18Nv2.spec:1.25
--- SPECS/php-pear-I18Nv2.spec:1.24     Sun Mar 27 03:03:42 2005
+++ SPECS/php-pear-I18Nv2.spec  Tue Sep 27 22:05:38 2005
@@ -8,14 +8,15 @@
 Summary(pl):   %{_pearname} - umiędzynarodowienie
 Name:          php-pear-%{_pearname}
 Version:       0.11.3
-Release:       1
+Release:       2
 License:       PHP
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
 # Source0-md5: fb081bc35cc1758dbd40329927194cd4
 URL:           http://pear.php.net/package/I18Nv2/
-BuildRequires: rpm-php-pearprov >= 4.0.2-98
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
 Requires:      php-pear
+Requires:      php-iconv
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -31,35 +32,49 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
+%package tests
+Summary:       Tests for PEAR::%{_pearname}
+Summary(pl):   Testy dla PEAR::%{_pearname}
+Group:         Development
+Requires:      %{name} = %{version}-%{release}
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl
+Testy dla PEAR::%{_pearname}.
+
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/{Country,DecoratedList,Language,Locale}
-
-install %{_pearname}-%{version}/I18Nv2.php $RPM_BUILD_ROOT%{php_pear_dir}
-install 
%{_pearname}-%{version}/{CommonList,Country,DecoratedList,Language,Locale,Negotiator}.php
 $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/Country/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Country
-install %{_pearname}-%{version}/DecoratedList/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/DecoratedList
-install %{_pearname}-%{version}/Language/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Language
-install %{_pearname}-%{version}/Locale/*.php 
$RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Locale
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{_pearname}-%{version}/tests
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}.php
 %{php_pear_dir}/%{_class}
 
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/*
+
 %define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2005/09/27 20:05:38  glen
+- new pear packaging (fixed %files); rel 2
+
 Revision 1.24  2005/03/27 01:03:42  adamg
 - updated to 0.11.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-I18Nv2.spec?r1=1.24&r2=1.25&f=u

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

Reply via email to