]> git.pld-linux.org Git - packages/php-pear-I18Nv2.git/commitdiff
- new pear packaging (fixed %files); rel 2 auto/ac/php-pear-I18Nv2-0_11_3-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Sep 2005 20:05:38 +0000 (20:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-I18Nv2.spec -> 1.25

php-pear-I18Nv2.spec

index b19d93708004ab4faa489317308e162ae631cb9b..d54355471cc3cf7ba3ddb487fdfbcefa7665a5fc 100644 (file)
@@ -7,14 +7,15 @@ Summary:      %{_pearname} - internationalization
 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)
 
@@ -30,25 +31,36 @@ takich jak formatowanie dat, liczb czy walut na podstawie locale.
 
 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/*
This page took 0.084688 seconds and 4 git commands to generate.