]> git.pld-linux.org Git - packages/php-pear-Net_CheckIP2.git/commitdiff
- new auto/ac/php-pear-Net_CheckIP2-1_0_0-0_RC2_1 auto/th/php-pear-Net_CheckIP2-1_0_0-0_RC2_1
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 1 Jun 2008 19:45:00 +0000 (19:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Net_CheckIP2.spec -> 1.1

php-pear-Net_CheckIP2.spec [new file with mode: 0644]

diff --git a/php-pear-Net_CheckIP2.spec b/php-pear-Net_CheckIP2.spec
new file mode 100644 (file)
index 0000000..82878fa
--- /dev/null
@@ -0,0 +1,66 @@
+%include       /usr/lib/rpm/macros.php
+%define                _class          Net
+%define                _subclass       CheckIP2
+%define                _status         beta
+%define                _pearname       Net_CheckIP2
+Summary:       %{_pearname} - A package to determine if an IP (v4) is valid
+Summary(pl.UTF-8):     %{_pearname} - pakiet do określania poprawności adresu IP (v4)
+Name:          php-pear-%{_pearname}
+Version:       1.0.0
+Release:       0.RC2.1
+License:       MIT License
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}RC2.tgz
+# Source0-md5: 9097704ed67b1a3528288d9fdcdc3a1d
+URL:           http://pear.php.net/package/Net_CheckIP2/
+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)
+
+%description
+Net_CheckIP2 is a PHP5 port of the Net_CheckIP package. It's a drop-in
+replacement.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Net_CheckIP2 to port PHP5 pakietu Net_CheckIP.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary:       Tests for PEAR::%{_pearname}
+Summary(pl.UTF-8):     Testy dla PEAR::%{_pearname}
+Group:         Development/Languages/PHP
+AutoReq:       no
+Requires:      %{name} = %{version}-%{release}
+AutoProv:      no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl.UTF-8
+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/Net_CheckIP2/examples
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Net/CheckIP2.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Net_CheckIP2
This page took 0.039653 seconds and 4 git commands to generate.