diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f04fd8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/notificationsapp-cd3feaf39e21e1b76e19298c2e305c7113a9ae44.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index ea23de9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-github-shurcool-notificationsapp - -The golang-github-shurcool-notificationsapp package \ No newline at end of file diff --git a/golang-github-shurcool-notificationsapp.spec b/golang-github-shurcool-notificationsapp.spec new file mode 100644 index 0000000..2ad467d --- /dev/null +++ b/golang-github-shurcool-notificationsapp.spec @@ -0,0 +1,75 @@ +# Run tests in check section +%bcond_without check + +%global goipath github.com/shurcooL/notificationsapp +%global commit cd3feaf39e21e1b76e19298c2e305c7113a9ae44 + +%global common_description %{expand: +Web frontend for a notifications service.} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.1%{?dist} +Summary: Web frontend for a notifications service +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/dustin/go-humanize) +BuildRequires: golang(github.com/shurcooL/go/ctxhttp) +BuildRequires: golang(github.com/shurcooL/go/gopherjs_http) +BuildRequires: golang(github.com/shurcooL/htmlg) +BuildRequires: golang(github.com/shurcooL/httperror) +BuildRequires: golang(github.com/shurcooL/httpfs/union) +BuildRequires: golang(github.com/shurcooL/httpfs/vfsutil) +BuildRequires: golang(github.com/shurcooL/httpgzip) +BuildRequires: golang(github.com/shurcooL/notifications) +BuildRequires: golang(github.com/shurcooL/octiconssvg) +BuildRequires: golang(github.com/shurcooL/users) +BuildRequires: golang(golang.org/x/net/html) +BuildRequires: golang(golang.org/x/net/html/atom) + +%if %{with check} +BuildRequires: golang(golang.org/x/oauth2) +%endif + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{common_description} + +This package contains library source intended for +building other packages which use import path with +%{goipath} prefix. + + +%prep +%forgeautosetup + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks +%endif + + +%files devel -f devel.file-list +%doc README.md + + +%changelog +* Mon Mar 26 2018 Robert-André Mauchin - 0-0.1.20180420gitcd3feaf +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..d9849bb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (notificationsapp-cd3feaf39e21e1b76e19298c2e305c7113a9ae44.tar.gz) = 0a0f6a8f397d031648976c8a0688b346edd1698dbf8fb15f78e6aa8e52f7176535bc545235cd4a5da2831f49495ecf5b88e1044024980e803a96357bec27d0ea