Пакет kernel-modules-nvidia-ovz-el: Specfile

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
%define nvIF_ver_gt() %if "%(rpmvercmp '%1' '%2')" > "0"
%define nvIF_ver_gteq() %if "%(rpmvercmp '%1' '%2')" >= "0"
%define nvIF_ver_lt() %if "%(rpmvercmp '%2' '%1')" > "0"
%define nvIF_ver_lteq() %if "%(rpmvercmp '%2' '%1')" >= "0"

%define module_name	nvidia
%define module_version 340.65
%define module_release alt0.M70P.2
%define flavour		ovz-el

%setup_kernel_module %flavour
%define module_srcver	%(echo %module_version | tr -d .)
%define xorg_ver %{get_version xorg-server}
%if "%xorg_ver" == ""
%define xorg_ver %{get_version xorg-x11-server}
%endif
%nvIF_ver_lt %xorg_ver 1.6
%define legacy1 71.86.13
%else
%define legacy1 %nil
%endif
%define legacy1_src %(echo %legacy1 | tr -d .)
%nvIF_ver_lt %xorg_ver 1.13
%define legacy2 96.43.23
%else
%define legacy2 %nil
%endif
%define legacy2_src %(echo %legacy2 | tr -d .)
%nvIF_ver_lt %xorg_ver 1.16
%define legacy3 173.14.39
%else
%define legacy3 %nil
%endif
%define legacy3_src %(echo %legacy3 | tr -d .)
%nvIF_ver_lt %xorg_ver 1.18
%define legacy4 304.125
%else
%define legacy4 %nil
%endif
%define legacy4_src %(echo %legacy4 | tr -d .)
%define mod_ver_list %version %legacy1 %legacy2 %legacy3 %legacy4

%define module_dir /lib/modules/%kversion-%flavour-%krelease/nVidia
%define module_local_dir /lib/modules/nvidia
%define module_version_dir /lib/modules/%kversion-%flavour-%krelease/.versions
%define nvidia_workdir %_localstatedir/nvidia
%define module_ext .ko
%nvIF_ver_lt "%kversion" "2.5.0"
%define module_ext .o
%endif

Summary:	nVidia video card drivers
Name:		kernel-modules-%module_name-%flavour
Version:	%module_version
Release:	%module_release.%kcode.%kbuildrelease
License:	Proprietary
Group:		System/Kernel and hardware
URL:		http://www.nvidia.com

Packager:       Kernel Maintainer Team <kernel@packages.altlinux.org>

ExclusiveArch: %karch

BuildRequires(pre): rpm-build-kernel xorg-x11-server
BuildRequires(pre): kernel-headers-modules-ovz-el
BuildRequires: rpm-utils
BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
BuildRequires: kernel-source-%module_name-%module_srcver
%if "%legacy1" != "%nil"
BuildRequires: kernel-source-%module_name-%legacy1_src
%endif
%if "%legacy2" != "%nil"
BuildRequires: kernel-source-%module_name-%legacy2_src
%endif
%if "%legacy3" != "%nil"
BuildRequires: kernel-source-%module_name-%legacy3_src
%endif
%if "%legacy4" != "%nil"
BuildRequires: kernel-source-%module_name-%legacy4_src
%endif

Provides:  	kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release
Conflicts: 	kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release
Conflicts: 	kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release

Conflicts: modutils < 2.4.27-alt4

PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease
Requires:       nvidia_glx_%version
%if "%legacy1" != "%nil"
Requires:       nvidia_glx_%legacy1
%endif
%if "%legacy2" != "%nil"
Requires:       nvidia_glx_%legacy2
%endif
%if "%legacy3" != "%nil"
Requires:       nvidia_glx_%legacy3
%endif
%if "%legacy4" != "%nil"
Requires:       nvidia_glx_%legacy4
%endif

%description
nVidia video card drivers that provide 3d and 2d graphics support for XFree86
Xserver.


