# Generated by go2rpm 1.3 %bcond_without check # https://github.com/gphotosuploader/gphotos-uploader-cli %global goipath github.com/gphotosuploader/gphotos-uploader-cli Version: 3.1.0 %gometa %global common_description %{expand: Command line tool to mass upload media folders to your google photos account(s) (Mac OS / Linux).} %global golicenses LICENSE %global godocs README.md UPGRADING.md CHANGELOG.md\\\ CODE_OF_CONDUCT.md CONTRIBUTING.md Name: %{goname} Release: 1%{?dist} Summary: Command line tool to mass upload media folders to your google photos account(s) (Mac OS / Linux) License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/99designs/keyring) BuildRequires: golang(github.com/bmatcuk/doublestar/v2) BuildRequires: golang(github.com/facebookgo/symwalk) BuildRequires: golang(github.com/gphotosuploader/google-photos-api-client-go/v2) BuildRequires: golang(github.com/gphotosuploader/google-photos-api-client-go/v2/albums) BuildRequires: golang(github.com/gphotosuploader/google-photos-api-client-go/v2/media_items) BuildRequires: golang(github.com/gphotosuploader/google-photos-api-client-go/v2/uploader/resumable) BuildRequires: golang(github.com/hjson/hjson-go) BuildRequires: golang(github.com/k0kubun/go-ansi) BuildRequires: golang(github.com/mgutz/ansi) BuildRequires: golang(github.com/mitchellh/go-homedir) BuildRequires: golang(github.com/pierrec/xxHash/xxHash32) BuildRequires: golang(github.com/schollz/progressbar/v3) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/spf13/afero) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/pflag) BuildRequires: golang(github.com/syndtr/goleveldb/leveldb) BuildRequires: golang(github.com/syndtr/goleveldb/leveldb/opt) BuildRequires: golang(golang.org/x/oauth2) BuildRequires: golang(golang.org/x/oauth2/google) BuildRequires: golang(golang.org/x/term) %description %{common_description} %gopkg %package -n gphotos-uploader-cli Summary: Command line tool to mass upload media folders to your google photos account(s) (Mac OS / Linux) %description -n gphotos-uploader-cli %{common_description} %prep %goprep %build %gobuild -o %{gobuilddir}/bin/gphotos-uploader-cli %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n gphotos-uploader-cli %license LICENSE %doc README.md UPGRADING.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md %{_bindir}/* %gopkgfiles %changelog * Fri Apr 09 22:17:25 UTC 2021 Aleksei Bavshin - 3.1.0-1 - Update to 3.1.0 * Fri Mar 19 04:42:29 UTC 2021 Aleksei Bavshin - 3.0.1-1 - Update to 3.0.1 * Fri May 29 22:08:17 UTC 2020 Aleksei Bavshin - 1.0.6-1 - Initial package