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