%prep
%setup -cT
for ver in %mod_ver_list
do
    sffx=`echo "$ver"| sed -e "s|\.||g"`
    rm -rf kernel-source-%module_name-$sffx
    tar -jxvf %_usrsrc/kernel/sources/kernel-source-%module_name-$sffx.tar.bz2

    pushd kernel-source-%module_name-$sffx
    rm -f makefile
    if [ -f Makefile.kbuild ]; then
	rm -f Makefile
	ln -s Makefile.kbuild Makefile
    fi
    popd
done


%build
for ver in %mod_ver_list
do
    sffx=`echo "$ver"| sed -e "s|\.||g"`
    pushd kernel-source-%module_name-$sffx
    %make_build -C %_usrsrc/linux-%kversion-%flavour modules \
	SUBDIRS=$PWD TEMP_DIR=$PWD/ \
	ARCH=%base_arch \
	SYSSRC=%_usrsrc/linux-%kversion-%flavour
    popd
done

%install
mkdir -p %buildroot/%module_dir
mkdir -p %buildroot/%module_local_dir
mkdir -p %buildroot/%module_version_dir
mkdir -p %buildroot/%nvidia_workdir

for ver in %mod_ver_list
do
    sffx=`echo "$ver"| sed -e "s|\.||g"`
    pushd kernel-source-%module_name-$sffx
    install -p -m644 %module_name%module_ext %buildroot/%module_local_dir/%kversion-%flavour-%krelease-$ver
popd
done

echo -n "%version" >%buildroot/%nvidia_workdir/%kversion-%flavour-%krelease
ln -s %nvidia_workdir/%kversion-%flavour-%krelease %buildroot/%module_version_dir/%module_name
ln -s %module_local_dir/%kversion-%flavour-%krelease-%version %buildroot/%module_dir/%module_name%module_ext


%post
# switch nvidia driver and libraries
if [ -z "$DURING_INSTALL" ]; then
    if [ "`uname -r`" == "%kversion-%flavour-%krelease" ] ; then
	X11PRESETDRV=`which x11presetdrv 2>/dev/null`
	if [ -n "$X11PRESETDRV" ]; then
	    $X11PRESETDRV ||:
	else
	    echo "Warning! x11presetdrv program not found!" >&2
	fi
    fi
fi

%postun
if [ -z "$DURING_INSTALL" ]; then
    if [ "`uname -r`" == "%kversion-%flavour-%krelease" ] ; then
	X11PRESETDRV=`which x11presetdrv 2>/dev/null`
	if [ -n "$X11PRESETDRV" ]; then
	    $X11PRESETDRV ||:
	else
	    echo "Warning! x11presetdrv program not found!" >&2
	fi
    fi
fi

%files
%defattr(644,root,root,755)
%module_dir
%module_version_dir/%module_name
%module_local_dir/%kversion-%flavour-%krelease-*
%config(noreplace) %nvidia_workdir/%kversion-%flavour-%krelease

%changelog
* %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release
- Build for kernel-image-%flavour-%kversion-%krelease.

* Fri Mar 04 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 340.65-alt0.M70P.2
- Bumped release.

* Tue Dec 23 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 340.65-alt0.M70P.1
- Backported to p7 branch (new ovz-el kernel).

* Fri Dec 19 2014 Gleb F-Malinovskiy <glebfm@altlinux.org> 340.65-alt1
- Updated template for 340.65.

* Thu Aug 21 2014 Led <led@altlinux.ru> 340.32-alt1
- new release (340.32)

* Thu Jul 24 2014 Led <led@altlinux.ru> 340.24-alt1
- new releases (330.24, 304.123)

* Sun Jun 15 2014 Led <led@altlinux.ru> 331.79-alt2
- enabled legacy3 and legacy4

* Sat May 24 2014 Led <led@altlinux.ru> 331.79-alt1
- new releases (331.79)

* Fri May 09 2014 Led <led@altlinux.ru> 331.67-alt1
- new releases (331.67, 304.121)

* Fri Feb 21 2014 Led <led@altlinux.ru> 331.49-alt1
- new release (331.49)

* Thu Jan 30 2014 Led <led@altlinux.ru> 331.38-alt2
- new release (304.119)

* Wed Jan 15 2014 Led <led@altlinux.ru> 331.38-alt1
- new releases (331.38, 304.117, 173.14.39)
- enabled legacy3

