xorg-x11-drv-apm-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. %define tarball xf86-video-apm
  2. %define moduledir %(pkg-config xorg-server --variable=moduledir )
  3. %define driverdir %{moduledir}/drivers
  4. Summary: Xorg X11 apm video driver
  5. Summary(ja): Xorg X11 apm ビデオドライバ
  6. Name: xorg-x11-drv-apm
  7. Version: 1.2.3
  8. Release: 5%{?_dist_release}
  9. URL: http://www.x.org
  10. License: MIT
  11. Group: User Interface/X Hardware Support
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
  14. Source1: apm.xinf
  15. Patch0: xf86-video-apm-git20111219.patch
  16. ExcludeArch: s390 s390x
  17. BuildRequires: xorg-x11-server-sdk >= 1.6
  18. Requires: xorg-x11-server-Xorg
  19. Requires: hwdata
  20. %description
  21. X.Org X11 apm video driver.
  22. %prep
  23. %setup -q -n %{tarball}-%{version}
  24. %patch0 -p1
  25. %build
  26. %configure --disable-static
  27. make
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases
  32. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/
  33. # FIXME: Remove all libtool archives (*.la) from modules directory. This
  34. # should be fixed in upstream Makefile.am or whatever.
  35. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %{driverdir}/apm_drv.so
  41. %{_datadir}/hwdata/videoaliases/apm.xinf
  42. %{_mandir}/man4/apm.4*
  43. %changelog
  44. * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-5
  45. - rebuild with xserver-1.12.0
  46. - add Patch0 (xf86-video-apm-git20111219.patch)
  47. * Tue Nov 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-4
  48. - rebuild with xserver-1.11.1.902
  49. * Tue Mar 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-3
  50. - rebuild with xserver-1.10.0
  51. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-2
  52. - rebuild with xserver-1.9.2
  53. * Tue Aug 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  54. - new upstream release
  55. * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-2
  56. - rebuild with xserver-1.8rc
  57. * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
  58. - new upstream release
  59. * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.1-1
  60. - new upstream release
  61. * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-2
  62. - rebuild with xorg-server-1.4.99
  63. * Sat May 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
  64. - initial build for Vine Linux
  65. * Thu Mar 20 2008 Dave Airlie <airlied@redhat.com> 1.2.0-1
  66. - Upgrade to latest upstream release
  67. * Tue Mar 11 2008 Dave Airlie <airlied@redhat.com> 1.1.1-9
  68. - pciaccess conversion
  69. * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.1-8
  70. - Autorebuild for GCC 4.3
  71. * Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-7
  72. - Rebuild for PPC toolchain bug
  73. * Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.1.1-6
  74. - Update Requires and BuildRequires.
  75. * Sat May 26 2007 Adam Jackson <ajax@redhat.com> 1.1.1-5
  76. - Yet more merge review changes. (#226577)
  77. * Thu May 24 2007 Adam Jackson <ajax@redhat.com> 1.1.1-4
  78. - Merge review changes. (#226577)
  79. * Thu Feb 15 2007 Adam Jackson <ajax@redhat.com> 1.1.1-3
  80. - ExclusiveArch -> ExcludeArch
  81. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
  82. - rebuild
  83. * Tue May 23 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-2
  84. - Rebuild for 7.1 ABI fix.
  85. * Sun Apr 9 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
  86. - Update to 1.1.1 from 7.1RC1.
  87. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1.5-1.1
  88. - rebuilt for new gcc4.1 snapshot and glibc changes
  89. * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1.5-1
  90. - Updated xorg-x11-drv-apm to version 1.0.1.5 from X11R7.0
  91. - Added apm.xinf videoalias file.
  92. * Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.4-1
  93. - Updated xorg-x11-drv-apm to version 1.0.1.4 from X11R7 RC4
  94. - Removed 'x' suffix from manpage dirs to match RC4 upstream.
  95. * Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.2-1
  96. - Updated xorg-x11-drv-apm to version 1.0.1.2 from X11R7 RC2
  97. * Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 1.0.1.1-1
  98. - Updated xorg-x11-drv-apm to version 1.0.1.1 from X11R7 RC1
  99. - Fix *.la file removal.
  100. * Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
  101. - Set "ExclusiveArch: %%{ix86}" to match what was shipped in previous OS
  102. releases.
  103. * Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0
  104. - Initial spec file for apm video driver generated automatically
  105. by my xorg-driverspecgen script.