Lines 1-17
Link Here
|
1 |
Name: nethogs |
1 |
Name: nethogs |
2 |
Version: 0.8.0 |
2 |
Version: 0.8.5 |
3 |
Release: alt3 |
3 |
Release: alt0 |
4 |
|
4 |
|
5 |
Summary: net top |
5 |
Summary: net top |
6 |
License: GPL |
6 |
License: GPL |
7 |
Group: Monitoring |
7 |
Group: Monitoring |
8 |
|
8 |
|
9 |
Url: http://nethogs.sourceforge.net |
9 |
Url: https://github.com/raboof/nethogs |
10 |
Source0: http://nethogs.sourceforge.net/%name-%version.tar.gz |
10 |
Source0: %name-%version.tar |
11 |
Source1: nethogs.control |
11 |
Source1: nethogs.control |
12 |
Patch0: nethogs-0.8.0-debian-makefile.patch |
12 |
#Patch2: nethogs-0.8.0-alt-pid32.patch |
13 |
Patch1: nethogs-0.8.0-debian-geteuid.patch |
|
|
14 |
Patch2: nethogs-0.8.0-alt-pid32.patch |
15 |
Packager: Michael Shigorin <mike@altlinux.org> |
13 |
Packager: Michael Shigorin <mike@altlinux.org> |
16 |
|
14 |
|
17 |
# Automatically added by buildreq on Tue Apr 07 2009 |
15 |
# Automatically added by buildreq on Tue Apr 07 2009 |
Lines 36-52
Link Here
|
36 |
ewentualnie go zabić. |
34 |
ewentualnie go zabić. |
37 |
|
35 |
|
38 |
%prep |
36 |
%prep |
39 |
%setup -n %name |
37 |
%setup -n %name-%version |
40 |
%patch0 -p0 |
38 |
#%patch2 -p1 |
41 |
%patch1 -p0 |
|
|
42 |
%patch2 -p1 |
43 |
|
39 |
|
44 |
%build |
40 |
%build |
45 |
%make GCC="g++" CFLAGS="%optflags -I%_includedir/ncurses" |
41 |
%make PREFIX=/tmp/usr GCC="g++" CFLAGS="%optflags -I%_includedir/ncurses" |
46 |
|
42 |
|
47 |
%install |
43 |
%install |
48 |
install -pDm755 %name %buildroot%_sbindir/%name |
44 |
install -pDm755 src/%name %buildroot%_sbindir/%name |
49 |
install -pDm644 %name.8 %buildroot%_man8dir/%name.8 |
45 |
install -pDm644 doc/%name.8 %buildroot%_man8dir/%name.8 |
50 |
install -pDm755 %SOURCE1 %buildroot%_controldir/%name |
46 |
install -pDm755 %SOURCE1 %buildroot%_controldir/%name |
51 |
|
47 |
|
52 |
%pre |
48 |
%pre |
Lines 57-68
Link Here
|
57 |
%post_control -s netadmin %name |
53 |
%post_control -s netadmin %name |
58 |
|
54 |
|
59 |
%files |
55 |
%files |
60 |
%doc Changelog README |
56 |
%doc Changelog README.md |
61 |
%_sbindir/* |
57 |
%_sbindir/* |
62 |
%_man8dir/* |
58 |
%_man8dir/* |
63 |
%config %_controldir/%name |
59 |
%config %_controldir/%name |
64 |
|
60 |
|
65 |
%changelog |
61 |
%changelog |
|
|
62 |
* Thu Jun 01 2017 Oleg Zenin <zenin_o@ihep.ru> 0.8.5-alt0 |
63 |
- Makefile and get(e)uid patches (cf. 0.8.0-alt3) appear |
64 |
to have been merged into the upstream. |
65 |
|
66 |
* Fri Oct 14 2011 Michael Shigorin <mike@altlinux.org> 0.8.0-alt3 |
66 |
* Fri Oct 14 2011 Michael Shigorin <mike@altlinux.org> 0.8.0-alt3 |
67 |
- replaced my kludge with a patch by vx8400/gmail.com (thx!) |
67 |
- replaced my kludge with a patch by vx8400/gmail.com (thx!) |
68 |
|
68 |
|