From ba69509523b9d179442d20144b14dfa00454e314c29b421917d83aff1f059f2f Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Wed, 8 Jul 2015 14:53:22 +0000 Subject: [PATCH] Accepting request 315602 from home:MargueriteSu:branches:devel:languages:go OBS-URL: https://build.opensuse.org/request/show/315602 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-packaging?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + golang-packaging-1.tar.xz | 3 +++ golang-packaging.changes | 6 +++++ golang-packaging.spec | 51 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 golang-packaging-1.tar.xz create mode 100644 golang-packaging.changes create mode 100644 golang-packaging.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/golang-packaging-1.tar.xz b/golang-packaging-1.tar.xz new file mode 100644 index 0000000..31a0c7c --- /dev/null +++ b/golang-packaging-1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:125cefc823c9b3a7251700dc4c2f082f37d4cba1e582efddd599c5432f4521cc +size 47800 diff --git a/golang-packaging.changes b/golang-packaging.changes new file mode 100644 index 0000000..1fd26e5 --- /dev/null +++ b/golang-packaging.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Sun Jul 5 17:43:07 UTC 2015 - i@marguerite.su + +- initial version 1 + * implemented provides + * implemented requires diff --git a/golang-packaging.spec b/golang-packaging.spec new file mode 100644 index 0000000..0296bbc --- /dev/null +++ b/golang-packaging.spec @@ -0,0 +1,51 @@ +# +# spec file for package golang-packaging +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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: golang-packaging +Version: 1 +Release: 0 +License: GPL-3.0 +Summary: A toolchain to help packaging golang +Url: https://github.com/marguerite/golang-packaging +Group: Development/Languages/Other +Source: %{name}-%{version}.tar.xz +BuildRequires: rpm +Requires: ruby +Requires: go +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +A toolchain to help packaging golang, written in ruby. + +%prep +%setup -q + +%build + +%install +mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs +install -m0644 golang.attr %{buildroot}%{_rpmconfigdir}/fileattrs/ +install -m0755 golang.prov %{buildroot}%{_rpmconfigdir}/ +install -m0755 golang.req %{buildroot}%{_rpmconfigdir}/ + +%files +%defattr(-,root,root) +%doc COPYING README.md TODO +%{_rpmconfigdir}/fileattrs/golang.attr +%{_rpmconfigdir}/golang.prov +%{_rpmconfigdir}/golang.req +