File go-falcore.spec of Package go-falcore
#
# Copyright (c) 2012, Graham Anderson <graham@andtech.eu>
# Copyright (c) 2013, SUSE Linux Products GmbH
#
# 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-falcore
Version: 0.0.0+git20130807.da39923
Release: 0
License: MIT
Summary: Falcore is a filter pipiline based HTTP server library
Url: http://github.com/fitstar/falcore
Group: Development/Languages/Other
Source0: falcore-%{version}.tar.bz2
BuildRequires: go-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# The following line is only needed for (static) libraries:
%if 0%{?suse_version} >= 1100
Recommends: %{name}-doc
%endif
%{go_requires}
%{go_provides}
%description
Falcore is a framework for constructing high performance, modular HTTP servers in Golang.
Falcore is a filter pipeline based HTTP server library. You can build arbitrarily
complicated HTTP services by chaining just a few simple components
%package doc
Summary: API documentation
Group: Documentation/Other
Requires: %{name} = %{version}
%description doc
API, examples and documentation.
%prep
%setup -q -n falcore-%{version}
%build
%goprep github.com/fitstar/falcore
%gobuild router filter
%install
%goinstall github.com/fitstar/falcore
%godoc
%files
%defattr(-,root,root,-)
%doc README.md LICENSE.md examples
%{go_contribdir}/*
%files doc
%defattr(-,root,root,-)
%{go_contribsrcdir}/*
%changelog