]>
Commit | Line | Data |
---|---|---|
9cdacfed | 1 | # |
d343c1ff | 2 | # TODO: |
3 | # - descriptions and summaries | |
4 | # - requires/provides/obsoletes | |
5 | # | |
7c899442 | 6 | %define snap 20040628-1 |
9cdacfed | 7 | # |
8 | Summary: debrix | |
9 | Summary(pl): debrix | |
10 | Name: debrix | |
11 | Version: 6.7.1 | |
12 | Release: 0.1 | |
13 | Epoch: 0 | |
14 | License: ?? | |
15 | Group: X11/Xorg | |
16 | Source0: %{name}-snap-%{snap}.tar.bz2 | |
7c899442 | 17 | # Source0-md5: d5a4aeb9c75029d6e4443d152c3013e3 |
d343c1ff | 18 | Patch0: %{name}-many_fixes.patch |
7c899442 | 19 | Patch1: %{name}-modules.patch |
20 | # not really debrix URL, but there is no other... | |
9cdacfed | 21 | URL: http://xserver.freedesktop.org |
22 | BuildRequires: autoconf | |
23 | BuildRequires: automake | |
24 | BuildRequires: compositeext | |
25 | BuildRequires: damageext | |
26 | BuildRequires: fixesext | |
27 | BuildRequires: libtool | |
28 | BuildRequires: libXau-devel | |
29 | BuildRequires: libXdmcp-devel | |
30 | BuildRequires: libXfont-devel | |
31 | BuildRequires: libXtrans-devel | |
32 | BuildRequires: panoramixext | |
33 | BuildRequires: randrext | |
34 | BuildRequires: render | |
35 | BuildRequires: resourceext | |
36 | BuildRequires: xextensions | |
37 | BuildRequires: xkbfile-devel | |
38 | BuildRequires: xproto | |
39 | #Requires: - | |
40 | #Provides: - | |
41 | #Obsoletes: - | |
42 | #Conflicts: - | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
46 | ||
47 | %description -l pl | |
48 | ||
d343c1ff | 49 | %package devel |
50 | Summary: debrix headers | |
51 | Summary(pl): Pliki nagłowkowe debrix | |
52 | Group: X11/Development/Libraries | |
b76972b7 | 53 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d343c1ff | 54 | |
55 | %description devel | |
56 | ||
57 | %description devel -l pl | |
58 | ||
9cdacfed | 59 | %prep |
60 | %setup -q -n %{name} | |
d343c1ff | 61 | %patch0 -p0 |
7c899442 | 62 | %patch1 -p1 |
9cdacfed | 63 | |
64 | %build | |
65 | %{__aclocal} | |
66 | %{__libtoolize} | |
67 | %{__autoconf} | |
68 | %{__autoheader} | |
69 | %{__automake} | |
70 | ||
71 | %configure \ | |
72 | --enable-dri \ | |
73 | --enable-xtrap | |
74 | ||
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | %clean | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %pre | |
87 | ||
88 | %post | |
89 | ||
90 | %preun | |
91 | ||
92 | %postun | |
93 | ||
94 | %files | |
95 | %defattr(644,root,root,755) | |
96 | %doc ChangeLog TODO | |
97 | %attr(755,root,root) %{_bindir}/* | |
98 | %{_libdir}/xorg | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %{_libdir}/*.a | |
103 | %{_includedir}/xorg | |
104 | %{_pkgconfigdir}/debrix.pc |