LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

# 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.

Name:           go-draw2d
Version:        0.0.0+hg20120113
Release:        0
Summary:        Library written in go to draw 2d geometrical form on images
Group:          Development/Languages/Other
License:        BSD
URL:            http://code.google.com/p/draw2d/
Source0:        draw2d-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  go-devel
BuildRequires:  go-freetype-go-devel
%if 0%{?suse_version} >= 1100
Recommends:     go-draw2d-doc

This package (written in go) provide an API to draw 2d geometrical form on
images. This library is largely inspired by postscript, cairo, HTML5 canvas.

%package doc
Summary:        API documenation
Group:          Documentation/Other
Requires:       %{name} = %{version}

%description doc
API, examples and documentation.

%setup -q -n draw2d

%goprep code.google.com/p/draw2d
%gobuild draw2d




%files doc