]>
Commit | Line | Data |
---|---|---|
cc4f5c41 | 1 | Summary: Image loading and rendering library for X11R6 |
f96a4b18 ER |
2 | Summary(es.UTF-8): Biblioteca de carga y render 3D para X11R6 |
3 | Summary(fr.UTF-8): Librairie de chargement et interprétation d'images pour X11R6 | |
4 | Summary(ko.UTF-8): X11R6를 위한 그림 읽기/화면에 그려주기 라이브러리 | |
5 | Summary(pl.UTF-8): Biblioteki do renderowania i ładowania grafiki pod X11R6 | |
6 | Summary(pt_BR.UTF-8): Biblioteca de carga e renderização para X11R6 | |
3e9f3e5a | 7 | Name: imlib |
d451991a | 8 | Version: 1.9.15 |
0b051f73 | 9 | Release: 21 |
5397297f | 10 | Epoch: 1 |
5840f60d | 11 | License: LGPL v2 |
cc4f5c41 | 12 | Group: X11/Libraries |
5840f60d | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/imlib/1.9/%{name}-%{version}.tar.bz2 |
d451991a | 14 | # Source0-md5: 7db987e6c52e4daf70d7d0f471238eae |
df619069 | 15 | Source1: %{name}-config.desktop |
9b5d2d76 | 16 | Patch0: %{name}-m4_fix.patch |
17 | Patch1: %{name}-full_i18n.patch | |
30ba6ac1 | 18 | Patch2: %{name}-config.patch |
d451991a JB |
19 | Patch3: %{name}-am18.patch |
20 | Patch4: %{name}-intl.patch | |
4c3cea7e | 21 | Patch5: %{name}-CAN-2004-1026.patch |
c1f73ee4 | 22 | Patch6: %{name}-link.patch |
6a6ce785 | 23 | Patch7: %{name}-16bit_depth_fix.patch |
667885e2 | 24 | Patch8: %{name}-exa_fix.patch |
78bcc69f | 25 | Patch9: %{name}-ac.patch |
056060c6 | 26 | Patch10: %{name}-libpng.patch |
34ef8a40 | 27 | Patch11: %{name}-libpng15.patch |
c1f73ee4 | 28 | BuildRequires: autoconf >= 2.59-9 |
ecd26115 | 29 | BuildRequires: automake |
30 | BuildRequires: gettext-devel | |
58cf84ad | 31 | BuildRequires: giflib-devel |
d451991a | 32 | BuildRequires: gtk+-devel >= 1.2.1 |
5d8f3e5e | 33 | BuildRequires: libjpeg-devel >= 6b-18 |
393c28bc | 34 | BuildRequires: libpng-devel >= 1.0.8 |
d451991a | 35 | BuildRequires: libtiff-devel |
f6e809b2 | 36 | BuildRequires: libtool |
c1f73ee4 | 37 | BuildRequires: xorg-lib-libX11-devel |
38fe864b | 38 | BuildRequires: zlib-devel |
c221a221 | 39 | Obsoletes: libimlib1 |
d451991a | 40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cc4f5c41 | 41 | |
58c6851b | 42 | %define _sysconfdir /etc/X11 |
38b6f0e9 | 43 | |
f6a2edb3 | 44 | %description |
ac9e96b4 | 45 | Imlib is an advanced replacement library for libraries like libXpm |
46 | that provides many more features with much greater flexability and | |
47 | speed. | |
f6a2edb3 | 48 | |
3bbf08e4 | 49 | %description -l es.UTF-8 |
2ea76792 | 50 | Imlib es una biblioteca avanzada que sustituye las bibliotecas libXpm |
3bbf08e4 | 51 | que ofrece mucho más opciones/características con una flexibilidad y |
2ea76792 | 52 | velocidad mucho mayores. |
53 | ||
3bbf08e4 JR |
54 | %description -l fr.UTF-8 |
55 | Imlib est une librairie de remplacement avancée pour les librairies | |
56 | comme libXpm qui fourni plus d'atouts et beaucoup plus de flexibilité | |
ac9e96b4 | 57 | et de vitesse. |
64da2522 | 58 | |
3bbf08e4 | 59 | %description -l pl.UTF-8 |
c7b58f15 | 60 | Imlib jest zaawansowanym zamiennikiem bibliotek typu libXpm, ze |
3bbf08e4 | 61 | zwiększoną elastycznością oraz prędkością. |
f6a2edb3 | 62 | |
3bbf08e4 JR |
63 | %description -l pt_BR.UTF-8 |
64 | A imlib é uma biblioteca avançada que substitui as bibliotecas libXpm | |
65 | que fornece muito mais opções/características com uma flexibilidade e | |
2ea76792 | 66 | velocidade muito maiores. |
67 | ||
58c6851b | 68 | %package cfgeditor |
45e8f68a | 69 | Summary: Imlib configuration editor |
f96a4b18 ER |
70 | Summary(es.UTF-8): Editor de configuración de imlib |
71 | Summary(ko.UTF-8): Imlib라이브러리용 설정 편집기 | |
72 | Summary(pl.UTF-8): Edytor konfiguracji do biblioteki imlib | |
73 | Summary(pt_BR.UTF-8): Editor da configuração da imlib | |
b50c1500 | 74 | Group: X11/Applications |
4c3cea7e | 75 | Requires: %{name} = %{epoch}:%{version}-%{release} |
45e8f68a | 76 | |
77 | %description cfgeditor | |
ac9e96b4 | 78 | The imlib_config program allows you to control the way imlib uses |
79 | color and handles gamma correction/etc. | |
45e8f68a | 80 | |
3bbf08e4 | 81 | %description cfgeditor -l es.UTF-8 |
2ea76792 | 82 | El programa imlib_config te permite controlar como imlib usa los |
3bbf08e4 | 83 | colores y manipula la corrección gamma, etc. |
2ea76792 | 84 | |
3bbf08e4 JR |
85 | %description cfgeditor -l pl.UTF-8 |
86 | Program imlib_config umożliwia zmianę sposobu używania przez | |
87 | bibliotekę imlib kolorów, korekcji gamma i innych. | |
45e8f68a | 88 | |
3bbf08e4 | 89 | %description cfgeditor -l pt_BR.UTF-8 |
2ea76792 | 90 | O programa imlib_config lhe permite controlar como a imlib usa as |
3bbf08e4 | 91 | cores e trata correção gamma, etc. |
2ea76792 | 92 | |
58c6851b | 93 | %package devel |
f6a2edb3 | 94 | Summary: Imlib header files and development documentation |
f96a4b18 ER |
95 | Summary(es.UTF-8): Archivos de inclusión, bibliotecas y documentación para Imlib |
96 | Summary(fr.UTF-8): Fichiers entête pour Imlib | |
97 | Summary(ko.UTF-8): Imlib 응용프로그램들을 위한 개발 도구 | |
98 | Summary(pl.UTF-8): Pliki nagłówkowe oraz dokumentacja do imlib | |
99 | Summary(pt_BR.UTF-8): Arquivos de inclusão, bibliotecas e documentação para a Imlib | |
cc4f5c41 | 100 | Group: X11/Development/Libraries |
d451991a | 101 | Requires: %{name} = %{epoch}:%{version}-%{release} |
58cf84ad | 102 | Requires: giflib-devel |
76156e6c | 103 | Requires: libjpeg-devel |
d451991a | 104 | Requires: libpng-devel |
76156e6c | 105 | Requires: libtiff-devel |
c1f73ee4 | 106 | Requires: xorg-lib-libX11-devel |
76156e6c | 107 | Requires: zlib-devel |
c221a221 | 108 | Obsoletes: libimlib1-devel |
cc4f5c41 | 109 | |
f6a2edb3 | 110 | %description devel |
111 | Header files and development documentation for Imlib. | |
112 | ||
3bbf08e4 JR |
113 | %description devel -l es.UTF-8 |
114 | Archivos de inclusión, bibliotecas estáticas y documentación para | |
2ea76792 | 115 | imlib. |
116 | ||
3bbf08e4 JR |
117 | %description devel -l fr.UTF-8 |
118 | Fichiers entête pour Imlib. | |
64da2522 | 119 | |
3bbf08e4 JR |
120 | %description devel -l pl.UTF-8 |
121 | Pliki nagłówkowe oraz dokumentacja do biblioteki Imlib. | |
f6a2edb3 | 122 | |
3bbf08e4 JR |
123 | %description devel -l pt_BR.UTF-8 |
124 | Arquivos de inclusão, bibliotecas estáticas e documentação para a | |
2ea76792 | 125 | imlib. |
126 | ||
58c6851b | 127 | %package static |
f6a2edb3 | 128 | Summary: Imlib static libraries |
f96a4b18 ER |
129 | Summary(pl.UTF-8): Biblioteki statyczne imlib |
130 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com imlib | |
cc4f5c41 | 131 | Group: X11/Development/Libraries |
d451991a | 132 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
cc4f5c41 | 133 | |
f6a2edb3 | 134 | %description static |
135 | Imlib static libraries. | |
136 | ||
3bbf08e4 | 137 | %description static -l pl.UTF-8 |
f6a2edb3 | 138 | Biblioteki statyczne imlib. |
139 | ||
3bbf08e4 JR |
140 | %description static -l pt_BR.UTF-8 |
141 | Bibliotecas estáticas para desenvolvimento com imlib. | |
2ea76792 | 142 | |
f6a2edb3 | 143 | %prep |
144 | %setup -q | |
475719a3 | 145 | %patch0 -p1 |
ecd26115 | 146 | %patch1 -p1 |
30ba6ac1 | 147 | %patch2 -p1 |
2ea76792 | 148 | %patch3 -p1 |
a7be9b10 | 149 | # temporary hack |
d451991a | 150 | %patch4 -p1 |
4c3cea7e | 151 | %patch5 -p1 |
c1f73ee4 | 152 | %patch6 -p1 |
6a6ce785 | 153 | %patch7 -p1 |
667885e2 | 154 | %patch8 -p1 |
78bcc69f | 155 | %patch9 -p0 |
056060c6 | 156 | %patch10 -p1 |
34ef8a40 | 157 | %patch11 -p0 |
5d4d127e | 158 | |
f6a2edb3 | 159 | %build |
151c409c | 160 | %{__gettextize} |
f6e809b2 | 161 | %{__libtoolize} |
71136597 | 162 | %{__aclocal} |
01b7602d | 163 | %{__autoconf} |
d451991a | 164 | %{__autoheader} |
01b7602d | 165 | %{__automake} |
94c60768 | 166 | %configure |
d238738f | 167 | %{__make} |
de2f7cc3 | 168 | |
f6a2edb3 | 169 | %install |
170 | rm -rf $RPM_BUILD_ROOT | |
1c2f5861 | 171 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
9e89036d | 172 | |
683a412d | 173 | %{__make} install \ |
ac9e96b4 | 174 | DESTDIR=$RPM_BUILD_ROOT \ |
175 | m4datadir=%{_aclocaldir} | |
6c6da55d | 176 | |
1c2f5861 | 177 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
9e89036d | 178 | |
5d4d127e | 179 | # no static modules and *.la for modules - shut up check-files |
708d825f | 180 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libimlib-*.{la,a} |
5d4d127e | 181 | |
ecd26115 | 182 | %find_lang %{name} |
183 | ||
58c6851b | 184 | %clean |
185 | rm -rf $RPM_BUILD_ROOT | |
186 | ||
30ba6ac1 JB |
187 | %post -p /sbin/ldconfig |
188 | %postun -p /sbin/ldconfig | |
189 | ||
f6a2edb3 | 190 | %files |
05516e10 | 191 | %defattr(644,root,root,755) |
708d825f JB |
192 | %doc AUTHORS ChangeLog README |
193 | %attr(755,root,root) %{_libdir}/libImlib.so.*.*.* | |
194 | %attr(755,root,root) %ghost %{_libdir}/libImlib.so.1 | |
195 | %attr(755,root,root) %{_libdir}/libgdk_imlib.so.*.*.* | |
196 | %attr(755,root,root) %ghost %{_libdir}/libgdk_imlib.so.1 | |
197 | %attr(755,root,root) %{_libdir}/libimlib-bmp.so | |
198 | %attr(755,root,root) %{_libdir}/libimlib-gif.so | |
199 | %attr(755,root,root) %{_libdir}/libimlib-jpeg.so | |
200 | %attr(755,root,root) %{_libdir}/libimlib-png.so | |
201 | %attr(755,root,root) %{_libdir}/libimlib-ppm.so | |
202 | %attr(755,root,root) %{_libdir}/libimlib-ps.so | |
203 | %attr(755,root,root) %{_libdir}/libimlib-tiff.so | |
204 | %attr(755,root,root) %{_libdir}/libimlib-xpm.so | |
591c770a ER |
205 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/im_palette*.pal |
206 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imrc | |
45e8f68a | 207 | |
ecd26115 | 208 | %files cfgeditor -f %{name}.lang |
7bafaeaa | 209 | %defattr(644,root,root,755) |
38b6f0e9 | 210 | %attr(755,root,root) %{_bindir}/imlib_config |
12419359 | 211 | %{_mandir}/man1/imlib_config.1* |
d451991a | 212 | %{_desktopdir}/imlib-config.desktop |
8186ec4a | 213 | |
f6a2edb3 | 214 | %files devel |
45e8f68a | 215 | %defattr(644,root,root,755) |
708d825f | 216 | %doc doc/{*.gif,*.html} |
12419359 | 217 | %attr(755,root,root) %{_bindir}/imlib-config |
be638d40 | 218 | %attr(755,root,root) %{_libdir}/libImlib.so |
219 | %attr(755,root,root) %{_libdir}/libgdk_imlib.so | |
92654746 | 220 | %{_libdir}/libImlib.la |
221 | %{_libdir}/libgdk_imlib.la | |
708d825f JB |
222 | %{_includedir}/Imlib*.h |
223 | %{_includedir}/gdk_imlib*.h | |
224 | %{_aclocaldir}/imlib.m4 | |
225 | %{_pkgconfigdir}/imlib.pc | |
226 | %{_pkgconfigdir}/imlibgdk.pc | |
12419359 | 227 | %{_mandir}/man1/imlib-config.1* |
8186ec4a | 228 | |
f6a2edb3 | 229 | %files static |
7bafaeaa | 230 | %defattr(644,root,root,755) |
5d4d127e JB |
231 | %{_libdir}/libImlib.a |
232 | %{_libdir}/libgdk_imlib.a |