* Fri Nov 29 2013 Led <led@altlinux.ru> 331.20-alt1
- new release (331.20)

* Fri Nov 08 2013 Led <led@altlinux.ru> 319.72-alt1
- new releases (319.72, 304.116, 173.14.38)

* Mon Oct 07 2013 Led <led@altlinux.ru> 319.60-alt1
- new release (319.60)

* Wed Sep 11 2013 Led <led@altlinux.ru> 319.49-alt1
- new releases (319.49 and 304.108)

* Sat Sep 07 2013 Led <led@altlinux.ru> 319.32-alt3
- don't build stolidly broken legacy3 for kernels < 3.10

* Fri Jul 12 2013 Led <led@altlinux.ru> 319.32-alt2
- removed requires of kernel-modules-drm-*

* Wed Jun 26 2013 Sergey V Turchin <zerg at altlinux dot org> 319.32-alt1..
- new release (319.32)

* Fri May 24 2013 Sergey V Turchin <zerg at altlinux dot org> 319.23-alt1..
- new release (319.23)

* Thu May 23 2013 Sergey V Turchin <zerg at altlinux dot org> 319.17-alt2..
- require kernel-modules-drm

* Tue May 14 2013 Sergey V Turchin <zerg at altlinux dot org> 319.17-alt1..
- new release (319.17)

* Wed Apr 03 2013 Sergey V Turchin <zerg at altlinux dot org> 310.44-alt1..
- new releases (310.44 and 304.88)
- security fixes:
  CVE-2013-0131

* Mon Mar 11 2013 Sergey V Turchin <zerg at altlinux dot org> 310.40-alt1
- new release (310.40 and 173.14.37 with xorg-server-1.14 support)

* Thu Mar 07 2013 Sergey V Turchin <zerg at altlinux dot org> 310.32-alt2
- new release (304.84 with xorg-server-1.14 support)

* Wed Jan 23 2013 Sergey V Turchin <zerg at altlinux dot org> 310.32-alt1
- new release (310.32)

* Fri Dec 07 2012 Sergey V Turchin <zerg at altlinux dot org> 310.19-alt2
- remove *_kernel_modules macroses using
- remove x11setupdrv using

* Mon Nov 19 2012 Sergey V Turchin <zerg at altlinux dot org> 310.19-alt1
- new release (310.19)
- add new legacy branch (304.64)
- fix 173.X xorg dependency

* Thu Nov 08 2012 Sergey V Turchin <zerg at altlinux dot org> 304.64-alt1
- new release (304.64)

* Mon Oct 29 2012 Sergey V Turchin <zerg at altlinux dot org> 304.60-alt1
- new release (304.60)

* Tue Oct 02 2012 Sergey V Turchin <zerg at altlinux dot org> 304.51-alt2
- new releases 173.14.35 and 96.43.23 with xorg-server-1.12 support)

* Tue Oct 02 2012 Sergey V Turchin <zerg at altlinux dot org> 304.51-alt1
- new release (304.51)

* Wed Aug 29 2012 Sergey V Turchin <zerg at altlinux dot org> 304.43-alt1
- new release (304.43)

* Tue Aug 14 2012 Sergey V Turchin <zerg at altlinux dot org> 304.37-alt1
- new release (304.37)

* Thu Jul 12 2012 Sergey V Turchin <zerg at altlinux dot org> 302.17-alt1
- new release (302.17)

* Thu Jun 14 2012 Sergey V Turchin <zerg at altlinux dot org> 295.59-alt1
- new release (295.59)

* Fri Jun 08 2012 Sergey V Turchin <zerg at altlinux dot org> 295.53-alt3
- fix requires

* Thu Jun 07 2012 Sergey V Turchin <zerg at altlinux dot org> 295.53-alt2
- new release (173.14.35 with xorg-server-1.12 support)

* Thu May 17 2012 Sergey V Turchin <zerg at altlinux dot org> 295.53-alt1
- new release (295.53)

* Thu May 03 2012 Sergey V Turchin <zerg at altlinux dot org> 295.49-alt1
- new release (295.49)

