]> git.pld-linux.org Git - packages/libdrm.git/blob - libdrm.spec
- up to 2.3.1
[packages/libdrm.git] / libdrm.spec
1 Summary:        Userspace interface to kernel DRM services
2 Summary(pl.UTF-8):      Interfejs przestrzeni użytkownika do usług DRM jądra
3 Name:           libdrm
4 Version:        2.3.1
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
9 # Source0-md5:  620fe7dd02c3236c3e9881a3a238173d
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.UTF-8
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.UTF-8):      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.UTF-8
32 Pliki nagłówkowe biblioteki libdrm.
33
34 %package static
35 Summary:        Static libdrm library
36 Summary(pl.UTF-8):      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.UTF-8
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         --enable-static
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.*.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libdrm.so
78 %{_libdir}/libdrm.la
79 %{_includedir}/*.h
80 %{_includedir}/drm
81 %{_pkgconfigdir}/libdrm.pc
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/libdrm.a
This page took 0.0441 seconds and 4 git commands to generate.