1 | Summary:Ncurses based UP traffic monitoring |
---|
2 | Summary(ja):Ncurses ¥Ù¡¼¥¹¤Î¥È¥é¥Õ¥£¥Ã¥¯¡¦¥â¥Ë¥¿ |
---|
3 | Name: trafshow |
---|
4 | Version: 1.3 |
---|
5 | Release: 5vl3 |
---|
6 | License: GPL2 |
---|
7 | Group: Applications/Internet |
---|
8 | Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/management/trafshow-1.3.tar.gz |
---|
9 | Patch0: trafshow-1.3-glibc.patch |
---|
10 | Patch1: trafshow-1.3-config.patch |
---|
11 | Buildroot: %{_tmppath}/%{name}-root |
---|
12 | ExclusiveArch: %{ix86} |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | |
---|
16 | %description |
---|
17 | Ncurses based UP traffic monitoring |
---|
18 | |
---|
19 | %description -l ja |
---|
20 | ncurses ¥Ù¡¼¥¹¤Î¥Í¥Ã¥È¥ï¡¼¥¯¡¦¥È¥é¥Õ¥£¥Ã¥¯¥â¥Ë¥¿¤Ç¤¹¡£ |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q |
---|
24 | %patch -p1 |
---|
25 | %patch1 -p1 |
---|
26 | |
---|
27 | %build |
---|
28 | make clean |
---|
29 | make |
---|
30 | |
---|
31 | %install |
---|
32 | rm -rf %{buildroot} |
---|
33 | mkdir -p %{buildroot}{/usr/bin,%{_mandir}/man1} |
---|
34 | install -s -m 4711 trafshow %{buildroot}/usr/bin |
---|
35 | install -m 644 trafshow.1 %{buildroot}%{_mandir}/man1 |
---|
36 | |
---|
37 | # prepare applnk |
---|
38 | |
---|
39 | %define applnkdir /etc/X11/applnk/Administration |
---|
40 | mkdir -p %{buildroot}/%{applnkdir} |
---|
41 | cat > %{buildroot}/%{applnkdir}/%{name}.desktop <<EOF |
---|
42 | [Desktop Entry] |
---|
43 | Name=%{name} |
---|
44 | Type=Administration |
---|
45 | Comment=Network Traffic Monitor |
---|
46 | Comment[ja]=¥Í¥Ã¥È¥ï¡¼¥¯¡¦¥È¥é¥Õ¥£¥Ã¥¯¡¦¥â¥Ë¥¿ |
---|
47 | Exec=kterm -e trafshow |
---|
48 | Terminal=false |
---|
49 | EOF |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf %{buildroot} |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root) |
---|
56 | %doc COPYING TODO |
---|
57 | %config(missingok) %{applnkdir}/%{name}.desktop |
---|
58 | /usr/bin/trafshow |
---|
59 | %{_mandir}/man1/trafshow.1* |
---|
60 | |
---|
61 | %changelog |
---|
62 | * Thu Feb 07 2002 Toru Sagami <sagami@vinelinux.org> 1.3-5vl3 |
---|
63 | - install man pages into %%{_mandir} |
---|
64 | - ExclusiveArch: %%{ix86} instead of i386 |
---|
65 | |
---|
66 | * Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org> |
---|
67 | - 1.3-5vl2 |
---|
68 | - tiny fix of spec file |
---|
69 | - use applink instead of wmconfig |
---|
70 | - build for Vine Linux 2.1 |
---|
71 | |
---|
72 | * Sat Jan 22 2000 Jun Nishii <jun@vinelinux.org> |
---|
73 | - build for Vine Linux 2.0 |
---|
74 | |
---|
75 | * Sun Jun 7 1998 Alexey Nogin <ayn2@cornell.edu> |
---|
76 | |
---|
77 | - wmconfig should be %config'ed |
---|
78 | |
---|
79 | * Sun May 3 1998 Alexey Nogin <ayn2@cornell.edu> |
---|
80 | |
---|
81 | - added BuildRoot directive |
---|
82 | - added man page to binary RPM |
---|
83 | - added trafshow wmconfig file |
---|
84 | |
---|
85 | * Fri Dec 5 1997 Otto Hammersmith <otto@redhat.com> |
---|
86 | |
---|
87 | - made exclusive to i386 -- there is asm code in there |
---|
88 | |
---|
89 | * Tue Nov 18 1997 Otto Hammersmith <otto@redhat.com> |
---|
90 | |
---|
91 | - added changelog |
---|
92 | - fixed src url |
---|
93 | - updated version |
---|
94 | |
---|