* Wed Apr 11 2012 Sergey V Turchin <zerg at altlinux dot org> 295.40-alt1
- new release (295.40)
- fixed CVE-2012-0946

* Mon Mar 26 2012 Sergey V Turchin <zerg at altlinux dot org> 295.33-alt1
- new release (295.33)

* Wed Feb 15 2012 Sergey V Turchin <zerg at altlinux dot org> 295.20-alt1
- new release (295.20)

* Wed Nov 23 2011 Sergey V Turchin <zerg at altlinux dot org> 290.10-alt1
- new release (290.10)

* Tue Oct 04 2011 Sergey V Turchin <zerg at altlinux dot org> 285.05.09-alt1
- new pre-release (285.05.09)

* Wed Aug 03 2011 Sergey V Turchin <zerg at altlinux dot org> 280.13-alt1
- new release (280.13)
- add ExclusiveArch workaround for std-pae

* Tue Aug 02 2011 Sergey V Turchin <zerg at altlinux dot org> 275.21-alt1
- new releases (275.21, 173.14.31, 96.43.20)

* Fri Jul 01 2011 Anton Protopopov <aspsk@altlinux.org> 275.09.07-alt2
- Use @ kernelarch @ macro in ExclusiveArch

* Wed Jun 15 2011 Sergey V Turchin <zerg at altlinux dot org> 275.09.07-alt1
- new release (275.09.07)

* Mon May 23 2011 Sergey V Turchin <zerg at altlinux dot org> 270.41.19-alt1
- new release (270.41.19)

* Mon Apr 25 2011 Sergey V Turchin <zerg at altlinux dot org> 270.41.06-alt1
- new releases (270.41.06, 173.14.30)

* Wed Apr 13 2011 Sergey V Turchin <zerg at altlinux dot org> 270.41.03-alt1
- new release (270.41.03)

* Mon Mar 14 2011 Sergey V Turchin <zerg at altlinux dot org> 260.19.44-alt1
- new release (260.19.44)

* Tue Jan 25 2011 Sergey V Turchin <zerg at altlinux dot org> 260.19.36-alt1
- new release (260.19.36)

* Fri Dec 24 2010 Sergey V Turchin <zerg at altlinux dot org> 260.19.29-alt1
- new release (260.19.29)

* Wed Nov 10 2010 Sergey V Turchin <zerg at altlinux dot org> 260.19.21-alt1
- new release (260.19.21)

* Wed Nov 03 2010 Sergey V Turchin <zerg at altlinux dot org> 260.19.12-alt2
- new release (96.43.19) with xorg-1.9 support

* Mon Oct 25 2010 Sergey V Turchin <zerg at altlinux dot org> 260.19.12-alt1
- new release (260.19.12)

* Fri Oct 01 2010 Sergey V Turchin <zerg at altlinux dot org> 256.53-alt4
- fix to build

* Fri Oct 01 2010 Sergey V Turchin <zerg at altlinux dot org> 256.53-alt3
- new release (173.14.28)

* Fri Oct 01 2010 Sergey V Turchin <zerg at altlinux dot org> 256.53-alt2
- don't build xorg incompatible modules

* Wed Sep 01 2010 Sergey V Turchin <zerg at altlinux dot org> 256.53-alt1
- new release (256.53)

* Tue Aug 31 2010 Sergey V Turchin <zerg at altlinux dot org> 256.52-alt1
- new release (256.52)

* Thu Aug 12 2010 Sergey V Turchin <zerg at altlinux dot org> 256.44-alt1
- new release (256.44)

* Mon Jul 19 2010 Sergey V Turchin <zerg at altlinux dot org> 256.35-alt2
- new releases (173.14.27, 96.43.18)

* Wed Jul 14 2010 Sergey V Turchin <zerg at altlinux dot org> 256.35-alt1
- new release (256.35)

* Tue Jun 14 2010 Sergey V Turchin <zerg at altlinux dot org> 195.36.31-alt1
- new release (195.36.31)

* Mon Apr 26 2010 Sergey V Turchin <zerg at altlinux dot org> 195.36.24-alt1
- new releases (195.36.24, 96.43.17)

