/[packages]/cauldron/douceur/current/SPECS/douceur.spec
ViewVC logotype

Contents of /cauldron/douceur/current/SPECS/douceur.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1770563 - (show annotations) (download)
Sun Jan 30 13:11:23 2022 UTC (3 years, 3 months ago) by guillomovitch
File size: 1094 byte(s)
imported package douceur
1 # Generated by go2rpm
2 %bcond_without check
3
4 # https://github.com/aymerick/douceur
5 %global goipath github.com/aymerick/douceur
6 Version: 0.2.0
7
8 %gometa
9
10 %global common_description %{expand:
11 A simple CSS parser and inliner in Go.}
12
13 %global golicenses LICENSE
14 %global godocs CHANGELOG.md README.md
15
16 Name: douceur
17 Release: %mkrel 1
18 Summary: A simple CSS parser and inliner in Go
19 Group: Development/Other
20
21 License: MIT
22 URL: %{gourl}
23 Source0: %{gosource}
24
25 BuildRequires: golang(github.com/gorilla/css/scanner)
26 BuildRequires: golang(github.com/PuerkitoBio/goquery)
27 BuildRequires: golang(golang.org/x/net/html)
28
29 %description
30 %{common_description}
31
32 %gopkg
33
34 %prep
35 %goprep
36
37 %build
38 %gobuild -o %{gobuilddir}/bin/douceur %{goipath}
39
40 %install
41 %gopkginstall
42 install -m 0755 -vd %{buildroot}%{_bindir}
43 install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
44
45 %if %{with check}
46 %check
47 %gocheck
48 %endif
49
50 %files
51 %license LICENSE
52 %doc CHANGELOG.md README.md
53 %{_bindir}/douceur
54
55 %gopkgfiles

  ViewVC Help
Powered by ViewVC 1.1.30