SPECS: php-pear-Payment_Clieop.spec - new pear packaging - NOTE: %...
glen
glen at pld-linux.org
Thu Sep 29 20:19:09 CEST 2005
Author: glen Date: Thu Sep 29 18:19:09 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new pear packaging
- NOTE: %files have been fixed
- rel 3
---- Files affected:
SPECS:
php-pear-Payment_Clieop.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/php-pear-Payment_Clieop.spec
diff -u SPECS/php-pear-Payment_Clieop.spec:1.7 SPECS/php-pear-Payment_Clieop.spec:1.8
--- SPECS/php-pear-Payment_Clieop.spec:1.7 Sat Dec 4 15:09:10 2004
+++ SPECS/php-pear-Payment_Clieop.spec Thu Sep 29 20:19:04 2005
@@ -12,13 +12,13 @@
Summary(pl): %{_pearname} - tworzenie pliku clieop03 do wysyłania Dutch Banku
Name: php-pear-%{_pearname}
Version: 0.1.1
-Release: 2
+Release: 3
License: PHP
Group: Development/Languages/PHP
# Source0-md5: 89ce9d473c0cb61a0d18da6a7966389d
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
URL: http://pear.php.net/package/Payment_Clieop/
-BuildRequires: rpm-php-pearprov >= 4.0.2-98
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
Requires: php-pear
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,21 +36,25 @@
Ta klasa ma w PEAR status: %{_status}.
%prep
-%setup -q -c
+%pear_package_setup
+
+install -d docs/%{_pearname}
+mv ./%{php_pear_dir}/%{_pearname}/Samples docs/%{_pearname}
%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)
-%dir %{php_pear_dir}/%{_class}
-%{php_pear_dir}/%{_class}/*.php
+%doc install.log
+%doc docs/%{_pearname}/*
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/%{_pearname}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -58,6 +62,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/09/29 18:19:04 glen
+- new pear packaging
+- NOTE: %files have been fixed
+- rel 3
+
Revision 1.7 2004/12/04 14:09:10 adamg
- rebuild with new PEAR provides/requires scripts
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php-pear-Payment_Clieop.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list