1 | %global tarball xf86-video-modesetting |
---|
2 | %global moduledir %(pkg-config xorg-server --variable=moduledir ) |
---|
3 | %global driverdir %{moduledir}/drivers |
---|
4 | |
---|
5 | Summary: Xorg X11 modesetting video driver |
---|
6 | Name: xorg-x11-drv-modesetting |
---|
7 | Version: 0.5.0 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | URL: http://www.x.org |
---|
10 | License: MIT |
---|
11 | Group: User Interface/X Hardware Support |
---|
12 | |
---|
13 | Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2 |
---|
14 | |
---|
15 | # all X hw drivers aren't built on s390 - no need for separate bug |
---|
16 | ExcludeArch: s390 s390x |
---|
17 | |
---|
18 | BuildRequires: xorg-x11-server-sdk >= 1.10.99.902 |
---|
19 | BuildRequires: libX11-devel |
---|
20 | BuildRequires: libdrm-devel |
---|
21 | BuildRequires: libXext-devel |
---|
22 | BuildRequires: libudev-devel |
---|
23 | |
---|
24 | Requires: hwdata |
---|
25 | Requires: xorg-x11-server-Xorg |
---|
26 | |
---|
27 | %description |
---|
28 | X.Org X11 modesetting video driver - basic modesetting fallback driver. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %{tarball}-%{version} |
---|
32 | |
---|
33 | %build |
---|
34 | %configure --disable-static |
---|
35 | make |
---|
36 | |
---|
37 | %install |
---|
38 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
39 | |
---|
40 | # FIXME: Remove all libtool archives (*.la) from modules directory. This |
---|
41 | # should be fixed in upstream Makefile.am or whatever. |
---|
42 | find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- |
---|
43 | |
---|
44 | %files |
---|
45 | %{driverdir}/modesetting_drv.so |
---|
46 | %{_mandir}/man4/modesetting.4* |
---|
47 | %doc COPYING README |
---|
48 | |
---|
49 | %changelog |
---|
50 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.0-1 |
---|
51 | - new upstream release |
---|
52 | |
---|
53 | * Fri Jul 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.0-1 |
---|
54 | - new upstream release |
---|
55 | |
---|
56 | * Sun Mar 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-2 |
---|
57 | - rebuild with xserver-1.12.0 |
---|
58 | |
---|
59 | * Sat Mar 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1 |
---|
60 | - initial build for Vine Linux |
---|
61 | |
---|
62 | |
---|
63 | * Fri Feb 24 2012 Dave Airlie <airlied@redhat.com> 0.2.0-1 |
---|
64 | - Update to new upstream - fixes pitch issues |
---|
65 | |
---|
66 | * Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-3 |
---|
67 | - add build requires, fix tab/space, fix description line |
---|
68 | |
---|
69 | * Mon Feb 20 2012 Dave Airlie <airlied@redhat.com> 0.1.0-2 |
---|
70 | - initial review comments 1 |
---|
71 | |
---|
72 | * Thu Feb 16 2012 Dave Airlie <airlied@redhat.com> 0.1.0-1 |
---|
73 | - initial import |
---|