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