Пакет golang-github-gorilla-mux: Specfile

%global import_path     github.com/gorilla/mux

Name: golang-github-gorilla-mux
Version: 1.4.0
Release: alt1
Summary: Package `gorilla/mux` implements a request router and dispatcher.
License: BSD
Group: Development/Other
Url: https://godoc.org/%import_path
Source: %name-%version.tar

Packager: Denis Pynkin <dans@altlinux.ru>

ExclusiveArch:  %go_arches
BuildRequires(pre): rpm-build-golang

BuildArch: noarch
BuildRequires: golang-tools
BuildRequires: golang(github.com/gorilla/context)

%description
Package `gorilla/mux` implements a request router and dispatcher.

%package devel
Summary: Package `gorilla/mux` implements a request router and dispatcher.
Group: Development/Other
Requires: golang
Requires: golang(github.com/gorilla/context)
Provides: golang(%import_path) = %version-%release

%description devel
Package `gorilla/mux` implements a request router and dispatcher.

%prep
%setup -q

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"

%golang_prepare

%install
export BUILDDIR="$PWD/.build"
export GOPATH="%go_path"

%golang_install

%files devel
%doc README.md LICENSE
%go_path/src/*

%changelog
* Fri Jun 30 2017 Denis Pynkin <dans@altlinux.org> 1.4.0-alt1
- Update

* Mon Mar 13 2017 Denis Pynkin <dans@altlinux.org> 1.3.0-alt1
- Update

* Fri Nov 25 2016 Denis Pynkin <dans@altlinux.org> 0-alt7.git757bef94
- Update

* Tue Aug 23 2016 Denis Pynkin <dans@altlinux.org> 0-alt6.gitcf79e51a
- Update

* Thu Mar 10 2016 Denis Pynkin <dans@altlinux.org> 0-alt5.gitacf3be1b
- Version update 

* Tue Feb 16 2016 Denis Pynkin <dans@altlinux.ru> 0-alt4.git26a6070f
- Update for lxd

* Wed Jun 11 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 0-alt3
- update to commit 136d54f81f (required for docker 1.0
   https://github.com/dotcloud/docker/issues/5908)

* Wed Oct 30 2013 Slava Dubrovskiy <dubrsl@altlinux.org> 0-alt2
- Update spec

* Wed Oct 09 2013 Slava Dubrovskiy <dubrsl@altlinux.org> 0-alt1
- Build for ALT