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
This commit is contained in:
Marguerite Su 2015-07-08 14:53:22 +00:00 committed by Git OBS Bridge
commit ba69509523
5 changed files with 84 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:125cefc823c9b3a7251700dc4c2f082f37d4cba1e582efddd599c5432f4521cc
size 47800

6
golang-packaging.changes Normal file
View File

@ -0,0 +1,6 @@
-------------------------------------------------------------------
Sun Jul 5 17:43:07 UTC 2015 - i@marguerite.su
- initial version 1
* implemented provides
* implemented requires

51
golang-packaging.spec Normal file
View File

@ -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