]> git.pld-linux.org Git - packages/libdrm.git/blob - libdrm.spec
- rebuild ac/am/lt to get rid of g++ build dependency
[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.3
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://people.freedesktop.org/~ajax/libdrm/%{name}-%{version}.tar.gz
9 # Source0-md5:  2fd32375b17fa80e3a962276f98d6440
10 URL:            http://dri.freedesktop.org/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 # currently uses <X11/Xlibint.h>
15 BuildRequires:  xorg-lib-libX11-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Userspace interface to kernel DRM services.
20
21 %description -l pl
22 Interfejs przestrzeni u¿ytkownika do us³ug DRM j±dra.
23
24 %package devel
25 Summary:        Header files for libdrm library
26 Summary(pl):    Pliki nag³ówkowe biblioteki libdrm
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for libdrm library.
32
33 %description devel -l pl
34 Pliki nag³ówkowe biblioteki libdrm.
35
36 %package static
37 Summary:        Static libdrm library
38 Summary(pl):    Statyczna biblioteka libdrm
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 Static libdrm library.
44
45 %description static -l pl
46 Statyczna biblioteka libdrm.
47
48 %prep
49 %setup -q
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.03717 seconds and 4 git commands to generate.