]> git.pld-linux.org Git - packages/libdrm.git/blob - libdrm.spec
- added cvs patch (20051022)
[packages/libdrm.git] / libdrm.spec
1 Summary:        Userspace interface to kernel DRM services
2 Summary(pl):    Interfejs przestrzeni u¿ytkownika do us³ug DRM j±dra
3 Name:           libdrm
4 Version:        1.0.4
5 Release:        1.20051022.1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://people.freedesktop.org/~ajax/libdrm/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a1979e2b94801c0b35f552e30a93c2f5
10 Patch0:         %{name}-cvs.patch
11 URL:            http://dri.freedesktop.org/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Userspace interface to kernel DRM services.
19
20 %description -l pl
21 Interfejs przestrzeni u¿ytkownika do us³ug DRM j±dra.
22
23 %package devel
24 Summary:        Header files for libdrm library
25 Summary(pl):    Pliki nag³ówkowe biblioteki libdrm
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28
29 %description devel
30 Header files for libdrm library.
31
32 %description devel -l pl
33 Pliki nag³ówkowe biblioteki libdrm.
34
35 %package static
36 Summary:        Static libdrm library
37 Summary(pl):    Statyczna biblioteka libdrm
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{version}-%{release}
40
41 %description static
42 Static libdrm library.
43
44 %description static -l pl
45 Statyczna biblioteka libdrm.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 %{__libtoolize}
53 %{__aclocal}
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/libdrm.so.*.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %attr(755,root,root) %{_libdir}/libdrm.so
79 %{_libdir}/libdrm.la
80 %{_includedir}/xf86drm.h
81 %{_includedir}/drm
82 %{_pkgconfigdir}/libdrm.pc
83
84 %files static
85 %defattr(644,root,root,755)
86 %{_libdir}/libdrm.a
This page took 0.033485 seconds and 4 git commands to generate.