Last active
August 29, 2015 14:19
-
-
Save tboerger/801ee27ffeca0f10fb6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # spec file for package golang-github-codegangsta-cli | |
| # | |
| # 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/ | |
| # | |
| %define provider github | |
| %define provider_tld com | |
| %define project codegangsta | |
| %define repo cli | |
| %define import_path %{provider}.%{provider_tld}/%{project}/%{repo} | |
| %define tar_subdir %{name}-%{version} | |
| %define tarball %{tar_subdir}.tar.bz2 | |
| Name: golang-%{provider}-%{project}-%{repo} | |
| Version: 0.0.0+git.1427165943.9b2bd2b | |
| Release: 0 | |
| Summary: A small package for building command line apps in Go | |
| License: MIT | |
| Group: Development/Languages/Other | |
| Url: https://%{import_path} | |
| Provides: golang(%{import_path}) | |
| Source0: %{tarball} | |
| BuildRequires: go-devel | |
| BuildRoot: %{_tmppath}/%{name}-%{version}-build | |
| # Noarch as long as it is a library | |
| BuildArch: noarch | |
| # Skip this as we are packaging a library | |
| #{go_requires} | |
| %{go_provides} | |
| %description | |
| A simple, fast, and fun package for building command line apps in Go. The goal | |
| is to enable developers to write fast and distributable command line | |
| applications in an expressive way. | |
| %prep | |
| %setup -q -n %{tar_subdir} | |
| %build | |
| %goprep %{import_path} | |
| # Skip this as we are packaging a library | |
| #%gobuild ... | |
| %install | |
| # Skip this as we are packaging a library | |
| #goinstall | |
| %godoc | |
| %check | |
| GOPATH=%{_builddir}/go go test %{import_path} | |
| %files | |
| %defattr(-,root,root,-) | |
| %doc README.md LICENSE | |
| %{go_contribsrcdir}/* | |
| %changelog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # rpm -qpl /var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/RPMS/noarch/golang-github-codegangsta-cli-0.0.0+git.1427165943.9b2bd2b-0.noarch.rpm | |
| /usr/share/doc/packages/golang-github-codegangsta-cli | |
| /usr/share/doc/packages/golang-github-codegangsta-cli/LICENSE | |
| /usr/share/doc/packages/golang-github-codegangsta-cli/README.md | |
| /usr/share/go/contrib/src/github.com | |
| /usr/share/go/contrib/src/github.com/codegangsta | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/app.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/app_test.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/cli.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/cli_test.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/command.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/command_test.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/context.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/context_test.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/flag.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/flag_test.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/help.go | |
| /usr/share/go/contrib/src/github.com/codegangsta/cli/helpers_test.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment