]>
Commit | Line | Data |
---|---|---|
df5bf5b9 | 1 | Summary: Pixel manipulation library |
3a80489e | 2 | Summary(pl.UTF-8): Biblioteka operacji na pikselach |
20bebe02 | 3 | Name: pixman |
80c5d855 | 4 | # even is stable, odd is unstable |
39cbbf28 | 5 | Version: 0.12.0 |
ad4f4087 | 6 | Release: 2 |
1ff231ba | 7 | License: MIT |
20bebe02 | 8 | Group: Libraries |
8a3ccc19 | 9 | Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 |
39cbbf28 | 10 | # Source0-md5: 494af78c1c7d825c9ad6815d7b91f17d |
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 |
20bebe02 AM |
60 | |
61 | %build | |
62 | %{__libtoolize} | |
63 | %{__aclocal} | |
64 | %{__autoconf} | |
65 | %{__autoheader} | |
66 | %{__automake} | |
6d29bdb1 | 67 | %configure \ |
050c1547 | 68 | %ifarch %{x8664} |
6d29bdb1 ER |
69 | %if "%{cc_version}" < "4.2" |
70 | --disable-sse2 | |
71 | %endif | |
050c1547 | 72 | %endif |
20bebe02 AM |
73 | %{__make} |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
996cc551 AM |
81 | sed -i -e 's#<pixman-version.h>#<pixman-1/pixman-version.h>#g' $RPM_BUILD_ROOT%{_includedir}/pixman-1/pixman.h |
82 | ||
20bebe02 AM |
83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %post -p /sbin/ldconfig | |
87 | %postun -p /sbin/ldconfig | |
88 | ||
89 | %files | |
90 | %defattr(644,root,root,755) | |
5f34610e | 91 | %doc README TODO |
1ff231ba | 92 | %attr(755,root,root) %{_libdir}/libpixman-1.so.*.*.* |
5f34610e | 93 | %attr(755,root,root) %ghost %{_libdir}/libpixman-1.so.0 |
20bebe02 AM |
94 | |
95 | %files devel | |
96 | %defattr(644,root,root,755) | |
1ff231ba JB |
97 | %attr(755,root,root) %{_libdir}/libpixman-1.so |
98 | %{_libdir}/libpixman-1.la | |
99 | %{_includedir}/pixman-1 | |
100 | %{_pkgconfigdir}/pixman-1.pc | |
20bebe02 AM |
101 | |
102 | %files static | |
103 | %defattr(644,root,root,755) | |
1ff231ba | 104 | %{_libdir}/libpixman-1.a |