-
-%package -n kernel%{_alt_kernel}-video-nvidiabl
-Summary: Linux driver for nVidia display back-lights
-Summary(pl.UTF-8): Sterownik dla Linuksa do nvidiabl
-Release: %{rel}@%{_kernel_ver_str}
-Group: Base/Kernel
-Requires(post,postun): /sbin/depmod
-%if %{with dist_kernel}
-%requires_releq_kernel
-Requires(postun): %releq_kernel
-%endif
-
-%description -n kernel%{_alt_kernel}-video-nvidiabl
-This driver drives the smartdimmer register found on modern mobile
-nVidia graphics adapters such as NV40, NV41, NV43, NV44, NV46, NV47,
-NV49, NV4B, C51, G84, G86, G92, G94, G96, GT200 architectures to
-adjust the display backlight.
-
-On Apple machines this driver allows more fine-grained brightness
-adjustment than the (mbp_nvidia_bl) driver and is generally preferred.
-
-%description -n kernel%{_alt_kernel}-video-nvidiabl -l pl.UTF-8
-Sterownik dla Linuksa do nvidiabl.
-
-Ten pakiet zawiera moduł jądra Linuksa.
+%description -n dkms-%{pname} -l pl.UTF-8
+Ten pakiet zawiera zgodny z DKMS sterownik do podświetlania
+wyświetlacza laptopów z kartą graficzną firmy nVidia.
+
+Ten sterownik steruje rejestrem "smartdimmer" obecnym we współczesnych
+mobilnych kartach graficznych firmy nVidia (takich jak architektury
+NV40, NV41, NV43, NV44, NV46, NV47, NV49, NV4B, C51, G84, G86, G92,
+G94, G96, GT200), służącym do regulacji podświetlenia wyświetlacza.
+
+Na komputerach firmy Apple ten sterownik pozwala na dokładniejsze
+ustawianie jasności niż sterownik mbp_nvidia_bl i ogólnie jest
+zalecany.
+
+%define kernel_pkg()\
+%package -n kernel%{_alt_kernel}-video-nvidiabl\
+Summary: Linux driver for nVidia display back-lights\
+Summary(pl.UTF-8): Sterownik dla Linuksa do podświetlania wyświetlacza dla kart firmy nVidia\
+Release: %{rel}@%{_kernel_ver_str}\
+Group: Base/Kernel\
+Requires(post,postun): /sbin/depmod\
+%requires_releq_kernel\
+Requires(postun): %releq_kernel\
+\
+%description -n kernel%{_alt_kernel}-video-nvidiabl\
+This driver drives the smartdimmer register found on modern mobile\
+nVidia graphics adapters such as NV40, NV41, NV43, NV44, NV46, NV47,\
+NV49, NV4B, C51, G84, G86, G92, G94, G96, GT200 architectures to\
+adjust the display backlight.\
+\
+On Apple machines this driver allows more fine-grained brightness\
+adjustment than the (mbp_nvidia_bl) driver and is generally preferred.\
+\
+%description -n kernel%{_alt_kernel}-video-nvidiabl -l pl.UTF-8\
+Ten sterownik steruje rejestrem "smartdimmer" obecnym we współczesnych\
+mobilnych kartach graficznych firmy nVidia (takich jak architektury\
+NV40, NV41, NV43, NV44, NV46, NV47, NV49, NV4B, C51, G84, G86, G92,\
+G94, G96, GT200), służącym do regulacji podświetlenia wyświetlacza.\
+\
+Na komputerach firmy Apple ten sterownik pozwala na dokładniejsze\
+ustawianie jasności niż sterownik mbp_nvidia_bl i ogólnie jest\
+zalecany.\
+\
+%files -n kernel%{_alt_kernel}-video-nvidiabl\
+%defattr(644,root,root,755)\
+/lib/modules/%{_kernel_ver}/misc/*.ko*\
+%config(noreplace) %verify(not md5 mtime size) /etc/modprobe.d/%{pname}.conf\
+\
+%post -n kernel%{_alt_kernel}-video-nvidiabl\
+%depmod %{_kernel_ver}\
+\
+%postun -n kernel%{_alt_kernel}-video-nvidiabl\
+%depmod %{_kernel_ver}\
+%{nil}
+
+%define build_kernel_pkg()\
+%build_kernel_modules -m nvidiabl\
+%install_kernel_modules -D installed -m nvidiabl -d misc\
+%{nil}
+
+%{expand:%create_kernel_packages}