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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 679853 - (hide annotations) (download)
Tue Sep 16 16:09:21 2014 UTC (9 years, 7 months ago) by umeabot
File size: 1060 byte(s)
Mageia 5 Mass Rebuild
1 thatsamguy 552142 %define prerelease c5b73d348500e127fc50788ee93ef5a6f740cc96
2 thatsamguy 559414 %define import_path github.com/ActiveState/tail
3 thatsamguy 552142 %define gopath %{_libdir}/golang
4 thatsamguy 559414 %define gosrc %{gopath}/src/%{import_path}
5     %define shortcommit %(c=%{prerelease}; echo ${c:0:7})
6 thatsamguy 552142 Summary: Go package striving to emulate the features of the tail program
7     Name: golang-ActiveState-tail
8     Version: 0.20131114
9 umeabot 679853 Release: %mkrel 3
10 thatsamguy 552142 License: BSD
11     Group: Development/Other
12 thatsamguy 559414 Url: https://%{import_path}
13     Source0: https://%{import_path}/archive/%{prerelease}.tar.gz
14     Provides: golang(%{import_path}) = %{version}-%{release}
15 thatsamguy 552142
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