]>
Commit | Line | Data |
---|---|---|
43d77497 | 1 | # |
2 | # TODO: | |
3 | # - descriptions and summaries | |
4 | # - requires/provides/obsoletes | |
5 | # | |
6 | %define snap 20040628 | |
7 | # | |
8 | Summary: debrix driver for ATI cards | |
9 | Summary(pl): Driver debriksa dla kart ATI | |
10 | Name: debrix-driver-ati | |
11 | Version: 0.1.0 | |
12 | Release: 0.1 | |
13 | Epoch: 0 | |
14 | License: ?? | |
15 | Group: X11/Xorg | |
16 | Source0: %{name}-snap-%{snap}.tar.bz2 | |
17 | # Source0-md5: ea4b79c0a37565857fa980052e1b8456 | |
d8c60b05 | 18 | Patch0: %{name}-modules.patch |
43d77497 | 19 | # not really debrix URL, but there is no other... |
20 | URL: http://xserver.freedesktop.org | |
21 | BuildRequires: autoconf | |
22 | BuildRequires: automake | |
23 | BuildRequires: debrix-devel | |
24 | BuildRequires: libtool | |
25 | Requires: debrix | |
26 | #Provides: - | |
27 | #Obsoletes: - | |
28 | #Conflicts: - | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | ||
33 | %description -l pl | |
34 | ||
35 | %prep | |
36 | %setup -q -n %{name} | |
d8c60b05 | 37 | %patch0 -p0 |
43d77497 | 38 | |
39 | %build | |
40 | %{__aclocal} | |
41 | %{__libtoolize} | |
42 | %{__autoconf} | |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | ||
46 | %configure \ | |
47 | --enable-dri | |
48 | ||
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
d8c60b05 | 57 | rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/drivers/*.{a,la} |
43d77497 | 58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %pre | |
63 | ||
64 | %post | |
65 | ||
66 | %preun | |
67 | ||
68 | %postun | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
d8c60b05 | 72 | %attr(755,root,root) %{_libdir}/xorg/modules/drivers/lib*.so* |
43d77497 | 73 | %{_mandir}/man3/* |