source: projects/specs/trunk/e/ethtool/ethtool-vl.spec @ 521

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

import VineSeed package specs

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:      1%{?_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* Tue Aug 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6-1
69- new upstream release
70- new versioning policy, spec to utf-8
71- move ethtool to /sbin
72
73* Sun Sep 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5-0vl2
74- rebuilt for VineSeed with new toolchain
75- /usr/sbin/ethtool also installed as /sbin/ethtool as a symlink
76  (see <BTS:0548>)
77
78* Mon Sep 18 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5-0vl1
79- new upstream release
80
81* Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-0vl1
82- updated to 1.8
83- rebuild with new toolchains
84
85* Thu Dec 12 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.7-0vl1
86- updated to new upstream release
87
88* Mon Sep 23 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6-0vl1
89- first package for Vine Linux
90  (Vine/sparc has a package whose name is "ethtool" for SPARC HME cards...
91   is this the same program in origin?)
92
Note: See TracBrowser for help on using the repository browser.