2015-10-22 23:25:30 +00:00
committed by Git OBS Bridge
commit 319dcf8818
5 changed files with 92 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8edc31b57d3e6b659ba85bf21162b457c569550fd605f7d2f0212f009f56303
size 8580

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Oct 22 23:18:17 UTC 2015 - mrueckert@suse.de
- initial package

View File

@@ -0,0 +1,60 @@
#
# spec file for package golang-github.com-abh-geoip
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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: golang-github.com-abh-geoip
Version: 0.0.0+git1445555561.e5f8ea0
Release: 0
%define mod_name github.com-abh-geoip
License: MIT
Summary: GeoIP API for Golang
Url: https://github.com/abh/geoip
Group: Development/Libraries/Go
Source: github.com-abh-geoip-%{version}.tar.xz
BuildRequires: golang-packaging
BuildRequires: GeoIP-devel
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%description
This package wraps the libgeoip C library for access from Go (golang)
%gosrc_package
%prep
%setup -q -n %{mod_name}-%{version}
%build
%goprep github.com/abh/geoip
%gobuild ...
%install
%goinstall
%gosrc
mv %{buildroot}%{_bindir}/{ex,%{name}-demo}
%files
%defattr(-,root,root,-)
%doc README.md LICENSE
%{_bindir}/%{name}-demo
%{go_contribdir}/*
%files source
%defattr(-,root,root,-)
%{go_contribsrcdir}/*
%changelog