]> git.pld-linux.org Git - packages/diag-ether.git/blob - diag-ether.spec
7210164295706564d2c21dea50a9c7bb4e36c9da
[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:        20021228
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.bz2
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Diagnostic and configuration programs for most common Ethernet
16 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} CC="%{__cc}" CFLAGS="%{rpmcflags}"
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
32 for bin in *; do
33         if [ -x $bin ]; then
34                 install $bin    $RPM_BUILD_ROOT%{_sbindir}
35         fi
36 done
37 install *.8 $RPM_BUILD_ROOT%{_mandir}/man8
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_sbindir}/*
45 %attr(644,root,root) %{_mandir}/man8/*
This page took 0.081309 seconds and 2 git commands to generate.