source: projects/specs/branches/6/e/ethtool/ethtool-vl.spec @ 3530

Revision 3530, 2.6 KB checked in by tomop, 13 years ago (diff)

ethtool-6-2

Line 
1# install ethtool to /sbin
2%define _sbindir /sbin
3
4Summary:      A tool for setting ethernet parameters
5Summary(ja):  Ethernet コントローラ設定ツール
6
7Name:         ethtool
8Version:      6
9Release:      2%{?_dist_release}
10
11Group:        Applications/System
12License:      GPL
13URL:          http://sourceforge.net/projects/gkernel/
14
15Source:       %{name}-%{version}.tar.gz
16BuildRoot:    %{_tmppath}/%{name}-%{version}-root
17
18Vendor:       Project Vine
19Distribution: Vine Linux
20Packager:     MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
21
22
23%description
24Ethtool is a small utility to get and set values from your your ethernet
25controllers.  Not all ethernet drivers support ethtool, but it is getting
26better.  If your ethernet driver doesn't support it, ask the maintainer to
27write support - it's not hard!
28
29%description -l ja
30Ethtool は ethernet コントローラの各種設定値を取得したり,
31設定したりすることの出来る小さなユーティリティです.
32現状では ethtool は全ての ethernet ドライバをサポートしていませんが,
33徐々にサポートドライバを増やしています.
34あなたの ethernet ドライバが未だサポートされていなければ,
35開発者に問い合わせてみて下さい.
36
37
38%prep
39%setup -q
40
41
42%build
43%configure
44make
45
46
47%install
48rm -rf ${RPM_BUILD_ROOT}
49
50%makeinstall
51mkdir -p %{buildroot}/usr/sbin
52ln -s %{_sbindir}/ethtool %{buildroot}/usr/sbin
53
54
55%clean
56rm -rf ${RPM_BUILD_ROOT}
57
58
59%files
60%defattr(-,root,root)
61%{_sbindir}/ethtool
62/usr/sbin/ethtool
63%{_mandir}/man8/ethtool.8*
64%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
65
66
67%changelog
68* Sun Apr 17 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6-2
69- rebuilt with recent environment.
70
71* Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6-1
72- new upstream release
73- new versioning policy, spec to utf-8
74- move ethtool to /sbin
75
76* Sun Sep 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5-0vl2
77- rebuilt for VineSeed with new toolchain
78- /usr/sbin/ethtool also installed as /sbin/ethtool as a symlink
79  (see <BTS:0548>)
80
81* Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5-0vl1
82- new upstream release
83
84* Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
85- updated to 1.8
86- rebuild with new toolchains
87
88* Thu Dec 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-0vl1
89- updated to new upstream release
90
91* Mon Sep 23 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6-0vl1
92- first package for Vine Linux
93  (Vine/sparc has a package whose name is "ethtool" for SPARC HME cards...
94   is this the same program in origin?)
95
Note: See TracBrowser for help on using the repository browser.