# Generated by go2rpm 1 %bcond_without check # https://gitlab.com/meutraa/mm %global goipath gitlab.com/meutraa/mm %global forgeurl https://gitlab.com/meutraa/mm %global commit 8be25679c01cde00673edf6026bde9befec39eb0 %gometa %global common_description %{expand: File system based matrix client written in Go.} %global golicenses LICENSE %global godocs PLAN.md README.md Name: mm Version: 0 Release: 0.1%{?dist} Summary: File system based matrix client License: ISC URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/matrix-org/gomatrix) %description %{common_description} %gopkg %prep %goprep sed -i 's/\r$//' README.md %build %gobuild -o %{gobuilddir}/bin/mm %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc PLAN.md README.md %{_bindir}/* %gopkgfiles %changelog * Fri Jul 17 2020 Fabian Affolter - 0-0.1.20200717git8be2567 - Initial package