1 | %define tarball xf86-video-mach64 |
---|
2 | %define moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
3 | %define driverdir %{moduledir}/drivers |
---|
4 | |
---|
5 | Summary: Xorg X11 mach64 video driver |
---|
6 | Summary(ja): Xorg X11 mach64 ビデオドライバ |
---|
7 | Name: xorg-x11-drv-mach64 |
---|
8 | Version: 6.9.0 |
---|
9 | Release: 1%{?_dist_release} |
---|
10 | URL: http://www.x.org |
---|
11 | License: MIT |
---|
12 | Group: User Interface/X Hardware Support |
---|
13 | |
---|
14 | Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
15 | Source1: mach64.xinf |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
18 | ExcludeArch: s390 s390x |
---|
19 | BuildRequires: xorg-x11-server-sdk >= 1.6 |
---|
20 | BuildRequires: mesa-libGL-devel |
---|
21 | BuildRequires: libdrm-devel |
---|
22 | BuildRequires: automake autoconf libtool pkgconfig |
---|
23 | BuildRequires: xorg-x11-util-macros |
---|
24 | Requires: hwdata |
---|
25 | Requires: xorg-x11-server-Xorg |
---|
26 | Obsoletes: xorg-x11-drv-ati < 6.9.0 |
---|
27 | |
---|
28 | %description |
---|
29 | X.Org X11 mach64 video driver. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n %{tarball}-%{version} |
---|
33 | |
---|
34 | %build |
---|
35 | autoreconf -i -f |
---|
36 | %configure --disable-static |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
43 | |
---|
44 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases |
---|
45 | install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/hwdata/videoaliases/ |
---|
46 | |
---|
47 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc README.mach64 |
---|
55 | %{driverdir}/mach64_drv.so |
---|
56 | %{_datadir}/hwdata/videoaliases/mach64.xinf |
---|
57 | |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Sat May 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.9.0-1 |
---|
61 | - new upstream release |
---|
62 | - delete Patch0 |
---|
63 | |
---|
64 | * Mon Feb 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-4 |
---|
65 | - rebuild with xserver-1.10.0 |
---|
66 | - add Patch0 (xf86-video-mach64_git20101202.patch) |
---|
67 | |
---|
68 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-3 |
---|
69 | - rebuild with xserver-1.9.2 |
---|
70 | |
---|
71 | * Sun Mar 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 6.8.2-2 |
---|
72 | - rebuild with xserver-1.8rc |
---|
73 | |
---|
74 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.2-1 |
---|
75 | - new upstream release |
---|
76 | |
---|
77 | * Mon May 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.1-1 |
---|
78 | - new upstream release |
---|
79 | |
---|
80 | * Sun May 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-2 |
---|
81 | - rebuild with xorg-xserver 1.6 |
---|
82 | |
---|
83 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 6.8.0-1 |
---|
84 | - initial build |
---|
85 | |
---|