SPECS: php-pear-Validate_LV.spec (NEW) - new
adamg
adamg at pld-linux.org
Fri Sep 7 19:18:28 CEST 2007
Author: adamg Date: Fri Sep 7 17:18:28 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-Validate_LV.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-Validate_LV.spec
diff -u /dev/null SPECS/php-pear-Validate_LV.spec:1.1
--- /dev/null Fri Sep 7 19:18:28 2007
+++ SPECS/php-pear-Validate_LV.spec Fri Sep 7 19:18:23 2007
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class Validate
+%define _subclass LV
+%define _status stable
+%define _pearname Validate_LV
+
+Summary: %{_pearname} - Validation class for Latvia
+Summary(pl.UTF-8): %{_pearname} - klasa sprawdzająca poprawność dla Łotwy
+Name: php-pear-%{_pearname}
+Version: 1.0.0
+Release: 1
+License: New BSD
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 8b4e87ea5fab464bcbc3bef51999aa55
+URL: http://pear.php.net/package/Validate_LV/
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+Requires: php-pear
+Requires: php-pear-PEAR >= 1.4.0b1
+Requires: php-pear-Validate >= 0.5.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Data validation class for Latvia. Provides methods to validate:
+ - VAT number
+ - Registration number
+ - Swift code
+ - Telephone number
+ - Person ID
+ - IBAN Bank account number for Latvian Banks
+ - Postal code
+ - Passport
+ - Person name
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Pakiet do sprawdzania poprawności dla Łotwy danych takich jak:
+ - numer VAT,
+ - numer rejestracyjny,
+ - kod swift,
+ - numer telefonu,
+ - osobisty numer identyfikacyjny,
+ - numer IBAN konta bankowego dla banków łotewskich,
+ - kod pocztowy,
+ - paszport,
+ - imię
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%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
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Validate/LV.php
+
+%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 2007/09/07 17:18:23 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list