LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File go-mux.spec of Package go-mux (Project home:cschum:go)

#
# spec file for package go-mux
#
# Copyright (c) 2014 Cornelius Schumacher <schumacher@kde.org>
#
# 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-mux
Version:        0.0.0+git20141206
Release:        0
License:        BSD-3-Clause
Summary:        URL router and dispatcher for Go
Url:            https://github.com/gorilla/mux
Group:          Development/Languages/Other
Source0:        mux-master.zip
BuildRequires:  go-devel
BuildRequires:  unzip
BuildRequires:  go-context
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%{go_requires}

%description
URL router and dispatcher for Go.

%prep
%setup -q -n mux-master

%build
%goprep  github.com/gorilla/mux
%gobuild ...

%install
%{go_disable_brp_strip_static_archive}

%goinstall
%godoc

%files
%defattr(-,root,root,-)
%{go_contribdir}/*
%{go_contribsrcdir}/*

%changelog