/[packages]/cauldron/golang-ActiveState-tail/current/SPECS/golang-ActiveState-tail.spec
ViewVC logotype

Contents of /cauldron/golang-ActiveState-tail/current/SPECS/golang-ActiveState-tail.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 559414 - (show annotations) (download)
Sat Dec 21 10:16:06 2013 UTC (10 years, 3 months ago) by thatsamguy
File size: 1060 byte(s)
SILENT match fedora provides scheme
1 %define prerelease c5b73d348500e127fc50788ee93ef5a6f740cc96
2 %define import_path github.com/ActiveState/tail
3 %define gopath %{_libdir}/golang
4 %define gosrc %{gopath}/src/%{import_path}
5 %define shortcommit %(c=%{prerelease}; echo ${c:0:7})
6 Summary: Go package striving to emulate the features of the tail program
7 Name: golang-ActiveState-tail
8 Version: 0.20131114
9 Release: %mkrel 2
10 License: BSD
11 Group: Development/Other
12 Url: https://%{import_path}
13 Source0: https://%{import_path}/archive/%{prerelease}.tar.gz
14 Provides: golang(%{import_path}) = %{version}-%{release}
15
16 %description
17 A Go package striving to emulate the features of the BSD tail program
18
19 Tail comes with full support for truncation/move detection as it is designed to
20 work with log rotation tools.
21
22 %prep
23 %setup -q -n tail-%{prerelease}
24
25 %build
26
27 %install
28 mkdir -p %{buildroot}%{gosrc}
29 cp -av * %{buildroot}%{gosrc}/
30 rm -f %{buildroot}%{gosrc}/LICENSE.txt
31 rm -f %{buildroot}%{gosrc}/README.md
32 rm -f %{buildroot}%{gosrc}/CHANGES.md
33
34 %files
35 %doc LICENSE.txt
36 %doc README.md
37 %doc CHANGES.md
38 %{gosrc}/*

  ViewVC Help
Powered by ViewVC 1.1.30