1 |
# Generated by go2rpm 1 |
2 |
%bcond_without check |
3 |
|
4 |
# https://github.com/xo/dburl |
5 |
%global goipath github.com/xo/dburl |
6 |
%global commit 652e0d5720a3413f00f715f127ce54913e11af91 |
7 |
|
8 |
%gometa |
9 |
|
10 |
%global common_description %{expand: |
11 |
Package dburl provides a standard, URL style mechanism for parsing and opening |
12 |
SQL database connection strings.} |
13 |
|
14 |
%global golicenses LICENSE |
15 |
%global godocs _example README.md |
16 |
|
17 |
Name: %{goname} |
18 |
Version: 0 |
19 |
Release: %mkrel 0.2 |
20 |
Summary: Package dburl provides a standard, URL style mechanism for parsing and opening SQL database connection strings |
21 |
Group: Development/Other |
22 |
BuildArch: noarch |
23 |
License: MIT |
24 |
URL: %{gourl} |
25 |
Source0: %{gosource} |
26 |
|
27 |
%description |
28 |
%{common_description} |
29 |
|
30 |
%gopkg |
31 |
|
32 |
%prep |
33 |
%goprep |
34 |
|
35 |
%install |
36 |
%gopkginstall |
37 |
|
38 |
%if %{with check} |
39 |
%check |
40 |
%gocheck |
41 |
%endif |
42 |
|
43 |
%gopkgfiles |
44 |
|