]> git.pld-linux.org Git - packages/diag-ether.git/blob - diag-ether.spec
52cb59e329ff2ea85245c90da51bda400fb1774b
[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 # Manually packaged using sources at: ftp://www.scyld.com/pub/diag/
11 Source0:        %{name}-%{version}.tar.gz
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Diagnostic and configuration programs for most common Ethernet adapters                             supported by Linux.
16
17 %description -l pl
18 Narzêdzia diagnostyczne i konfiguracyjne dla najbardziej popularnych
19 kart Ethernet pracuj±cych pod Linuxem.
20
21 %prep
22 %setup -q -n %{name}
23
24 %build
25 %{__make} CC="%{__cc}" CFLAGS="%{rpmcflags}"
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_sbindir}
30
31 for bin in *; do
32         if [ -x $bin ]; then
33                 install $bin    $RPM_BUILD_ROOT%{_sbindir}
34         fi
35 done
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.html
43
44 %attr(755,root,root) %{_sbindir}/*
This page took 0.039283 seconds and 2 git commands to generate.