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

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