]>
Commit | Line | Data |
---|---|---|
ae5c0e3f | 1 | Summary: Userspace interface to kernel DRM services |
0f3b1a92 | 2 | Summary(pl.UTF-8): Interfejs przestrzeni użytkownika do usług DRM jądra |
ae5c0e3f | 3 | Name: libdrm |
bbf6ae89 | 4 | Version: 2.3.1 |
ea609aa2 | 5 | Release: 1 |
ae5c0e3f JB |
6 | License: MIT |
7 | Group: Libraries | |
ea609aa2 | 8 | Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2 |
bbf6ae89 | 9 | # Source0-md5: 620fe7dd02c3236c3e9881a3a238173d |
ae5c0e3f | 10 | URL: http://dri.freedesktop.org/ |
63d6347e JB |
11 | BuildRequires: autoconf >= 2.57 |
12 | BuildRequires: automake | |
13 | BuildRequires: libtool | |
ae5c0e3f JB |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
17 | Userspace interface to kernel DRM services. | |
18 | ||
1a90a525 JR |
19 | %description -l pl.UTF-8 |
20 | Interfejs przestrzeni użytkownika do usług DRM jądra. | |
ae5c0e3f JB |
21 | |
22 | %package devel | |
23 | Summary: Header files for libdrm library | |
0f3b1a92 | 24 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdrm |
ae5c0e3f JB |
25 | Group: Development/Libraries |
26 | Requires: %{name} = %{version}-%{release} | |
27 | ||
28 | %description devel | |
29 | Header files for libdrm library. | |
30 | ||
1a90a525 JR |
31 | %description devel -l pl.UTF-8 |
32 | Pliki nagłówkowe biblioteki libdrm. | |
ae5c0e3f JB |
33 | |
34 | %package static | |
35 | Summary: Static libdrm library | |
0f3b1a92 | 36 | Summary(pl.UTF-8): Statyczna biblioteka libdrm |
ae5c0e3f JB |
37 | Group: Development/Libraries |
38 | Requires: %{name}-devel = %{version}-%{release} | |
39 | ||
40 | %description static | |
41 | Static libdrm library. | |
42 | ||
1a90a525 | 43 | %description static -l pl.UTF-8 |
ae5c0e3f JB |
44 | Statyczna biblioteka libdrm. |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
63d6347e JB |
50 | %{__libtoolize} |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
ea609aa2 JB |
55 | %configure \ |
56 | --enable-static | |
ae5c0e3f JB |
57 | %{__make} |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %attr(755,root,root) %{_libdir}/libdrm.so.*.*.* | |
5783ce64 | 74 | %attr(755,root,root) %ghost %{_libdir}/libdrm.so.2 |
ae5c0e3f JB |
75 | |
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root) %{_libdir}/libdrm.so | |
79 | %{_libdir}/libdrm.la | |
ae5c0e3f | 80 | %{_includedir}/drm |
5783ce64 | 81 | %{_includedir}/xf86drm.h |
ae5c0e3f JB |
82 | %{_pkgconfigdir}/libdrm.pc |
83 | ||
84 | %files static | |
85 | %defattr(644,root,root,755) | |
86 | %{_libdir}/libdrm.a |