X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=php-pear-System_Command.spec;h=82956e212749c1a416377107e5a2f3360dcb05e0;hb=fd283b9b4c11d640cea3233e9a2bc5b894eb3376;hp=24909f2e79cba1af3e3458e19924cc6135bc6580;hpb=cd314a6520113787e2c7199b181f7f8aa9eee142;p=packages%2Fphp-pear-System_Command.git diff --git a/php-pear-System_Command.spec b/php-pear-System_Command.spec index 24909f2..82956e2 100644 --- a/php-pear-System_Command.spec +++ b/php-pear-System_Command.spec @@ -3,18 +3,18 @@ %define _subclass Command %define _status stable %define _pearname %{_class}_%{_subclass} - Summary: %{_pearname} - commandline execution interface Summary(pl): %{_pearname} - interfejs do wykonywania poleceƱ systemowych Name: php-pear-%{_pearname} -Version: 1.0.1 -Release: 2 +Version: 1.0.4 +Release: 1 License: PHP 2.02 Group: Development/Languages/PHP Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz -# Source0-md5: 1cdc6c0797c719cf5c0cc4d21f1be058 +# Source0-md5: 1a3000bfcd31b7d13e9167db48065144 URL: http://pear.php.net/package/System_Command/ -BuildRequires: rpm-php-pearprov >= 4.0.2-98 +BuildRequires: php-pear-PEAR +BuildRequires: rpm-php-pearprov >= 4.4.2-11 Requires: php-pear BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -39,18 +39,19 @@ niepowodzenia. Ta klasa ma w PEAR status: %{_status}. %prep -%setup -q -c +%pear_package_setup %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class} - -install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class} +install -d $RPM_BUILD_ROOT%{php_pear_dir} +%pear_package_install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc install.log +%{php_pear_dir}/.registry/*.reg %dir %{php_pear_dir}/%{_class} %{php_pear_dir}/%{_class}/*.php