SPECS: php-pear-Validate_NZ.spec (NEW) - new
adamg
adamg at pld-linux.org
Wed Jul 5 15:15:34 CEST 2006
Author: adamg Date: Wed Jul 5 13:15:34 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-Validate_NZ.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-Validate_NZ.spec
diff -u /dev/null SPECS/php-pear-Validate_NZ.spec:1.1
--- /dev/null Wed Jul 5 15:15:34 2006
+++ SPECS/php-pear-Validate_NZ.spec Wed Jul 5 15:15:29 2006
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class Validate
+%define _subclass NZ
+%define _status alpha
+%define _pearname Validate_NZ
+
+Summary: %{_pearname} - Validation class for New Zeland
+Summary(pl): %{_pearname} - Klasa sprawdzająca poprawność dla Nowej Zelandii
+Name: php-pear-%{_pearname}
+Version: 0.1.0
+Release: 1
+License: New BSD
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 73582349007aa8e1832495fd639b8bb5
+URL: http://pear.php.net/package/Validate_NZ/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-common >= 3:4.2.0
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Package containes locale validation for NZ such as:
+ - IRD numbers
+ - Regional codes
+ - Telephone number
+ - Postal code
+ - Bank AC
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+Pakiet do sprawdzanie poprawności danych dla Argentyny takich jak:
+ - numery IRD
+ - kody regionów
+ - numer telefonu
+ - kod pocztowy
+ - numery konta bankowego
+
+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
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+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 docs/%{_pearname}/LICENSE
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Validate/NZ.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Validate_NZ/tests/Validate_NZ.phpt
+
+%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.1 2006/07/05 13:15:29 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list