# Conditional build:
%bcond_without dist_kernel # allow non-distribution kernel
%bcond_without kernel # don't build kernel modules
+%bcond_without up # don't build UP modules
%bcond_without smp # don't build SMP modules
%bcond_with unicode # use wx-gtk2-unicode-config instead of ansi
%bcond_without userspace # don't build userspace applications
Requires: kernel-net(atmelwlandriver) = %{version}
%description winter
-Winter is an X application, that provides a visual enviroment to
+Winter is an X application, that provides a visual environment to
configure and manage ATMEL cards. It's functionality is similar to
that of lvnet, extended by very useful features such as profiles,
localization and support for more than one devices alternatively.
%depmod %{_kernel_ver}smp
%if %{with kernel}
+%if %{with up} || %{without dist_kernel}
%files -n kernel-net-atmelwlandriver
%defattr(644,root,root,755)
%doc CHANGES README
%attr(755,root,root) %{_sbindir}/fastvnet.sh
/lib/modules/%{_kernel_ver}/kernel/drivers/net/pcmcia/*.ko*
/lib/modules/%{_kernel_ver}/kernel/drivers/usb/net/*.ko*
+%endif
%if %{with smp} && %{with dist_kernel}
%files -n kernel-smp-net-atmelwlandriver