* Thu Mar 18 2010 Sergey V Turchin <zerg at altlinux dot org> 195.36.15-alt1
- new release (195.36.15)

* Tue Mar 02 2010 Sergey V Turchin <zerg at altlinux dot org> 195.36.08-alt1
- new release (195.36.08)

* Thu Feb 18 2010 Sergey V Turchin <zerg at altlinux dot org> 195.36.03-alt1
- new beta release (195.36.03)
- new releases (173.14.25, 96.43.16)

* Thu Dec 17 2009 Sergey V Turchin <zerg at altlinux dot org> 190.53-alt1
- new releases (190.53, 173.14.22, 96.43.14)

* Thu Dec 17 2009 Sergey V Turchin <zerg at altlinux dot org> 190.42-alt2
- remove ldconfig from %%post

* Wed Oct 28 2009 Sergey V Turchin <zerg at altlinux dot org> 190.42-alt1
- new release (190.42)

* Tue Sep 08 2009 Sergey V Turchin <zerg at altlinux dot org> 185.18.36-alt2
- don't package legacy 71.86.11 because incompatible with current XOrg

* Mon Aug 24 2009 Sergey V Turchin <zerg at altlinux dot org> 185.18.36-alt1
- new release (185.18.36)

* Tue Aug 04 2009 Sergey V Turchin <zerg at altlinux dot org> 185.18.31-alt1
- new release (185.18.31)

* Thu Jul 02 2009 Sergey V Turchin <zerg at altlinux dot org> 185.18.14-alt3
- new legacy pre-releases (71.86.11, 96.43.13, 173.14.20)

* Tue Jun 23 2009 Sergey V Turchin <zerg at altlinux dot org> 185.18.14-alt2
- new legacy release candidates (71.86.10, 96.43.12, 173.14.19)

* Mon Jun 08 2009 Sergey V Turchin <zerg at altlinux dot org> 185.18.14-alt1
- new release (185.18.14)

* Mon Jun 08 2009 Sergey V Turchin <zerg at altlinux dot org> 180.60-alt1
- new release (180.60)

* Fri Apr 24 2009 Sergey V Turchin <zerg at altlinux dot org> 180.51-alt1
- new release (180.51)

* Thu Apr 02 2009 Sergey V Turchin <zerg at altlinux dot org> 180.44-alt1
- new release (180.44)

* Fri Mar 13 2009 Sergey V Turchin <zerg at altlinux dot org> 180.29-alt2
- new legacy release (173.14.18)

* Thu Mar 12 2009 Sergey V Turchin <zerg at altlinux dot org> 180.29-alt1
- revert to stable 180.29

* Wed Mar 11 2009 Sergey V Turchin <zerg at altlinux dot org> 180.37-alt1
- new beta (180.37)

* Tue Mar 10 2009 Sergey V Turchin <zerg at altlinux dot org> 180.35-alt2
- new legacy release (71.86.09)

* Tue Mar 03 2009 Sergey V Turchin <zerg at altlinux dot org> 180.35-alt1
- new beta (180.35)

* Mon Mar 02 2009 Sergey V Turchin <zerg at altlinux dot org> 180.29-alt1
- new release (180.29)
- new legacy betas (173.14.17, 96.43.11, 71.86.08)
- don't warn if x11setupdrv not found
- don't use deprecated macroses
- always execute %%post_kernel_modules macros

* Sun Jan 11 2009 Sergey V Turchin <zerg at altlinux dot org> 180.22-alt1
- new release (180.22)

* Mon Nov 17 2008 Sergey V Turchin <zerg at altlinux dot org> 177.82-alt1
- new release (177.82)
- new legacy betas (173.14.15, 96.43.09, 71.86.07)

* Wed Oct 08 2008 Sergey V Turchin <zerg at altlinux dot org> 177.80-alt1
- new release (177.80)
- 3 legacy (173.14.12, 96.43.07, 71.86.06)

* Tue Aug 05 2008 Sergey V Turchin <zerg at altlinux dot org> 173.14.12-alt1
- new release (173.14.12)

