| |
@@ -5,7 +5,7 @@
|
| |
%gometa
|
| |
|
| |
Name: hugo
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: A Fast and Flexible Static Site Generator built with love in GoLang
|
| |
License: ASL 2.0 and MIT
|
| |
URL: %{gourl}
|
| |
@@ -120,6 +120,8 @@
|
| |
%gobuildroot
|
| |
|
| |
%gobuild -o _bin/hugo %{goipath}
|
| |
+ _bin/hugo gen autocomplete --completionfile hugo-completion
|
| |
+ _bin/hugo gen man
|
| |
|
| |
|
| |
%install
|
| |
@@ -127,6 +129,8 @@
|
| |
|
| |
install -d -p %{buildroot}%{_bindir}
|
| |
install -p -m 0755 _bin/hugo %{buildroot}%{_bindir}
|
| |
+ install -Dp hugo-completion %{buildroot}%{_datadir}/bash-completion/completions/hugo
|
| |
+ install -Dp man/* -t %{buildroot}%{_mandir}/man1
|
| |
|
| |
|
| |
%check
|
| |
@@ -140,6 +144,8 @@
|
| |
%doc CONTRIBUTING.md README.md
|
| |
%license LICENSE
|
| |
%{_bindir}/hugo
|
| |
+ %{_datadir}/bash-completion/completions/hugo
|
| |
+ %{_mandir}/man1/*.1*
|
| |
|
| |
%files -n %{goname}-devel -f devel.file-list
|
| |
%doc CONTRIBUTING.md README.md
|
| |
@@ -147,6 +153,10 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Fri Mar 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.54.0-2
|
| |
+ - Add bash-completion
|
| |
+ - Add man pages
|
| |
+
|
| |
* Mon Mar 04 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.54.0-1
|
| |
- Update to latest version
|
| |
|
| |
As in title.