]>
Commit | Line | Data |
---|---|---|
6e1ed481 | 1 | Summary: Powerful image loading and rendering library |
5dce206d | 2 | Summary(pl.UTF-8): Potężna biblioteka wczytująca i renderująca obrazki |
6e1ed481 | 3 | Name: imlib2 |
ecd20440 | 4 | Version: 1.7.0 |
228baabe | 5 | Release: 1 |
e59b42b0 | 6 | License: BSD-like |
6e1ed481 | 7 | Group: X11/Libraries |
62e1a2f2 | 8 | Source0: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2 |
ecd20440 | 9 | # Source0-md5: 65a1fc5f6a50ffc54aa8f6758e725973 |
f95b3825 | 10 | URL: https://docs.enlightenment.org/api/imlib2/html/ |
b0ab6cb3 JB |
11 | BuildRequires: autoconf >= 2.52 |
12 | BuildRequires: automake >= 1.6 | |
82e9092e | 13 | BuildRequires: bzip2-devel |
e4663b36 | 14 | BuildRequires: freetype-devel >= 2.1 |
f9ff4964 | 15 | BuildRequires: giflib-devel |
ecc471a9 | 16 | BuildRequires: libid3tag-devel |
840d5c6c | 17 | BuildRequires: libjpeg-devel >= 6b-18 |
840d5c6c | 18 | BuildRequires: libpng-devel >= 1.0.8 |
19 | BuildRequires: libtiff-devel | |
20 | BuildRequires: libtool | |
ecd20440 JP |
21 | BuildRequires: libwebp-devel |
22 | BuildRequires: libxcb-devel >= 1.9 | |
158801d8 | 23 | BuildRequires: pkgconfig |
ecd20440 | 24 | BuildRequires: xorg-lib-libX11-devel |
6fef07ec | 25 | BuildRequires: xorg-lib-libXext-devel |
ecc471a9 | 26 | BuildRequires: zlib-devel |
ecd20440 JP |
27 | Requires: freetype >= 2.1 |
28 | Requires: libjpeg >= 6b-18 | |
29 | Requires: libpng >= 1.0.8 | |
30 | Requires: libxcb >= 1.9 | |
99f507e3 | 31 | Obsoletes: libimlib2_1 |
7d8f53dc | 32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
6e1ed481 | 33 | |
6e1ed481 AM |
34 | %description |
35 | Imlib2 is an advanced replacement library for libraries like libXpm | |
36 | that provides many more features with much greater flexibility and | |
37 | speed than standard libraries, including font rasterization, rotation, | |
38 | RGBA space rendering and blending, dynamic binary filters, scripting, | |
39 | and more. | |
40 | ||
ad92b7d9 JR |
41 | %description -l pl.UTF-8 |
42 | Imlib2 jest zaawansowaną biblioteką, zamiennikiem takich bibliotek jak | |
43 | libXpm. Imlib2 dostarcza o wiele więcej możliwości przy dużo większej | |
44 | szybkości niż standardowe biblioteki (włączając w to rasteryzację | |
485bf409 AM |
45 | fontów, obracanie, renderowanie przestrzeni RGBA, mieszanie, |
46 | dynamiczne filtry (w postaci binarnej), obsługa języka skryptowego i | |
47 | wiele więcej. | |
6e1ed481 AM |
48 | |
49 | %package devel | |
42a58ed5 | 50 | Summary: Imlib2 header files and development documentation |
5dce206d ER |
51 | Summary(fr.UTF-8): Fichiers entête pour Imlib2 |
52 | Summary(pl.UTF-8): Pliki nagłówkowe oraz dokumentacja do imlib2 | |
6e1ed481 | 53 | Group: X11/Development/Libraries |
deebefc7 | 54 | Requires: %{name} = %{version}-%{release} |
42a58ed5 | 55 | Requires: freetype-devel |
009059a1 | 56 | Requires: libltdl-devel |
6fef07ec | 57 | Requires: xorg-lib-libXext-devel |
99f507e3 | 58 | Obsoletes: libimlib2_1-devel |
6e1ed481 AM |
59 | |
60 | %description devel | |
42a58ed5 | 61 | Header files and development documentation for Imlib2. |
6e1ed481 | 62 | |
ad92b7d9 JR |
63 | %description devel -l fr.UTF-8 |
64 | Fichiers entête pour Imlib2. | |
6e1ed481 | 65 | |
ad92b7d9 JR |
66 | %description devel -l pl.UTF-8 |
67 | Pliki nagłówkowe oraz dokumentacja do biblioteki Imlib2. | |
6e1ed481 AM |
68 | |
69 | %package static | |
62e1a2f2 JB |
70 | Summary: Imlib2 static library |
71 | Summary(pl.UTF-8): Biblioteka statyczna imlib2 | |
6e1ed481 | 72 | Group: X11/Development/Libraries |
deebefc7 | 73 | Requires: %{name}-devel = %{version}-%{release} |
6e1ed481 AM |
74 | |
75 | %description static | |
62e1a2f2 | 76 | Imlib2 static library. |
6e1ed481 | 77 | |
ad92b7d9 | 78 | %description static -l pl.UTF-8 |
62e1a2f2 | 79 | Biblioteka statyczna imlib2. |
6e1ed481 AM |
80 | |
81 | %prep | |
485bf409 | 82 | %setup -q |
6e1ed481 AM |
83 | |
84 | %build | |
7d8f53dc | 85 | %{__libtoolize} |
fda9b65c | 86 | %{__aclocal} |
1626d20b | 87 | %{__autoconf} |
42a58ed5 | 88 | %{__autoheader} |
1626d20b | 89 | %{__automake} |
6e1ed481 | 90 | %configure \ |
62e1a2f2 | 91 | --disable-silent-rules \ |
df1bbb55 | 92 | %ifarch i586 i686 pentium3 pentium4 athlon |
6e1ed481 AM |
93 | --enable-mmx |
94 | %else | |
95 | --disable-mmx | |
96 | %endif | |
97 | ||
862bffff | 98 | %{__make} |
9189fbac | 99 | |
6e1ed481 AM |
100 | %install |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %{__make} install \ | |
104 | DESTDIR=$RPM_BUILD_ROOT | |
105 | ||
62e1a2f2 JB |
106 | # not needed |
107 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/imlib2/*/*.la | |
ea91e133 | 108 | |
6e1ed481 AM |
109 | %clean |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
009059a1 JB |
112 | %post -p /sbin/ldconfig |
113 | %postun -p /sbin/ldconfig | |
114 | ||
6e1ed481 AM |
115 | %files |
116 | %defattr(644,root,root,755) | |
e59b42b0 | 117 | %doc AUTHORS COPYING COPYING-PLAIN ChangeLog README |
e4663b36 | 118 | %attr(755,root,root) %{_bindir}/imlib2_* |
6e93d49a JB |
119 | %attr(755,root,root) %{_libdir}/libImlib2.so.*.*.* |
120 | %attr(755,root,root) %ghost %{_libdir}/libImlib2.so.1 | |
e4663b36 JB |
121 | %dir %{_libdir}/imlib2 |
122 | %dir %{_libdir}/imlib2/filters | |
df1bbb55 | 123 | %attr(755,root,root) %{_libdir}/imlib2/filters/*.so |
e4663b36 | 124 | %dir %{_libdir}/imlib2/loaders |
df1bbb55 | 125 | %attr(755,root,root) %{_libdir}/imlib2/loaders/*.so |
e4663b36 | 126 | %{_datadir}/imlib2 |
6e1ed481 AM |
127 | |
128 | %files devel | |
129 | %defattr(644,root,root,755) | |
e4663b36 | 130 | %doc doc/{*.gif,*.html} |
42a58ed5 | 131 | %attr(755,root,root) %{_bindir}/imlib2-config |
df1bbb55 JB |
132 | %attr(755,root,root) %{_libdir}/libImlib2.so |
133 | %{_libdir}/libImlib2.la | |
e4663b36 | 134 | %{_includedir}/Imlib2.h |
42a58ed5 | 135 | %{_pkgconfigdir}/imlib2.pc |
6e1ed481 AM |
136 | |
137 | %files static | |
138 | %defattr(644,root,root,755) | |
df1bbb55 | 139 | %{_libdir}/libImlib2.a |