]> git.pld-linux.org Git - packages/bcm5700.git/blame - bcm5700.spec
- fixed depmod in %%post and %%postun when build with _without_dist_kernel
[packages/bcm5700.git] / bcm5700.spec
CommitLineData
c03a0515
JB
1#
2# Conditional build:
2fa67166 3# _without_dist_kernel without distribution kernel
c03a0515 4#
2fa67166 5%define _orig_name bcm5700
2fa67166 6
361df822
JB
7Summary: Linux driver for the 3Com Gigabit Server BCM5700 (3c996) Network Interface Cards
8Summary(pl): Sterownik dla Linuksa do kart sieciowych gigabit ethernet BCM5700 (3c996)
2fa67166 9Name: kernel-net-%{_orig_name}
a7e0b40b 10Version: 2.2.27
11%define _rel 1
2fa67166 12Release: %{_rel}@%{_kernel_ver_str}
13License: GPL
14Group: Base/Kernel
2fa67166 15Source0: http://support.3com.com/infodeli/tools/nic/linux/%{_orig_name}-%{version}.tar.gz
1949831a 16URL: http://support.3com.com/infodeli/tools/nic/linuxdownload.htm
2fa67166 17%{!?_without_dist_kernel:BuildRequires: kernel-headers }
8641d84b 18BuildRequires: %{kgcc_package}
361df822 19%{!?_without_dist_kernel:%requires_releq_kernel_up}
1949831a 20Requires(post,postun): /sbin/depmod
2fa67166 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
361df822 24Linux driver for the 3Com Gigabit Server BCM5700 (3c996) Network
bfc08eb7 25Interface Cards.
2fa67166 26
27%description -l pl
361df822
JB
28Sterownik dla Linuksa do kart sieciowych gigabit ethernet BCM5700
29