b10c4dd11a82bae12b6f23b16d9c6b312115b95f
[framework/graphics/pixman.git] / packaging / pixman.spec
1
2 Name:       pixman
3 Summary:    Pixel manipulation library
4 Version:    0.21.6
5 Release:    1
6 Group:      System/Libraries
7 License:    MIT
8 URL:        http://www.x.org/
9 Source0:    http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12
13
14 %description
15 Description: %{summary}
16
17
18 %package devel
19 Summary:    Development components for the pixman library
20 Group:      Development/Libraries
21 Requires:   %{name} = %{version}-%{release}
22
23 %description devel
24 Description: %{summary}
25
26
27 %prep
28 %setup -q -n %{name}-%{version}
29
30 %build
31
32 %reconfigure
33 make %{?jobs:-j%jobs}
34
35 %install
36 rm -rf %{buildroot}
37 %make_install
38
39
40
41
42 %post -p /sbin/ldconfig
43
44 %postun -p /sbin/ldconfig
45
46
47
48
49
50 %files
51 %defattr(-,root,root,-)
52 %{_libdir}/libpixman-1*.so.*
53
54
55 %files devel
56 %defattr(-,root,root,-)
57 %dir %{_includedir}/pixman-1
58 %{_includedir}/pixman-1/pixman.h
59 %{_includedir}/pixman-1/pixman-version.h
60 %{_libdir}/libpixman-1*.so
61 %{_libdir}/pkgconfig/pixman-1.pc
62