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

Revision 7621, 2.6 KB checked in by daisuke, 11 years ago (diff)

ethtool: update to 3.8 (add epoch..)

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