rpms/GeoIP/devel GeoIP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael G. Fleming (mfleming) fedora-extras-commits at redhat.com
Sat Feb 18 05:44:57 UTC 2006


Author: mfleming

Update of /cvs/extras/rpms/GeoIP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8103/devel

Modified Files:
	.cvsignore sources 
Added Files:
	GeoIP.spec 
Log Message:
auto-import GeoIP-1.3.14-3 on branch devel from GeoIP-1.3.14-3.src.rpm


--- NEW FILE GeoIP.spec ---
Name: GeoIP           
Version: 1.3.14     
Release: 3%{?dist}
Summary: C library for country/city/organization to IP address or hostname mapping     
Group: Development/Libraries         
License: GPL
URL: http://www.maxmind.com/app/c            
Source0: http://www.maxmind.com/download/geoip/api/c/GeoIP-%{version}.tar.gz 
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: geoip < %{version}-%{release}
Provides: geoip = %{version}-%{release}
BuildRequires: zlib-devel

%description
GeoIP is a C library that enables the user to find the country that any IP
address or hostname originates from. It uses a file based database that is
accurate as of March 2003. This database simply contains IP blocks as keys, and
countries as values. This database should be more complete and accurate than
using reverse DNS lookups.

%package devel
Summary: Development headers and libraries for GeoIP     
Group: Development/Libraries         
Requires: %{name} = %{version}-%{release}
Provides: geoip-devel = %{version}-%{release}
Obsoletes: geoip-devel < %{version}-%{release}

%description devel
Development headers and static libraries for building GeoIP-based applications

%prep
%setup -q 

%build
%configure --disable-static --disable-dependency-tracking
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%makeinstall

# nix the stuff we don't need like .la files.
rm -f %{buildroot}/%{_libdir}/*.la

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README TODO
%{_libdir}/libGeoIP.so.*
%{_libdir}/libGeoIPUpdate.so.*
%{_bindir}/geoiplookup
%{_bindir}/geoipupdate
%config(noreplace) %{_sysconfdir}/GeoIP.conf.default
%config(noreplace) %{_sysconfdir}/GeoIP.conf
%{_datadir}/GeoIP
%{_mandir}/man1/geoiplookup.1*
%{_mandir}/man1/geoipupdate.1*

%files devel
%defattr(-,root,root,-)
%{_includedir}/GeoIP.h
%{_includedir}/GeoIPCity.h
%{_includedir}/GeoIPUpdate.h
%{_libdir}/libGeoIP.so
%{_libdir}/libGeoIPUpdate.so

%changelog
* Sat Feb 18 2006 Michael Fleming <mfleming+rpm at enlartenment.com> 1.3.14-3
- Fix Obsoletes/Provides for old "geoip"-convention packages
- Move .so symlinks to -devel where they should be

* Fri Feb 10 2006 Michael Fleming <mfleming+rpm at enlartenment.com> 1.3.14-2
- Remamed to match upstream tarball name
- Removed static libraries
- Added symlinks to packages
- Mark config file noreplace

* Sun Feb 5 2006 Michael Fleming <mfleming+rpm at enlartenment.com> 1.3.14-1
- Initial review package for Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/GeoIP/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Feb 2006 05:43:15 -0000	1.1
+++ .cvsignore	18 Feb 2006 05:44:56 -0000	1.2
@@ -0,0 +1 @@
+GeoIP-1.3.14.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/GeoIP/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Feb 2006 05:43:15 -0000	1.1
+++ sources	18 Feb 2006 05:44:56 -0000	1.2
@@ -0,0 +1 @@
+a1f6fb744d85e96a457808f9c32fd334  GeoIP-1.3.14.tar.gz




More information about the fedora-extras-commits mailing list