LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File go-go-geoip.spec of Package go-go-geoip (Project devel:languages:go)

# spec file for package go-go-geoip
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) , 2011, Sascha Peilicke <saschpe@gmx.de>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           go-go-geoip
Version:        0.0.0+git20110702
Release:        0
Summary:        Simple libGeoIP binding for Go
License:        WTFPL
Group:          Development/Languages/Other
Url:            https://github.com/stiletto/go-geoip
Source:         go-geoip-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM fix undefined GeoIP_open
Patch:		go-geoip-ldflags.patch
BuildRequires:  go-devel
BuildRequires:	libGeoIP-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Simple libGeoIP binding for the Go programming language.


%setup -q -n go-geoip
%patch -p1
rm -rf Makefile
mkdir -p examples
mv suck-cocks.go examples

%goprep geoip


%gotest geoip


%files doc