Package ethtool: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | %define nt_name net-tools %define nt_version 1.60 Name: ethtool Version: 6 Release: alt1 Summary: Ethernet settings tools for network cards License: GPL Group: System/Configuration/Networking Url: http://sourceforge.net/projects/gkernel/ Packager: Michael Shigorin <mike@altlinux.org> # http://git.kernel.org/?p=network/ethtool/ethtool.git;a=summary # git://git.kernel.org/pub/scm/network/ethtool/ethtool.git Source: http://prdownloads.sourceforge.net/gkernel/%name-%version.tar.gz Source1: %name.sysconfig Source2: %name.init Source3: %name-readme.alt Source4: ftp://ftp.scyld.com/pub/diag/ether-wake.c Source5: http://www.tazenda.demon.co.uk/phil/%nt_name/%nt_name-%nt_version.tar.bz2 Patch1: net-tools-1.60-rh-gcc33.patch Patch2: net-tools-1.60-rh-mii-doc.patch Patch3: net-tools-1.60-alt-mii-tool-fflush.patch Patch4: net-tools-1.60-rh-miiioctl.patch Summary(ru_RU.KOI8-R): \xd5\xd4\xc9\xcc\xc9\xd4\xc1 \xce\xc1\xd3\xd4\xd2\xcf\xca\xcb\xc9 Ethernet-\xcb\xc1\xd2\xd4 Summary(uk_UA.KOI8-U): \xd5\xd4\xc9̦\xd4\xc1 \xce\xc1\xcc\xc1\xdb\xd4\xd5\xd7\xc1\xce\xce\xd1 Ethernet-\xcb\xc1\xd2\xd4\xcf\xcb Conflicts: net-tools <= 1.60-alt11 %description This utility allows querying and changing of ethernet card settings, such as speed, port, and autonegotiation. %description -l ru_RU.KOI8-R \xfc\xd4\xc1 \xd5\xd4\xc9\xcc\xc9\xd4\xc1 \xd0\xcf\xda\xd7\xcf\xcc\xd1\xc5\xd4 \xda\xc1\xd0\xd2\xcf\xd3 \xc9 \xc9\xda\xcd\xc5\xce\xc5\xce\xc9\xc5 \xd0\xc1\xd2\xc1\xcd\xc5\xd4\xd2\xcf\xd7 Ethernet-\xcb\xc1\xd2\xd4\xd9, \xd4\xc1\xcb\xc9\xc8 \xcb\xc1\xcb \xd3\xcb\xcf\xd2\xcf\xd3\xd4\xd8, \xd0\xcf\xd2\xd4, autonegotiation. %description -l uk_UA.KOI8-U \xe3\xd1 \xd5\xd4\xc9̦\xd4\xc1 \xc4\xcf\xda\xd7\xcf\xccѤ \xcf\xd0\xc9\xd4\xd5\xd7\xc1\xce\xce\xd1 \xd4\xc1 \xdaͦ\xce\xc0\xd7\xc1\xce\xce\xd1 \xd0\xc1\xd2\xc1\xcd\xc5\xd4Ҧ\xd7 Ethernet-\xcb\xc1\xd2\xd4\xcb\xc9, \xd4\xc1\xcb\xc9\xc8 \xd1\xcb \xdb\xd7\xc9\xc4˦\xd3\xd4\xd8, \xd0\xcf\xd2\xd4, autonegotiation. %prep %setup -q tar xjf %SOURCE5 %patch1 %patch2 %patch3 %patch4 %build gcc $RPM_OPT_FLAGS %SOURCE4 -o ether-wake %make_build -C %nt_name-%nt_version mii-tool %make_build -C %nt_name-%nt_version/man all %configure %make_build %install %makeinstall mkdir -p %buildroot%_sysconfdir/sysconfig %buildroot%_initdir mkdir -p %buildroot%_docdir/%name-%version install -m644 %SOURCE1 %buildroot%_sysconfdir/sysconfig/%name install -m755 %SOURCE2 %buildroot%_initdir/%name install -m644 %SOURCE3 README.ALT install -p -m755 ether-wake %buildroot%_sbindir/ install -p -m755 %nt_name-%nt_version/mii-tool %buildroot%_sbindir/ install -p -m755 %nt_name-%nt_version/man/en_US/mii-tool.8 %buildroot%_man8dir/ %post %post_service %name %preun %preun_service %name %files %doc README.ALT %_man8dir/* %_sbindir/* %_initdir/* %config(noreplace) %_sysconfdir/sysconfig/%name %changelog * Wed Aug 20 2008 Michael Shigorin <mike@altlinux.org> 6-alt1 - 6 + several years of silent development + two security-related fixes in versions 5 and 6 - spec cleanup * Mon Apr 16 2007 ALT QA Team Robot <qa-robot@altlinux.org> 3-alt5.0 - Automated rebuild. * Thu Dec 22 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt5 - fixing #8656 (initscript and %_sysconfdir/net) * Wed Aug 10 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt4 - fixed #7638 (mii-tool is broken) * Tue May 17 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt3 - one more #6360 fix attempt * Mon May 16 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt2 - #6360 adjustment * Fri May 13 2005 Denis Ovsienko <pilot@altlinux.ru> 3-alt1 - new ethtool version - adopted ether-wake and mii-tool from net-tools * Tue Oct 29 2002 Michael Shigorin <mike@altlinux.ru> 1.7-alt1 - 1.7 - built with gcc 3.2 * Wed Jun 05 2002 Michael Shigorin <mike@altlinux.ru> 1.5-alt1 - built for ALT Linux - spec adapted from Cooker/PLD and largely cleaned up - new and shiny sysconfig-driven wrapper initscript added |