]>
Commit | Line | Data |
---|---|---|
df5bf5b9 | 1 | Summary: Pixel manipulation library |
3a80489e | 2 | Summary(pl.UTF-8): Biblioteka operacji na pikselach |
20bebe02 | 3 | Name: pixman |
39cbbf28 | 4 | Version: 0.12.0 |
74892da8 | 5 | Release: 1 |
1ff231ba | 6 | License: MIT |
20bebe02 | 7 | Group: Libraries |
8a3ccc19 | 8 | Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 |
39cbbf28 | 9 | # Source0-md5: 494af78c1c7d825c9ad6815d7b91f17d |
0da7eedf | 10 | Patch0: %{name}-gcc3.patch |
df5bf5b9 | 11 | URL: http://xorg.freedesktop.org/ |
b33794b6 | 12 | BuildRequires: autoconf >= 2.57 |
20bebe02 AM |
13 | BuildRequires: automake |
14 | BuildRequires: libtool | |
0da7eedf | 15 | BuildRequires: rpmbuild(macros) >= 1.453 |
1ff231ba | 16 | Obsoletes: libic |
df5bf5b9 | 17 | Obsoletes: libpixman |
1ff231ba | 18 | Obsoletes: libpixregion |
20bebe02 AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | pixman is a pixel manipulation library. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | pixman to biblioteka do operacji na pikselach. | |
26 | ||
27 | %package devel | |
df5bf5b9 AM |
28 | Summary: Development files for pixman |
29 | Summary(pl.UTF-8): Pliki dla programistów do biblioteki pixman | |
20bebe02 AM |
30 | Group: Development/Libraries |
31 | Requires: %{name} = %{version}-%{release} | |
1ff231ba | 32 | Obsoletes: libic-devel |
df5bf5b9 | 33 | Obsoletes: libpixman-devel |
1ff231ba | 34 | Obsoletes: libpixregion-devel |
20bebe02 AM |
35 | |
36 | %description devel | |
df5bf5b9 | 37 | This package contains development files for pixman library. |
20bebe02 AM |
38 | |
39 | %description devel -l pl.UTF-8 | |
40 | Ten pakiet zawiera pliki dla programistów korzystających z biblioteki | |
df5bf5b9 | 41 | pixman. |
20bebe02 AM |
42 | |
43 | %package static | |
44 | Summary: Static pixman library | |
45 | Summary(pl.UTF-8): Statyczna biblioteka pixman | |
46 | Group: Development/Libraries | |
47 | Requires: %{name}-devel = %{version}-%{release} | |
1ff231ba | 48 | Obsoletes: libic-static |
df5bf5b9 | 49 | Obsoletes: libpixman-static |
1ff231ba | 50 | Obsoletes: libpixregion-static |
20bebe02 AM |
51 | |
52 | %description static | |
53 | This package contains static pixman library. | |
54 | ||
55 | %description static -l pl.UTF-8 | |
56 | Ten pakiet zawiera statyczną wersję biblioteki pixman. | |
57 | ||
58 | %prep | |
361825e7 | 59 | %setup -q |
0da7eedf ER |
60 | %if "%{cc_version}" < "3.4" |
61 | %patch0 -p1 | |
62 | %endif | |
20bebe02 AM |
63 | |
64 | %build | |
65 | %{__libtoolize} | |
66 | %{__aclocal} | |
67 | %{__autoconf} | |
68 | %{__autoheader} | |
69 | %{__automake} | |
70 | %configure | |
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
996cc551 AM |
79 | sed -i -e 's#<pixman-version.h>#<pixman-1/pixman-version.h>#g' $RPM_BUILD_ROOT%{_includedir}/pixman-1/pixman.h |
80 | ||
20bebe02 AM |
81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post -p /sbin/ldconfig | |
85 | %postun -p /sbin/ldconfig | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
5f34610e | 89 | %doc README TODO |
1ff231ba | 90 | %attr(755,root,root) %{_libdir}/libpixman-1.so.*.*.* |
5f34610e | 91 | %attr(755,root,root) %ghost %{_libdir}/libpixman-1.so.0 |
20bebe02 AM |
92 | |
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
1ff231ba JB |
95 | %attr(755,root,root) %{_libdir}/libpixman-1.so |
96 | %{_libdir}/libpixman-1.la | |
97 | %{_includedir}/pixman-1 | |
98 | %{_pkgconfigdir}/pixman-1.pc | |
20bebe02 AM |
99 | |
100 | %files static | |
101 | %defattr(644,root,root,755) | |
1ff231ba | 102 | %{_libdir}/libpixman-1.a |