* Tue Jul 29 2008 Sergey V Turchin <zerg at altlinux dot org> 173.14.09-alt1
- new release (173.14.09)
- new legacy releases(96.43.07, 71.86.06)

* Fri May 30 2008 Sergey V Turchin <zerg at altlinux dot org> 173.14.05-alt1
- new release (173.14.05)

* Wed Feb 27 2008 Sergey V Turchin <zerg at altlinux dot org> 169.12-alt1
- new release (169.12)

* Fri Feb 22 2008 Sergey V Turchin <zerg at altlinux dot org> 169.09-alt2
- new legacy releases(96.43.05, 71.86.04)

* Fri Jan 25 2008 Sergey V Turchin <zerg at altlinux dot org> 169.09-alt1
- new release (169.09)

* Wed Dec 26 2007 Sergey Vlasov <vsu@altlinux.ru> 169.07-alt2
- Restructure the spec file to avoid %%if around the "Version:" line (required
  to work properly with gear, which does not support RPM conditionals).

* Fri Dec 21 2007 Sergey V Turchin <zerg at altlinux dot org> 169.07-alt1
- new release (169.07)

* Mon Oct 01 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.19-alt3
- new legacy releases(96.43.01, 71.86.01)

* Tue Sep 25 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.19-alt2
- bump release to rebuild

* Fri Sep 21 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.19-alt1
- new release (100.14.19)

* Fri Sep 21 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.11-alt3
- fix kernel modile filename

* Tue Sep 18 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.11-alt2
- use new nvidia drivers packaging scheme
- include legacy kernel modules

* Fri Jun 22 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.11-alt1
- new release (100.14.11)

* Sat Jun 09 2007 Sergey V Turchin <zerg at altlinux dot org> 100.14.09-alt1
- new release (100.14.09)

* Thu Mar 15 2007 Sergey V Turchin <zerg at altlinux dot org> 1.0.9755-alt1
- new release (9755)

* Wed Feb 21 2007 Sergey V Turchin <zerg at altlinux dot org> 1.0.9746-alt1
- new release (9746)

* Mon Jan 29 2007 Sergey Vlasov <vsu@altlinux.ru> 1.0.9631-alt2
- Updated dependencies: replaced "Prereq: modutils >= 2.4.27-alt4" with
  "Conflicts: modutils < 2.4.27-alt4" (the dependency on modutils or
  module-init-tools already comes indirectly through kernel-image-%%flavour).

* Thu Dec 07 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.9631-alt1
- new release (9631)

* Thu Nov 09 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.9629-alt1
- new release (9629)

* Fri Nov 03 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.9626-alt1
- new release (9626)

* Wed Oct 25 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8776-alt1
- new release (8776)

* Wed Sep 06 2006 L.A. Kostis <lakostis@altlinux.org> 1.0.8774-alt2
- make build independed from host-arch.

* Fri Sep 01 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8774-alt1
- new release (8774)

* Wed May 24 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8762-alt1
- new release (8762)

* Wed Apr 12 2006 Sergey V Turchin <zerg at altlinux dot org> 1.0.8756-alt1
- new release (8756)
- remove NVIDIA_kernel-1.0-8178-U012206.diff (merged by upstream)

* Sat Mar 18 2006 Sergey Vlasov <vsu@altlinux.ru> 1.0.8178-alt2
- Added NVIDIA_kernel-1.0-8178-U012206.diff update patch from the nvnews.net
  forum (fixes several problems with newer kernels, including compilation
  failure with 2.6.16).

* Mon Dec 26 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.8178-alt1
- new release (8178)

* Wed Aug 17 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.7676-alt1
- new release (7676)

* Wed Aug 17 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.7667-alt1
- new release (7667)

