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