-
Notifications
You must be signed in to change notification settings - Fork 10
/
tmux-top.spec
135 lines (95 loc) · 4.43 KB
/
tmux-top.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
%global debug_package %{nil}
%global provider github
%global provider_tld com
%global project TomasTomecek
%global repo tmux-top
# https://github.com/TomasTomecek/tmux-top
%global goipath %{provider}.%{provider_tld}/%{project}/%{repo}
%global forgeurl https://%{goipath}
# %%global commit 910ef1f72549a703c3c39abaefefe9a80d0b22fd
%global golicenses LICENSE
%global godocs README.md
# since tmux-top release archives are structured as NAME-VERSION
# 1. We need to set version
# 2. And cannot set commit macro
# 3. Place version before gometa
Version: 0.1.1
%gometa
Name: tmux-top
Release: 1%{?dist}
Summary: Monitoring information for your tmux status line.
License: GPLv2+
URL: %{gourl}
# gosource macro doesn't work as it expects vTAG tagging scheme
Source0: https://%{goipath}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: golang(github.com/urfave/cli)
%description
Monitoring information for your tmux status line.
tmux-top allows you to see your:
* load
* memory usage
* network information
* I/O
%gopkg
%prep
%goprep
%build
%gobuild -o %{gobuilddir}/bin/%{name} %{goipath}/cmd/tmux-top
%install
%gopkginstall
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/%{name} %{buildroot}%{_bindir}/
%check
export GOPATH=$(pwd):%{gopath}
make test
%files
%license %{golicenses}
%doc %{godocs}
%{_bindir}/%{name}
%gopkgfiles
%changelog
* Wed Jun 08 2022 Tomas Tomecek <[email protected]> - 0.1.1-1
- 0.1.0 upstream release
* Sat Jan 22 2022 Fedora Release Engineering <[email protected]> - 0.0.4-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <[email protected]> - 0.0.4-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <[email protected]> - 0.0.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <[email protected]> - 0.0.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <[email protected]> - 0.0.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <[email protected]> - 0.0.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <[email protected]> - 0.0.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 0.0.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 0.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sun Oct 29 2017 Tomas Tomecek <[email protected]> - 0.0.4-1
- new upstream release 0.0.4
* Sun Oct 29 2017 Tomas Tomecek <[email protected]> - 0.0.3-1
- new upstream release 0.0.3
* Thu Aug 03 2017 Fedora Release Engineering <[email protected]> - 0.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 0.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Jun 03 2017 Tomas Tomecek <[email protected]> - 0.0.2-1
- new upstream release 0.0.2
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 0.0.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Jul 21 2016 Fedora Release Engineering <[email protected]> - 0.0.1-6
- https://fedoraproject.org/wiki/Changes/golang1.7
* Mon Feb 22 2016 Fedora Release Engineering <[email protected]> - 0.0.1-5
- https://fedoraproject.org/wiki/Changes/golang1.6
* Fri Feb 05 2016 Fedora Release Engineering <[email protected]> - 0.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 0.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Mar 16 2015 Tomas Tomecek <[email protected]> - 0.0.1-2
- add devel subpackage (patch by [email protected])
* Fri Mar 13 2015 Tomas Tomecek <[email protected]> - 0.0.1-1
- initial release