SPECS: php-pear-Net_GeoIP.spec (NEW) - new

adamg adamg at pld-linux.org
Mon Sep 4 19:02:41 CEST 2006


Author: adamg                        Date: Mon Sep  4 17:02:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   php-pear-Net_GeoIP.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-pear-Net_GeoIP.spec
diff -u /dev/null SPECS/php-pear-Net_GeoIP.spec:1.1
--- /dev/null	Mon Sep  4 19:02:41 2006
+++ SPECS/php-pear-Net_GeoIP.spec	Mon Sep  4 19:02:36 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		Net
+%define		_subclass	GeoIP
+%define		_status		beta
+%define		_pearname	Net_GeoIP
+
+Summary:	%{_pearname} - Library to perform geo-location lookups of IP addresses
+Summary(pl):	%{_pearname} - biblioteka do wykonywania wyszukiwań lokalizacji geograficznych adresów IP
+Name:		php-pear-%{_pearname}
+Version:	1.0.0
+Release:	0.RC1
+License:	LGPL 2.1
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}RC1.tgz
+# Source0-md5:	482f93c9d386ed864bbba7ad967fc789
+URL:		http://pear.php.net/package/Net_GeoIP/
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-common >= 3:5.0.0
+Requires:	php-pear
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library that uses Maxmind's GeoIP databases to accurately determine
+geographic location of an IP address.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+Korzystająca z baz GeoIP firmy Maxmind biblioteka do precezyjnego
+określania lokalizacji geograficznej adresów IP.
+
+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}/Net/GeoIP.php
+%{php_pear_dir}/Net/GeoIP
+
+%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/09/04 17:02:36  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list