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