LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File hugo.spec of Package hugo (Project home:artem_sidorenko)

Name:           hugo
Version:        0.25
Release:        0
License:        Apache-2.0
Summary:        A fast and flexible static site generator built in Go
Url:            https://gohugo.io/
Source0:        hugo_%{version}_Linux-64bit.tar.gz

%description
Hugo is a static HTML and CSS website generator written in Go. It is optimized for speed, easy use and configurability. Hugo takes a directory with content and templates and renders them into a full HTML website.

Hugo relies on Markdown files with front matter for meta data. And you can run Hugo from any directory. This works well for shared hosts and other systems where you don’t have a privileged account.

Hugo renders a typical website of moderate size in a fraction of a second. A good rule of thumb is that each piece of content renders in around 1 millisecond.

Hugo is designed to work well for any kind of website including blogs, tumbles and docs.

%prep
%setup -c

%install
install -dp %{buildroot}%{_bindir}

install -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}

%files
%defattr(-,root,root,-)
%{_bindir}/%{name}

%doc README.md LICENSE.md