Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/bep/go-tocss
%global goipath         github.com/bep/go-tocss
Version:                0.6.0

%gometa

%global common_description %{expand:
This is currently a, hopefully, simple to use LibSass Go API. It uses the C
bindings in https://github.com/wellington/go-libsass/libs to do the heavy
lifting.

The primary motivation for this project is to add SCSS support to Hugo. It is
has some generic tocss package names hoping that there will be a solid native Go
implementation that can replace LibSass in the near future.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        5%{?dist}
Summary:        Simple to use Go API for LibSass. Uses CGO

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  gcc-g++
BuildRequires:  golang(github.com/wellington/go-libsass/libs)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/require)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri May 31 23:11:07 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.6.0-2
- Update to new macros

* Mon Feb 18 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-1
- First package for Fedora