ivtv-firmware-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. %define version_enc 2.06.039
  2. %define version_dec 2.02.023
  3. Summary: Firmware for the Hauppauge PVR 250/350/150/500/USB2 model series
  4. Summary(ja): Hauppauge PVR 250/350/150/500/USB2 シリーズ用ファームウェア
  5. Name: ivtv-firmware
  6. Version: 20080701
  7. Release: 1%{?_dist_release}
  8. License: Redistributable, no modification permitted
  9. Group: System Environment/Kernel
  10. URL: http://dl.ivtvdriver.org/ivtv/firmware/
  11. Source0: http://dl.ivtvdriver.org/ivtv/firmware/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildArch: noarch
  14. Obsoletes: ivtv-firmware-audio <= 0.0.1
  15. Provides: ivtv-firmware-audio = 0.0.1
  16. Obsoletes: %{name}-dec < %{version_dec}
  17. Provides: %{name}-dec = %{version_dec}
  18. Obsoletes: %{name}-enc < %{version_enc}
  19. Provides: %{name}-enc = %{version_enc}
  20. %description
  21. This package contains the firmware for WinTV Hauppauge PVR
  22. 250/350/150/500/USB2 cards.
  23. %prep
  24. %setup -q -c
  25. %build
  26. %install
  27. rm -rf %{buildroot}
  28. mkdir -p %{buildroot}/lib/firmware
  29. install -p *.fw %{buildroot}/lib/firmware/
  30. install -p v4l-cx2341x-init.mpg %{buildroot}/lib/firmware/v4l-cx2341x-init.mpg
  31. # license requires that the licenses go in the same place as the firmware
  32. for f in license-*.txt
  33. do
  34. install -p $f %{buildroot}/lib/firmware/%{name}-$f
  35. done
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc license-*.txt
  41. /lib/firmware/*.fw
  42. /lib/firmware/v4l-cx2341x-init.mpg
  43. /lib/firmware/%{name}-license-*.txt
  44. %changelog
  45. * Fri Oct 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080701-1
  46. - initial build for Vine Linux
  47. * Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2:20080701-18
  48. - Update to 20080701.
  49. * Wed Mar 5 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2:20070217-17
  50. - Many fixes by Jarod Wilson.
  51. - Rip out legacy support.
  52. * Sat Feb 2 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 2:20070217-16
  53. - Place licenses next to firmware images.
  54. * Sat Dec 22 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2:20070217-15.1
  55. - Own directories from legacy paths.
  56. * Wed Oct 24 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2:20070217-15
  57. - Add v4l-cx2341x-init.mpg as a pseudo-firmware.
  58. * Wed Feb 28 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2:20070217-13
  59. - Modify versioning to follow date.
  60. * Mon May 29 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
  61. - Update firmwares to recommended versions.
  62. - Merge in audio firmware.
  63. * Tue Jan 4 2005 Axel Thimm <Axel.Thimm@ATrpms.net>
  64. - Initial build for audio firmware.
  65. * Thu Oct 28 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
  66. - Update firmware to 1.8a.
  67. - split package into enc/dec firmwares.
  68. - version acording to origin, note that the two firmwares have
  69. different versions, so none is really suitable for the main package.
  70. * Wed Mar 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
  71. - Change versioning (previous was based on Windows driver).
  72. - need to bump epoch for that :(
  73. * Sat Feb 28 2004 Axel Thimm <Axel.Thimm@ATrpms.net>
  74. - Update to 1.8 (22035).
  75. * Mon Dec 29 2003 Axel Thimm <Axel.Thimm@ATrpms.net>
  76. - Initial build.