source: projects/specs/trunk/t/trafshow/trafshow-vl.spec @ 521

Revision 521, 2.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:Ncurses based UP traffic monitoring
2Summary(ja):Ncurses ¥Ù¡¼¥¹¤Î¥È¥é¥Õ¥£¥Ã¥¯¡¦¥â¥Ë¥¿
3Name: trafshow
4Version: 1.3
5Release: 5vl3
6License: GPL2
7Group: Applications/Internet
8Source0: ftp://sunsite.unc.edu/pub/Linux/system/network/management/trafshow-1.3.tar.gz
9Patch0: trafshow-1.3-glibc.patch
10Patch1: trafshow-1.3-config.patch
11Buildroot: %{_tmppath}/%{name}-root
12ExclusiveArch: %{ix86}
13Vendor: Project Vine
14Distribution: Vine Linux
15
16%description
17Ncurses based UP traffic monitoring
18
19%description -l ja
20ncurses ¥Ù¡¼¥¹¤Î¥Í¥Ã¥È¥ï¡¼¥¯¡¦¥È¥é¥Õ¥£¥Ã¥¯¥â¥Ë¥¿¤Ç¤¹¡£
21
22%prep
23%setup -q
24%patch -p1
25%patch1 -p1
26
27%build
28make clean
29make
30
31%install
32rm -rf %{buildroot}
33mkdir -p %{buildroot}{/usr/bin,%{_mandir}/man1}
34install -s -m 4711 trafshow %{buildroot}/usr/bin
35install -m 644 trafshow.1 %{buildroot}%{_mandir}/man1
36
37# prepare applnk
38
39%define applnkdir /etc/X11/applnk/Administration
40mkdir -p %{buildroot}/%{applnkdir}
41cat > %{buildroot}/%{applnkdir}/%{name}.desktop <<EOF
42[Desktop Entry]
43Name=%{name}
44Type=Administration
45Comment=Network Traffic Monitor
46Comment[ja]=¥Í¥Ã¥È¥ï¡¼¥¯¡¦¥È¥é¥Õ¥£¥Ã¥¯¡¦¥â¥Ë¥¿
47Exec=kterm -e trafshow
48Terminal=false
49EOF
50
51%clean
52rm -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
Note: See TracBrowser for help on using the repository browser.