LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

#
# spec file for package go-gorun
#
# Copyright (c) 2015 SUSE LINUX 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-gorun
Version:        0.0.0+bzr20120610
Release:        0
Summary:        Enables Go source files to be used as scripts
License:        GPL-3.0
Group:          Development/Languages/Other
Url:            https://launchpad.net/gorun
Source:         gorun-%{version}.tar.gz
BuildRequires:  go-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{go_provides}
%{go_requires}

%description
gorun is a tool enabling one to put a "bang line" in the source code of a Go
program to run it, or to run such a source code file explicitly. It was created
in an attempt to make experimenting with Go more appealing to people used to
Python and similar languages which operate most visibly with source code.

%prep
%setup -q -n gorun

%build
%goprep launchpad.net/gorun
%gobuild

%install
%goinstall

%files
%defattr(-,root,root,-)
%doc COPYING
%{_bindir}/gorun

%changelog