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