spec cleanup
[platform/upstream/libXrender.git] / packaging / libXrender.spec
1 Name:           libXrender
2 Version:        0.9.7
3 Release:        0
4 License:        MIT
5 Summary:        X Rendering Extension library
6 Url:            http://cgit.freedesktop.org/xorg/lib/libXrender/
7 Group:          Development/Libraries/C and C++
8
9 Source:         %{name}-%{version}.tar.bz2
10 BuildRequires:  pkgconfig
11 BuildRequires:  pkgconfig(renderproto) >= 0.9
12 BuildRequires:  pkgconfig(x11)
13 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
14
15 %description
16 The Xrender library is designed as a lightweight library interface to
17 the Render extension.
18
19 %package devel
20 Summary:        Development files for the X11 Render Extension library
21 Group:          Development/Libraries/C and C++
22 Requires:       %{name} = %{version}
23
24 %description devel
25 The Xrender library is designed as a lightweight library interface to
26 the Render extension.
27
28 This package contains the development headers for the library found
29 in %{name}.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure --docdir=%_docdir/%{name} --disable-static
36 make %{?_smp_mflags}
37
38 %install
39 %make_install
40
41 %post  -p /sbin/ldconfig
42
43 %postun  -p /sbin/ldconfig
44
45 %files
46 %defattr(-,root,root)
47 %{_libdir}/libXrender.so.1*
48
49 %files devel
50 %defattr(-,root,root)
51 %{_includedir}/X11/*
52 %{_libdir}/libXrender.so
53 %{_libdir}/pkgconfig/xrender.pc
54 %_docdir/%{name}
55
56 %changelog