%define tarball xf86-video-apm %define moduledir %(pkg-config xorg-server --variable=moduledir ) %define driverdir %{moduledir}/drivers Summary: Xorg X11 apm video driver Summary(ja): Xorg X11 apm ビデオドライバ Name: xorg-x11-drv-apm Version: 1.2.3 Release: 2%{?_dist_release} URL: http://www.x.org License: MIT Group: User Interface/X Hardware Support BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 Source1: apm.xinf ExcludeArch: s390 s390x BuildRequires: xorg-x11-server-sdk >= 1.6 Requires: xorg-x11-server-Xorg Requires: hwdata %description X.Org X11 apm video driver. %prep %setup -q -n %{tarball}-%{version} %build %configure --disable-static make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ # FIXME: Remove all libtool archives (*.la) from modules directory. This # should be fixed in upstream Makefile.am or whatever. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{driverdir}/apm_drv.so %{_datadir}/hwdata/videoaliases/apm.xinf %{_mandir}/man4/apm.4* %changelog * Sun Nov 07 2010 Yoji TOYODA 1.2.3-2 - rebuild with xserver-1.9.2 * Tue Aug 24 2010 Yoji TOYODA 1.2.3-1 - new upstream release * Sun Mar 28 2010 Yoji TOYODA 1.2.2-2 - rebuild with xserver-1.8rc * Thu Nov 19 2009 Daisuke SUZUKI 1.2.2-1 - new upstream release * Mon Apr 13 2009 Daisuke SUZUKI 1.2.1-1 - new upstream release * Fri Jul 04 2008 Daisuke SUZUKI 1.2.0-2 - rebuild with xorg-server-1.4.99 * Sat May 17 2008 Daisuke SUZUKI 1.2.0-1 - initial build for Vine Linux * Thu Mar 20 2008 Dave Airlie 1.2.0-1 - Upgrade to latest upstream release * Tue Mar 11 2008 Dave Airlie 1.1.1-9 - pciaccess conversion * Wed Feb 20 2008 Fedora Release Engineering - 1.1.1-8 - Autorebuild for GCC 4.3 * Wed Aug 22 2007 Adam Jackson - 1.1.1-7 - Rebuild for PPC toolchain bug * Mon Jun 18 2007 Adam Jackson 1.1.1-6 - Update Requires and BuildRequires. * Sat May 26 2007 Adam Jackson 1.1.1-5 - Yet more merge review changes. (#226577) * Thu May 24 2007 Adam Jackson 1.1.1-4 - Merge review changes. (#226577) * Thu Feb 15 2007 Adam Jackson 1.1.1-3 - ExclusiveArch -> ExcludeArch * Wed Jul 12 2006 Jesse Keating - sh: line 0: fg: no job control - rebuild * Tue May 23 2006 Adam Jackson 1.1.1-2 - Rebuild for 7.1 ABI fix. * Sun Apr 9 2006 Adam Jackson 1.1.1-1 - Update to 1.1.1 from 7.1RC1. * Tue Feb 07 2006 Jesse Keating - 1.0.1.5-1.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Wed Jan 18 2006 Mike A. Harris 1.0.1.5-1 - Updated xorg-x11-drv-apm to version 1.0.1.5 from X11R7.0 - Added apm.xinf videoalias file. * Tue Dec 20 2005 Mike A. Harris 1.0.1.4-1 - Updated xorg-x11-drv-apm to version 1.0.1.4 from X11R7 RC4 - Removed 'x' suffix from manpage dirs to match RC4 upstream. * Wed Nov 16 2005 Mike A. Harris 1.0.1.2-1 - Updated xorg-x11-drv-apm to version 1.0.1.2 from X11R7 RC2 * Fri Nov 4 2005 Mike A. Harris 1.0.1.1-1 - Updated xorg-x11-drv-apm to version 1.0.1.1 from X11R7 RC1 - Fix *.la file removal. * Mon Oct 3 2005 Mike A. Harris 1.0.0-1 - Set "ExclusiveArch: %%{ix86}" to match what was shipped in previous OS releases. * Fri Sep 2 2005 Mike A. Harris 1.0.0-0 - Initial spec file for apm video driver generated automatically by my xorg-driverspecgen script.