]> git.pld-linux.org Git - packages/xorg-driver-video-xgi.git/blob - xorg-driver-video-xgi.spec
- fix building with gcc 10+, rel 7
[packages/xorg-driver-video-xgi.git] / xorg-driver-video-xgi.spec
1 Summary:        X.org video drivers for XGI adapters
2 Summary(pl.UTF-8):      Sterowniki obrazu X.org do kart graficznych XGI
3 Name:           xorg-driver-video-xgi
4 Version:        1.6.1
5 Release:        7
6 License:        MIT
7 Group:          X11/Applications
8 Source0:        http://xorg.freedesktop.org/releases/individual/driver/xf86-video-xgi-%{version}.tar.bz2
9 # Source0-md5:  103a17936676318b4b09af94dbc420a9
10 Patch0:         %{name}-build.patch
11 Patch1:         xserver-1.19.patch
12 Patch2:         gcc10.patch
13 URL:            http://xorg.freedesktop.org/
14 BuildRequires:  autoconf >= 2.60
15 BuildRequires:  automake
16 BuildRequires:  libdrm-devel >= 2.0
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig >= 1:0.19
19 BuildRequires:  rpmbuild(macros) >= 1.389
20 BuildRequires:  xorg-lib-libpciaccess-devel >= 0.8.0
21 BuildRequires:  xorg-proto-fontsproto-devel
22 BuildRequires:  xorg-proto-glproto-devel
23 BuildRequires:  xorg-proto-randrproto-devel
24 BuildRequires:  xorg-proto-renderproto-devel
25 BuildRequires:  xorg-proto-videoproto-devel
26 BuildRequires:  xorg-proto-xextproto-devel >= 7.0.99.1
27 BuildRequires:  xorg-proto-xf86dgaproto-devel
28 BuildRequires:  xorg-proto-xf86driproto-devel
29 BuildRequires:  xorg-proto-xineramaproto-devel
30 BuildRequires:  xorg-util-util-macros >= 1.8
31 BuildRequires:  xorg-xserver-server-devel >= 1.1.0
32 %{?requires_xorg_xserver_videodrv}
33 Requires:       xorg-xserver-libdri >= 1.1.0
34 Requires:       xorg-xserver-libglx >= 1.1.0
35 Requires:       xorg-xserver-server >= 1.1.0
36 Provides:       xorg-driver-video
37 Obsoletes:      XFree86-driver-xgi < 1:7.0.0
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 X.org video drivers for XGI adapters:
42 - Volari V3XT/V3XE/V5/V8
43 - Volari Z7/Z9/Z9s/Z11
44
45 %description -l pl.UTF-8
46 Sterowniki obrazu X.org do kart graficznych XGI:
47 - Volari V3XT/V3XE/V5/V8
48 - Volari Z7/Z9/Z9s/Z11
49
50 %prep
51 %setup -q -n xf86-video-xgi-%{version}
52 %patch0 -p1
53 %patch1 -p1
54 %patch2 -p1
55
56 %build
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc COPYING ChangeLog README
80 %attr(755,root,root) %{_libdir}/xorg/modules/drivers/xgi_drv.so
81 %{_mandir}/man4/xgi.4*
This page took 0.16314 seconds and 4 git commands to generate.