* Tue Jun 21 2005 Sergey Vlasov <vsu@altlinux.ru> 1.0.7174-alt3
- Require modutils >= 2.4.27-alt4 because of .versions/nvidia (#7151).

* Tue Jun 07 2005 Sergey V Turchin <zerg at altlinux dot org> 1.0.7174-alt2
- add file with module version

* Thu Apr 07 2005 Anton Farygin <rider@altlinux.ru> 1.0.7174-alt1
- new release (7174)

* Mon Mar 14 2005 Sergey Vlasov <vsu@altlinux.ru> 1.0.7167-alt1
- New release (7167).
- Removed obsolete compatibility patches.

* Wed Dec 29 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6629-alt2
- Added patches for compatibility with kernel 2.6.10 (Patch2, Patch3).

* Sun Dec 26 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6629-alt1
- New release (6629).

* Wed Oct 20 2004 Anton Farygin <rider@altlinux.ru> 1.0.6111-alt4
- fixed unreslved symbols with kernel 2.6.9

* Sun Oct 17 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6111-alt3
- Rebuild for kernel 2.4.27.

* Mon Sep 06 2004 Anton Farygin <rider@altlinux.ru> 1.0.6111-alt2
- License fixed

* Tue Aug 17 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6111-alt1
- New release (6111).

* Tue Aug 03 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6106-alt2
- Use %%post_kernel_modules and %%postun_kernel_modules macros in scripts.

* Fri Jul 02 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.6106-alt1
- New release (6106).

* Thu May 13 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5336-alt2
- Rebuild for kernel 2.4.26.

* Mon Mar 22 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5336-alt1
- New release (5336).
- Removed AGP fix patch (not needed for 5336).
- Modified build for new makefiles.

* Fri Feb 27 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5328-alt5
- Updated for the new compiler version selection scheme (GCC_VERSION).

* Wed Feb 18 2004 Anton Farygin <rider@altlinux.ru> 1.0.5328-alt4
- rebuild for 2.6.3 (increment release without changes)

* Mon Feb 16 2004 Anton Farygin <rider@altlinux.ru> 1.0.5328-alt3
- added build scripts for kernel 2.6 

* Thu Jan 15 2004 Sergey Vlasov <vsu@altlinux.ru> 1.0.5328-alt2
- Added patch to work around problems with AGP support (part of the Linux-2.6
  adaptation patch from www.minion.de).

* Mon Dec 22 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.5328-alt1
- New release (5328).

* Tue Dec 16 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.4496-alt12
- Fixed compiler selection.

* Fri Nov 28 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.4496-alt11
- Added Provides/Conflicts to make sure that only one version of the package
  can be installed for each kernel version.

* Tue Nov 18 2003 Sergey Vlasov <vsu@altlinux.ru> 1.0.4496-alt10
- Fixed spec file name.
- Avoid %%postun failure when this package is removed after
  kernel-image-%%flavour (currently rpm cannot prevent this).

* Sat Sep 06 2003 Anton Farygin <rider@altlinux.ru> 1.0.4496-alt9
- /usr/include replaces to macros _includedir
- build requires fix

* Tue Aug 26 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt8
- rebuilt with 2.4.21rel-alt14

* Fri Aug 15 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt7
- rebuilt with 2.4.21rel-alt13

* Wed Aug 13 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt6
- rebuilt with 2.4.21rel-alt12

* Tue Aug 12 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt5
- rebuilt with 2.4.21rel-alt11

* Mon Aug 11 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt4
- rebuilt with 2.4.21rel-alt10

* Thu Aug 07 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt3
- rebuilt with 2.4.21rel-alt9

* Wed Aug 06 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt2
- rebuilt with 2.4.21rel-alt8

* Wed Jul 30 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4496-alt1
- new release (4496)
- rebuilt with 2.4.21rel-alt7

* Thu Jul 17 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt5
- rebuilt with 2.4.21rel-alt6

* Wed Jul 16 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt4
- rebuilt with 2.4.21rel-alt5

* Mon Jul 07 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt3
- rebuilt with 2.4.21rel alt3 kernel

* Wed Jul 02 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt2
- add provides NVIDIA_kernel = %version

* Sat Jun 21 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4363-alt1
- rebuilt with 2.4.21rel kernel

* Thu Apr 10 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4349-alt2
- Provides NVIDIA_kernel for now.

* Sun Mar 23 2003 Peter Novodvorsky <nidd@altlinux.com> 1.0.4349-alt1
- Initial release