]>
Commit | Line | Data |
---|---|---|
7cc2c347 AG |
1 | %define snap 20071201 |
2 | Summary: X.org video driver for VIA chipsets with onboard unichrome graphics | |
3 | Summary(pl.UTF-8): Sterownik obrazu X.org dla układów zintegrowanych VIA | |
4 | Name: xorg-driver-video-openchrome | |
5 | Version: 0.1.%{snap} | |
a4484db1 | 6 | Release: 2 |
7cc2c347 AG |
7 | License: MIT |
8 | Group: X11/Applications | |
9 | # svn export http://svn.openchrome.org/svn/branches/experimental_branch xf86-video-openchrome | |
10 | Source0: xf86-video-openchrome.tar.bz2 | |
11 | # Source0-md5: 060c0e84d1a82303dd3d3e7b2b3b7a2b | |
12 | Patch0: %{name}-id.patch | |
13 | URL: http://www.openchrome.org/ | |
14 | BuildRequires: Mesa-libGL-devel | |
15 | BuildRequires: autoconf >= 2.57 | |
16 | BuildRequires: automake | |
17 | BuildRequires: libdrm-devel >= 2.0 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: pkgconfig >= 1:0.19 | |
20 | BuildRequires: rpmbuild(macros) >= 1.389 | |
21 | BuildRequires: xorg-lib-libXvMC-devel | |
22 | BuildRequires: xorg-proto-fontsproto-devel | |
23 | BuildRequires: xorg-proto-randrproto-devel | |
24 | BuildRequires: xorg-proto-renderproto-devel | |
25 | BuildRequires: xorg-proto-videoproto-devel | |
26 | BuildRequires: xorg-proto-xf86driproto-devel | |
27 | BuildRequires: xorg-util-util-macros >= 0.99.2 | |
28 | BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 | |
29 | %requires_xorg_xserver_videodrv | |
30 | Requires: xorg-xserver-server >= 1.0.99.901 | |
31 | Obsoletes: X11-driver-via < 1:7.0.0 | |
32 | Obsoletes: XFree86-driver-via < 1:7.0.0 | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | A free and Open Source video driver for the VIA/S3G UniChrome, | |
37 | UniChrome Pro and Chrome9 graphics chipsets. | |
38 | ||
39 | It support CLE266, KM400/KN400/KM400A/P4M800, CN400/PM800/PN800/PM880, | |
40 | K8M800, CN700/VM800/P4M800Pro, CX700, P4M890, K8M890, and P4M900/VN896 | |
41 | chipsets. | |
42 | ||
43 | X.org video driver for VIA chipsets with onboard unichrome graphics. | |
44 | It supports VIA CLE266, KM400/KN400, K8M800/K8N800, PM800/PN800 and | |
45 | CN400 chipsets. | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Darmowy i o otwartych źródłach sterownik obrazu X.org dla | |
49 | zintegrowanych układów graficznych VIA opartych na układach Via/S3G | |
50 | Unichrome, Unichrome Pro i Chrome9. | |
51 | ||
52 | Obsługuje układy VIA CLE266, KM400/KN400, K8M800/K8N800, PM800/PN800 | |
53 | i CN400. | |
54 | ||
55 | %prep | |
56 | %setup -q -n xf86-video-openchrome | |
57 | %patch0 -p1 | |
58 | ||
59 | %build | |
60 | %{__libtoolize} | |
61 | %{__aclocal} | |
62 | %{__autoconf} | |
63 | %{__autoheader} | |
64 | %{__automake} | |
65 | %configure \ | |
66 | --disable-static | |
67 | ||
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la \ | |
77 | $RPM_BUILD_ROOT%{_libdir}/libviaXvMC*.la | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
84 | %doc ChangeLog | |
85 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/openchrome_drv.so | |
86 | %ifarch %{ix86} %{x8664} | |
87 | %attr(755,root,root) %{_libdir}/libchromeXvMC.so.*.*.* | |
88 | %attr(755,root,root) %{_libdir}/libchromeXvMCPro.so.*.*.* | |
89 | %endif | |
90 | %{_mandir}/man4/openchrome.4* |