]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
template for go package
authorElan Ruusamäe <glen@delfi.ee>
Thu, 28 May 2015 14:51:03 +0000 (17:51 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 28 May 2015 14:51:03 +0000 (17:51 +0300)
go-package.spec [new file with mode: 0644]

diff --git a/go-package.spec b/go-package.spec
new file mode 100644 (file)
index 0000000..5f912de
--- /dev/null
@@ -0,0 +1,36 @@
+Summary:       -
+Summary(pl.UTF-8):     -
+Name:          go-package
+Version:       _
+Release:       0.1
+License:       - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Group:         Applications
+Source0:       %{name}-%{version}.tar.gz
+# Source0-md5: -
+URL:           -
+BuildRequires: golang >= 1.3.1
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _enable_debug_packages 0
+
+%description
+A package written in go language
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q
+
+%build
+export GOPATH=$(pwd)/vendor
+install -d $GOPATH
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS CHANGES ChangeLog NEWS README THANKS TODO
This page took 0.077922 seconds and 4 git commands to generate.