SPECS: php-pear-Net_HL7.spec - new pear packaging
glen
glen at pld-linux.org
Thu Sep 29 01:02:18 CEST 2005
Author: glen Date: Wed Sep 28 23:02:18 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new pear packaging
---- Files affected:
SPECS:
php-pear-Net_HL7.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/php-pear-Net_HL7.spec
diff -u SPECS/php-pear-Net_HL7.spec:1.3 SPECS/php-pear-Net_HL7.spec:1.4
--- SPECS/php-pear-Net_HL7.spec:1.3 Sat Dec 4 14:21:59 2004
+++ SPECS/php-pear-Net_HL7.spec Thu Sep 29 01:02:13 2005
@@ -9,7 +9,7 @@
Summary(pl): %{_pearname} - API wysyłania wiadomości HL7
Name: php-pear-%{_pearname}
Version: 0.1.0
-Release: 2
+Release: 2.1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -46,33 +46,51 @@
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
-%setup -q -c
+%pear_package_setup
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/{Messages,Segments}
-
-install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-install %{_pearname}-%{version}/%{_class}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
-install %{_pearname}-%{version}/%{_class}/%{_subclass}/Messages/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Messages
-install %{_pearname}-%{version}/%{_class}/%{_subclass}/Segments/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Segments
+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}/{docs,tests}
+%doc install.log
+%doc docs/%{_pearname}/docs/README
+%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/%{_class}/*.php
%{php_pear_dir}/%{_class}/%{_subclass}
+%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 <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2005/09/28 23:02:13 glen
+- new pear packaging
+
Revision 1.3 2004/12/04 13:21:59 adamg
- rebuild with new PEAR provides/requires scripts
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php-pear-Net_HL7.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list