]> git.pld-linux.org Git - packages/diag-ether.git/blob - diag-ether.spec
new; ethernet diagnostic tools
[packages/diag-ether.git] / diag-ether.spec
1 Summary:        Diagnostic program for Ethernet adapters under Linux.
2 Summary(pl):    Programy diagnostyczne dla kart sieciowych.
3 Name:           diag-ether
4 # Version is last update date: yyyymmdd
5 Version:        20010318
6 Release:        1
7 Vendor:         Donald Becker <becker@scyld.com>
8 License:        GPL
9 Group:          Networking/Admin
10 Group(pl):      Sieciowe/Administracyjne
11 # Manually packaged using sources at: ftp://www.scyld.com/pub/diag/
12 Source0:        %{name}-%{version}.tar.gz
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Diagnostic and configuration programs for most common Ethernet adapters                             supported by Linux.
17
18 %description -l pl
19 Narzêdzia diagnostyczne i konfiguracyjne dla najbardziej popularnych
20 kart Ethernet pracuj±cych pod Linuxem.
21
22 %prep
23 %setup -q -n %{name}
24
25 %build
26 %{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-g -O0}"
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_sbindir}
31
32 for bin in *; do
33         if [ -x $bin ]; then
34                 install $bin    $RPM_BUILD_ROOT%{_sbindir}
35         fi
36 done
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc *.html
44
45 %attr(755,root,root) %{_sbindir}/*
This page took 0.064915 seconds and 3 git commands to generate.