# Generated by go2rpm %bcond_without check # https://github.com/gosimple/slug %global goipath github.com/gosimple/slug Version: 1.5.0 %gometa %global common_description %{expand: Generate slug from unicode string, URL-friendly slugify with multiple languages support.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 2%{?dist} Summary: URL-friendly slugify with multiple languages support # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/rainycape/unidecode) %description %{common_description} %gopkg %prep %goprep # https://fedoraproject.org/wiki/Packaging_tricks#Remove_DOS_line_endings sed -i "s|\r||g" README.md %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Jun 04 17:58:43 CEST 2019 Robert-André Mauchin - 1.5.0-2 - Update to new macros * Fri Apr 12 21:30:33 CEST 2019 Robert-André Mauchin - 1.5.0-1 - Release 1.5.0 (#1699316) * Sat Mar 16 2019 Nathan Scott - 1.4.2-1 - First package for Fedora