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