]>
Commit | Line | Data |
---|---|---|
3f8793ab ER |
1 | # TODO |
2 | # - remove magick/quantum-private.h when koffice 1.6 is fixed not to use it | |
e5e5bef8 JB |
3 | # |
4 | # Conditional build: | |
3e323b10 | 5 | %bcond_without djvu # without DJVU module |
2db52e86 | 6 | %bcond_without fpx # without FlashPIX module (which uses fpx library) |
7 | %bcond_without graphviz # without Graphviz support | |
8 | %bcond_with gs # with PostScript support through ghostscript library (warning: breaks jpeg!) | |
9 | %bcond_without jasper # without JPEG2000 module (which uses jasper library) | |
8299684a | 10 | %bcond_without wmf # without WMF module (which uses libwmf library) |
2db52e86 | 11 | %bcond_without cxx # without Magick++ |
e3f9f772 | 12 | %bcond_without exr # without OpenEXR module |
b4c8d5af | 13 | |
dc47b66a | 14 | %include /usr/lib/rpm/macros.perl |
cfec81ee | 15 | %define ver 6.6.2 |
16 | %define pver 9 | |
38eaf7d8 | 17 | %define QuantumDepth 16 |
276a4e12 | 18 | Summary: Image display, conversion, and manipulation under X |
ac354810 ER |
19 | Summary(de.UTF-8): Darstellen, Konvertieren und Bearbeiten von Grafiken unter X |
20 | Summary(es.UTF-8): Exhibidor, convertidor y manipulador de imágenes bajo X | |
21 | Summary(fr.UTF-8): Visualisation, conversion, et manipulation d'images sous X | |
22 | Summary(pl.UTF-8): Narzędzie do wyświetlania, konwersji i manipulacji grafikami | |
23 | Summary(pt_BR.UTF-8): Exibidor, conversor e manipulador de imagens sob X | |
24 | Summary(ru.UTF-8): Просмотр, конвертирование, обработка изображений под X Window | |
25 | Summary(tr.UTF-8): X altında resim gösterme, çevirme ve değişiklik yapma | |
26 | Summary(uk.UTF-8): Перегляд, конвертування та обробка зображень під X Window | |
276a4e12 | 27 | Name: ImageMagick |
160210a7 | 28 | Version: %{ver}%{?pver:.%{pver}} |
cfec81ee | 29 | Release: 1 |
2d5b8f3b | 30 | Epoch: 1 |
0bf3e90c | 31 | License: Apache-like |
276a4e12 | 32 | Group: X11/Applications/Graphics |
ac4d6b49 | 33 | Source0: http://www.imagemagick.org/download/%{name}-%{ver}-%{pver}.tar.bz2 |
cfec81ee | 34 | # Source0-md5: 5353f5ae075d14888455f0802225bf29 |
44c52630 | 35 | Patch0: %{name}-ac.patch |
2a365d9e | 36 | Patch1: %{name}-link.patch |
c45c7086 | 37 | Patch2: %{name}-libpath.patch |
2a365d9e | 38 | Patch3: %{name}-ldflags.patch |
8dfbf714 | 39 | URL: http://www.imagemagick.org/ |
e3f9f772 | 40 | BuildRequires: OpenEXR-devel |
13991882 | 41 | BuildRequires: autoconf >= 2.62 |
803ddd56 | 42 | BuildRequires: automake >= 1:1.9 |
34ffabb4 | 43 | BuildRequires: bzip2-devel >= 1.0.1 |
3e323b10 | 44 | %{?with_djvu:BuildRequires: djvulibre-devel} |
a9ec374b | 45 | BuildRequires: expat-devel >= 1.95.7 |
34ffabb4 | 46 | BuildRequires: freetype-devel >= 2.0.2-2 |
6219ce3d | 47 | %{?with_gs:BuildRequires: ghostscript-devel} |
4aa3d783 | 48 | %{?with_graphviz:BuildRequires: graphviz-devel >= 2.6} |
d285010c | 49 | %{?with_jasper:BuildRequires: jasper-devel >= 1.700.5} |
b9b1c69a | 50 | BuildRequires: jbigkit-devel |
e5e5bef8 | 51 | BuildRequires: lcms-devel |
6219ce3d | 52 | %{?with_fpx:BuildRequires: libfpx-devel >= 1.2.0.4-3} |
890a666f | 53 | BuildRequires: libjpeg-devel |
cd57a8f7 | 54 | BuildRequires: libltdl-devel |
866c1e7f | 55 | BuildRequires: libpng-devel >= 1.0.8 |
e3f9f772 | 56 | BuildRequires: librsvg-devel |
9b4fe82b | 57 | BuildRequires: libstdc++-devel |
b9b1c69a | 58 | BuildRequires: libtiff-devel |
753477e0 | 59 | BuildRequires: libtool >= 2:1.5 |
8299684a | 60 | %{?with_wmf:BuildRequires: libwmf-devel >= 2:0.2.2} |
48698249 | 61 | BuildRequires: libxml2-devel >= 2.0 |
b5a2c469 | 62 | BuildRequires: perl-devel >= 1:5.8.0 |
390767fa | 63 | BuildRequires: pkgconfig |
b5a2c469 | 64 | BuildRequires: rpm-perlprov >= 4.1-13 |
3b8b118e | 65 | BuildRequires: rpmbuild(macros) >= 1.315 |
3dbb1028 JB |
66 | # only checked for, but only supplied scripts/txt2html is used |
67 | #BuildRequires: txt2html | |
d512ad7d | 68 | BuildRequires: xorg-lib-libXext |
d7628cd8 | 69 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
80f1519e | 70 | Obsoletes: ImageMagick-coder-dps |
3dbb1028 | 71 | Obsoletes: ImageMagick-coder-mpeg |
3f6ccfa5 | 72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a11f1cf1 | 73 | |
4c6476b7 | 74 | %define modulesdir %{_libdir}/ImageMagick-%{ver}/modules-Q%{QuantumDepth} |
24a8518b | 75 | |
130eb51f | 76 | %description |
441e5e4b | 77 | ImageMagick is an image display, conversion, and manipulation tool. It |
ca24bfeb | 78 | runs under X Window. It is very powerful in terms of it's ability to |
441e5e4b | 79 | allow the user to edit images. It can handle many different formats as |
80 | well. | |
130eb51f | 81 | |
a33f7406 | 82 | %description -l de.UTF-8 |
441e5e4b | 83 | ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und |
a33f7406 | 84 | manipulation, -das unter X-Window läuft. Es ist enorm leitungsfähig in |
e4bc28f6 | 85 | Bezug auf die Grafikmanipulationsfunktionen, die es dem Anwender |
a33f7406 | 86 | bietet, und auf die Vielfalt der unterstützten Formate. |
130eb51f | 87 | |
a33f7406 | 88 | %description -l es.UTF-8 |
edb977fe | 89 | ImageMagick es una herramienta para manipular, convertir y exhibir |
a33f7406 JR |
90 | imágenes, que funciona bajo X Window. Es una herramienta potente que |
91 | permite editar imágenes, pudiendo manipular varios formatos | |
edb977fe | 92 | diferentes. |
93 | ||
a33f7406 | 94 | %description -l fr.UTF-8 |
130eb51f | 95 | ImageMagick est un outil d'affichage, de conversion et de manipulation |
a33f7406 JR |
96 | d'images. Il tourne sous X Window et est très puissant en termes de |
97 | capacité d'édition des images. Il peut aussi gérer de nombreux formats | |
98 | différents. | |
99 | ||
100 | %description -l pl.UTF-8 | |
101 | ImageMagick jest narzędziem do manipulacji, konwersji i wyświetlania. | |
102 | W skład pakietu wchodzą zarówno narzędzia X Window jak i do używania z | |
103 | linii poleceń umożliwiające edycję plików graficznych. Narzędzia z | |
104 | pakietu ImageMagick potrafią obsłużyć wiele różnych formatów | |
441e5e4b | 105 | graficznych. |
130eb51f | 106 | |
a33f7406 JR |
107 | %description -l pt_BR.UTF-8 |
108 | ImageMagick é uma ferramenta para manipular, converter e exibir | |
109 | imagens, que funciona sob o X Window. É uma ferramenta poderosa que | |
110 | permite editar imagens, podendo tratar vários formatos diferentes. | |
edb977fe | 111 | |
a33f7406 JR |
112 | %description -l ru.UTF-8 |
113 | ImageMagick - это утилита для просмотра, конвертирования и обработки | |
114 | изображений. Она работает под X Window. ImageMagick предоставляет | |
115 | пользователю широкие возможности по обработке изображений в самых | |
116 | разнообразных форматах. | |
edb977fe | 117 | |
a33f7406 JR |
118 | %description -l tr.UTF-8 |
119 | ImageMagick bir resim gösterme, çevirme ve değişiklik yapma | |
120 | programıdır. X Window pencereleme sistemi altında çalışır. Kullanıcıya | |
121 | resimler üzerinde değişiklik yapma açısından pek çok olanak sunar. Bir | |
122 | çok resim biçimini rahatlıkla kullanabilir. | |
130eb51f | 123 | |
a33f7406 JR |
124 | %description -l uk.UTF-8 |
125 | ImageMagick - це утиліта для перегляду, конвертування та обробки | |
126 | зображень. Вона працює під X Window. ImageMagick дає користувачу | |
127 | широкі можливості по обробці зображень в різноманітних форматах. | |
edb977fe | 128 | |
0bf3e90c JB |
129 | %package doc |
130 | Summary: ImageMagick documentation | |
ac354810 | 131 | Summary(pl.UTF-8): Dokumentacja do ImageMagick |
0bf3e90c JB |
132 | Group: Documentation |
133 | ||
134 | %description doc | |
135 | Documentation for ImageMagick. | |
136 | ||
a33f7406 | 137 | %description doc -l pl.UTF-8 |
0bf3e90c JB |
138 | Dokumentacja do ImageMagick. |
139 | ||
cd57a8f7 JB |
140 | %package libs |
141 | Summary: ImageMagick libraries | |
ac354810 ER |
142 | Summary(pl.UTF-8): Biblioteki ImageMagick |
143 | Summary(pt_BR.UTF-8): Bibliotecas dinâmicas do ImageMagick | |
cd57a8f7 JB |
144 | Group: X11/Libraries |
145 | ||
146 | %description libs | |
147 | ImageMagick libraries. | |
148 | ||
a33f7406 | 149 | %description libs -l pl.UTF-8 |
cd57a8f7 JB |
150 | Biblioteki ImageMagick. |
151 | ||
a33f7406 JR |
152 | %description libs -l pt_BR.UTF-8 |
153 | Bibliotecas dinâmicas do ImageMagick. | |
cd57a8f7 | 154 | |
1d15dab9 | 155 | %package devel |
276a4e12 | 156 | Summary: Libraries and header files for ImageMagick development |
ac354810 ER |
157 | Summary(es.UTF-8): Biblioteca estática y archivos de inclusión para desarrollo con libMagick |
158 | Summary(pl.UTF-8): Biblioteki i pliki nagłówkowe dla ImageMagick | |
159 | Summary(pt_BR.UTF-8): Biblioteca e arquivos de inclusão para desenvolvimento com libMagick | |
160 | Summary(ru.UTF-8): Хедеры и библиотеки для программирования с ImageMagick | |
161 | Summary(uk.UTF-8): Хедери та бібліотеки для програмування з ImageMagick | |
790e254e | 162 | Group: X11/Development/Libraries |
d7628cd8 | 163 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
ce9538f9 | 164 | Requires: bzip2-devel |
e374afed | 165 | Requires: freetype-devel |
e5e5bef8 | 166 | Requires: lcms-devel |
fd0bc87a | 167 | Requires: libjpeg-devel |
e4bc28f6 | 168 | Requires: libltdl-devel |
fd0bc87a | 169 | Requires: libtiff-devel |
7dbca737 | 170 | Requires: xorg-lib-libXext-devel |
1c3eeb6b | 171 | Requires: zlib-devel |
a11f1cf1 | 172 | |
130eb51f | 173 | %description devel |
cf6eb0f4 JB |
174 | This is the ImageMagick development package. It includes header files |
175 | for use in developing your own applications that make use of the | |
176 | ImageMagick code and/or APIs. | |
130eb51f | 177 | |
a33f7406 JR |
178 | %description devel -l de.UTF-8 |
179 | Dies ist das ImageMagick-Entwicklerpaket. Es enthält Header-Dateien | |
fe66bace | 180 | zum Entwickeln von Anwendungen, die ImageMagick-Code und/oder -APIs |
181 | nutzen. | |
130eb51f | 182 | |
a33f7406 | 183 | %description devel -l es.UTF-8 |
edb977fe | 184 | Este es el paquete de desarrollo ImageMagick. Incluye las bibliotecas |
a33f7406 JR |
185 | y los archivos de inclusión para el desarrollo de sus propias |
186 | aplicaciones que hacen uso del código ImageMagick y/el APIs. | |
edb977fe | 187 | |
a33f7406 JR |
188 | %description devel -l fr.UTF-8 |
189 | Paquetage de développement ImageMagick. Contient les bibliothèques | |
190 | statiques et les en-têtes utilisés pour créer vos propres applications | |
441e5e4b | 191 | utilisant le code d'ImageMagick et/ou ses APIs. |
130eb51f | 192 | |
a33f7406 JR |
193 | %description devel -l pl.UTF-8 |
194 | Pakiet ten zawieraja pliki potrzebne przy kompilowaniu programów | |
195 | wykorzystujących blibliotekę ImageMagick takie jak pliki nagłówkowe i | |
196 | dokumentację niezbędną przy pisaniu własnych programów z | |
197 | wykorzystaniem API jakie udostępnia ImageMagick. | |
198 | ||
199 | %description devel -l pt_BR.UTF-8 | |
200 | Este é o pacote de desenvolvimento ImageMagick. Inclui as bibliotecas | |
201 | e os arquivos de inclusão para o desenvolvimento de suas próprias | |
202 | aplicações que fazem uso do código ImageMagick e/ou APIs. | |
203 | ||
204 | %description devel -l ru.UTF-8 | |
205 | Это пакет разработчика для программирования с ImageMagick. Он включает | |
206 | хедеры и библиотеки для использования в программах, которые используют | |
207 | код или API ImageMagick. | |
208 | ||
209 | %description devel -l tr.UTF-8 | |
210 | Bu paket, ImageMagick uygulama arayüzünü kullanan programlar | |
211 | geliştirmek için gereken başlık dosyalarını ve kitaplıkları içerir. | |
212 | ||
213 | %description devel -l uk.UTF-8 | |
214 | Це пакет для програмування з ImageMagick. Він містить хедери та | |
215 | бібліотеки для використання в програмах, що використовують код або API | |
edb977fe | 216 | ImageMagick. |
217 | ||
1d15dab9 | 218 | %package static |
276a4e12 | 219 | Summary: ImageMagick static libraries |
ac354810 ER |
220 | Summary(pl.UTF-8): Biblioteki statyczne ImageMagick |
221 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com libMagick | |
222 | Summary(ru.UTF-8): Статические библиотеки для программирования с ImageMagick | |
223 | Summary(uk.UTF-8): Статичні бібліотеки для програмування з ImageMagick | |
790e254e | 224 | Group: X11/Development/Libraries |
d7628cd8 | 225 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
a11f1cf1 | 226 | |
130eb51f | 227 | %description static |
276a4e12 | 228 | ImageMagick static libraries. |
130eb51f | 229 | |
a33f7406 | 230 | %description static -l pl.UTF-8 |
7792ca23 | 231 | Biblioteki statyczne ImageMagick. |
130eb51f | 232 | |
a33f7406 JR |
233 | %description static -l pt_BR.UTF-8 |
234 | Bibliotecas estáticas para desenvolvimento com libMagick. | |
edb977fe | 235 | |
a33f7406 JR |
236 | %description static -l ru.UTF-8 |
237 | Это отдельный пакет со статическими библиотеками, которые больше не | |
238 | входят в ImageMagick-devel. | |
edb977fe | 239 | |
a33f7406 JR |
240 | %description static -l uk.UTF-8 |
241 | Це окремий пакет зі статичними бібліотеками, які більше не входять до | |
242 | складу ImageMagick-devel. | |
edb977fe | 243 | |
b4c8d5af | 244 | %package -n perl-%{name} |
c66344de | 245 | Summary: Libraries and modules for access to ImageMagick from Perl |
ac354810 ER |
246 | Summary(pl.UTF-8): Biblioteki i moduły Perla dla ImageMagick |
247 | Summary(pt_BR.UTF-8): Módulo perl para uso com o ImageMagick | |
248 | Summary(ru.UTF-8): Библиотеки и модули для доступа к ImageMagick из perl | |
249 | Summary(uk.UTF-8): Бібліотеки та модулі для доступу до ImageMagick з Perl | |
2d5b8f3b | 250 | Group: Development/Languages/Perl |
a9ec374b | 251 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d7628cd8 | 252 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
57c65f7f | 253 | Requires: perl-dirs |
b4c8d5af ER |
254 | Provides: ImageMagick-perl = %{epoch}:%{version}-%{release} |
255 | Obsoletes: ImageMagick-perl | |
a11f1cf1 | 256 | |
b4c8d5af | 257 | %description -n perl-%{name} |
c66344de | 258 | This is the ImageMagick Perl support package. It perl modules and |
441e5e4b | 259 | support files for access to ImageMagick library from perl without |
260 | unuseful forking or such. | |
130eb51f | 261 | |
b4c8d5af | 262 | %description -n perl-%{name} -l pl.UTF-8 |
a33f7406 | 263 | Biblioteki i moduły umożliwiające korzystanie z ImageMagick z poziomu |
c66344de | 264 | Perla. |
130eb51f | 265 | |
b4c8d5af | 266 | %description -n perl-%{name} -l pt_BR.UTF-8 |
a33f7406 | 267 | Este pacote fornece um módulo perl para acessar funções do ImageMagick |
c66344de | 268 | em scripts Perl. |
edb977fe | 269 | |
b4c8d5af | 270 | %description -n perl-%{name} -l ru.UTF-8 |
a33f7406 JR |
271 | Это пакет ImageMagick для поддержки perl. Он включает модули perl и |
272 | вспомогательные файлы для доступа к библиотеке ImageMagick из Perl. | |
edb977fe | 273 | |
b4c8d5af | 274 | %description -n perl-%{name} -l uk.UTF-8 |
a33f7406 JR |
275 | Це пакет ImageMagick для підтримки Perl. Він містить модулі Perl та |
276 | додаткові файли для доступу до бібліотеки ImageMagick з Perl. | |
edb977fe | 277 | |
9b4fe82b | 278 | %package c++ |
279 | Summary: ImageMagick Magick++ library | |
ac354810 ER |
280 | Summary(pl.UTF-8): Biblioteka Magick++ |
281 | Summary(pt_BR.UTF-8): Bibliotecas dinâmicas do ImageMagick | |
282 | Summary(ru.UTF-8): Библиотека Magick++ (C++ интерфейс для ImageMagick'а) | |
283 | Summary(uk.UTF-8): Бібліотека Magick++ (інтерфейс C++ для ImageMagick) | |
9b4fe82b | 284 | Group: X11/Libraries |
d7628cd8 | 285 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
9b4fe82b | 286 | |
287 | %description c++ | |
288 | This package contains the Magick++ library, a C++ binding to the | |
289 | ImageMagick graphics manipulation library. | |
290 | ||
291 | Install ImageMagick-c++ if you want to use any applications that use | |
292 | Magick++. | |
293 | ||
a33f7406 JR |
294 | %description c++ -l pl.UTF-8 |
295 | Pakiet zawiera bibliotekę Magick++ - interfejs w C++ do biblioteki | |
296 | ImageMagick. Jest potrzebny do uruchamiania programów korzystających z | |
fe66bace | 297 | Magick++. |
cf6eb0f4 | 298 | |
a33f7406 JR |
299 | %description c++ -l pt_BR.UTF-8 |
300 | Bibliotecas dinâmicas C++ do ImageMagick. | |
edb977fe | 301 | |
a33f7406 JR |
302 | %description c++ -l ru.UTF-8 |
303 | Magick++ -- объектно-ориентированная библиотека, представляющая из | |
304 | себя C++ API для ImageMagick (библиотеки для просмотра, | |
305 | конвертирования и обработки изображений). | |
edb977fe | 306 | |
a33f7406 JR |
307 | %description c++ -l uk.UTF-8 |
308 | Magick++ -- об'єкто-орієнтована бібліотека, що являє собою C++ API для | |
309 | ImageMagick (бібліотеки для перегляду, конвертування та обробки | |
310 | зображень). | |
edb977fe | 311 | |
9b4fe82b | 312 | %package c++-devel |
313 | Summary: C++ bindings for the ImageMagick library | |
ac354810 ER |
314 | Summary(es.UTF-8): Biblioteca estática y archivos de inclusión para desarrollo con libMagick++ |
315 | Summary(pl.UTF-8): Pliki nagłówkowe z interfejsem C++ do ImageMagick | |
316 | Summary(pt_BR.UTF-8): Biblioteca e arquivos de inclusão para desenvolvimento com libMagick++ | |
317 | Summary(ru.UTF-8): Хедеры и библиотеки для разработок с использованием Magick++ (C++ интерфейс для ImageMagick'а) | |
318 | Summary(uk.UTF-8): Хедери та бібліотеки для розробок з використанням Magick++ (інтерфейсу C++ для ImageMagick) | |
9b4fe82b | 319 | Group: X11/Development/Libraries |
d7628cd8 JB |
320 | Requires: %{name}-c++ = %{epoch}:%{version}-%{release} |
321 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
4c6476b7 | 322 | Requires: libstdc++-devel |
9b4fe82b | 323 | |
324 | %description c++-devel | |
cf6eb0f4 JB |
325 | ImageMagick-c++-devel contains header files you'll need to develop |
326 | ImageMagick applications using the Magick++ C++ bindings. ImageMagick | |
327 | is an image manipulation program. | |
9b4fe82b | 328 | |
329 | If you want to create applications that will use Magick++ code or | |
330 | APIs, you'll need to install ImageMagick-c++-devel, ImageMagick-devel | |
331 | and ImageMagick. You don't need to install it if you just want to use | |
332 | ImageMagick, or if you want to develop/compile applications using the | |
333 | ImageMagick C interface, however. | |
334 | ||
a33f7406 | 335 | %description c++-devel -l es.UTF-8 |
edb977fe | 336 | Este es el paquete de desarrollo ImageMagick. Incluye las bibliotecas |
a33f7406 JR |
337 | estáticas y los archivos de inclusión para el desarrollo de sus |
338 | propias aplicaciones que hacen uso del código ImageMagick y/el APIs. | |
edb977fe | 339 | |
a33f7406 JR |
340 | %description c++-devel -l pl.UTF-8 |
341 | Pakiet zawiera pliki nagłówkowe potrzebne do kompilowania programów | |
342 | korzystających z Magick++. | |
cf6eb0f4 | 343 | |
a33f7406 JR |
344 | %description c++-devel -l pt_BR.UTF-8 |
345 | Este é o pacote de desenvolvimento libMagick++. Inclui as bibliotecas | |
346 | e os arquivos de inclusão para o desenvolvimento de suas próprias | |
347 | aplicações C++ que fazem uso do código ImageMagick e/ou APIs. | |
edb977fe | 348 | |
a33f7406 JR |
349 | %description c++-devel -l ru.UTF-8 |
350 | Это пакет разработчика для программирования с ImageMagick. Он включает | |
351 | хедеры и библиотеки для использования в программах, которые используют | |
352 | код или API Magick++ (C++ интерфейс для ImageMagick'а). | |
edb977fe | 353 | |
a33f7406 JR |
354 | %description c++-devel -l uk.UTF-8 |
355 | Це пакет для програмування з ImageMagick. Він містить хедери та | |
356 | бібліотеки для використання в програмах, що використовують код або API | |
357 | Magick++ (інтерфейс C++ для ImageMagick). | |
edb977fe | 358 | |
9b4fe82b | 359 | %package c++-static |
360 | Summary: C++ bindings for the ImageMagick - static library | |
ac354810 ER |
361 | Summary(pl.UTF-8): Interfejs C++ do ImageMagick - biblioteka statyczna |
362 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com libMagick | |
363 | Summary(ru.UTF-8): Статические библиотеки C++ для программирования с ImageMagick | |
364 | Summary(uk.UTF-8): Статичні бібліотеки C++ для програмування з ImageMagick | |
9b4fe82b | 365 | Group: X11/Development/Libraries |
d7628cd8 JB |
366 | Requires: %{name}-c++-devel = %{epoch}:%{version}-%{release} |
367 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
9b4fe82b | 368 | |
369 | %description c++-static | |
370 | C++ bindings for the ImageMagick - static library. | |
371 | ||
a33f7406 | 372 | %description c++-static -l pl.UTF-8 |
cf6eb0f4 JB |
373 | Biblioteka Magick++ w wersji statycznej. |
374 | ||
a33f7406 JR |
375 | %description c++-static -l pt_BR.UTF-8 |
376 | Bibliotecas estáticas para desenvolvimento com libMagick++. | |
edb977fe | 377 | |
a33f7406 JR |
378 | %description c++-static -l ru.UTF-8 |
379 | Это отдельный пакет со статическими библиотеками, которые больше не | |
380 | входят в ImageMagick-c++-devel. | |
edb977fe | 381 | |
a33f7406 JR |
382 | %description c++-static -l uk.UTF-8 |
383 | Це окремий пакет зі статичними бібліотеками, які більше не входять до | |
384 | складу ImageMagick-c++-devel. | |
edb977fe | 385 | |
3e323b10 JB |
386 | %package coder-djvu |
387 | Summary: Coder module for DJVU files | |
388 | Summary(pl.UTF-8): Moduł kodera dla plików DJVU | |
389 | Group: X11/Applications/Graphics | |
390 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
391 | ||
392 | %description coder-djvu | |
393 | Coder module for DJVU files. | |
394 | ||
395 | %description coder-djvu -l pl | |
396 | Moduł kodera dla plików DJVU. | |
397 | ||
d7628cd8 JB |
398 | %package coder-dot |
399 | Summary: Coder module for GraphViz DOT files | |
ac354810 | 400 | Summary(pl.UTF-8): Moduł kodera dla plików GraphViz DOT |
d7628cd8 JB |
401 | Group: X11/Applications/Graphics |
402 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
403 | ||
404 | %description coder-dot | |
405 | Coder module for GraphViz DOT files. | |
406 | ||
a33f7406 JR |
407 | %description coder-dot -l pl.UTF-8 |
408 | Moduł kodera dla plików GraphViz DOT. | |
d7628cd8 | 409 | |
e3f9f772 JR |
410 | %package coder-exr |
411 | Summary: Coder module for ILM EXR files | |
412 | Summary(pl.UTF-8): Moduł kodera dla plików EXR ILM | |
413 | Group: X11/Applications/Graphics | |
414 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
415 | ||
416 | %description coder-exr | |
417 | Coder module for ILM EXR files. | |
418 | ||
419 | %description coder-exr -l pl.UTF-8 | |
420 | Moduł kodera dla plików EXR ILM. | |
421 | ||
1c3eeb6b | 422 | %package coder-fpx |
cd57a8f7 | 423 | Summary: Coder module for FlashPIX (FPX) files |
ac354810 | 424 | Summary(pl.UTF-8): Moduł kodera dla plików FlashPIX (FPX) |
cd57a8f7 | 425 | Group: X11/Applications/Graphics |
d7628cd8 | 426 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c3eeb6b JB |
427 | |
428 | %description coder-fpx | |
cd57a8f7 | 429 | Coder module for FlashPIX (FPX) files. |
1c3eeb6b | 430 | |
a33f7406 JR |
431 | %description coder-fpx -l pl.UTF-8 |
432 | Moduł kodera dla plików FlashPIX (FPX). | |
1c3eeb6b | 433 | |
160210a7 | 434 | %package coder-jbig |
cd57a8f7 | 435 | Summary: Coder module for JBIG files |
ac354810 | 436 | Summary(pl.UTF-8): Moduł kodera dla plików JBIG |
cd57a8f7 | 437 | Group: X11/Applications/Graphics |
d7628cd8 | 438 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
439 | |
440 | %description coder-jbig | |
cd57a8f7 | 441 | Coder module for JBIG files. |
160210a7 | 442 | |
a33f7406 JR |
443 | %description coder-jbig -l pl.UTF-8 |
444 | Moduł kodera dla plików JBIG. | |
160210a7 AF |
445 | |
446 | %package coder-jpeg | |
cd57a8f7 | 447 | Summary: Coder module for JPEG files |
ac354810 | 448 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG |
cd57a8f7 | 449 | Group: X11/Applications/Graphics |
d7628cd8 | 450 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
451 | |
452 | %description coder-jpeg | |
cd57a8f7 | 453 | Coder module for JPEG files. |
160210a7 | 454 | |
a33f7406 JR |
455 | %description coder-jpeg -l pl.UTF-8 |
456 | Moduł kodera dla plików JPEG. | |
160210a7 | 457 | |
1c3eeb6b | 458 | %package coder-jpeg2 |
cd57a8f7 | 459 | Summary: Coder module for JPEG-2000 (JP2/JPC) files using JasPer library |
ac354810 | 460 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG-2000 (JP2/JPC) używający biblioteki JasPer |
cd57a8f7 | 461 | Group: X11/Applications/Graphics |
d7628cd8 | 462 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c3eeb6b JB |
463 | |
464 | %description coder-jpeg2 | |
cd57a8f7 | 465 | Coder module for JPEG-2000 (JP2/JPC) files using JasPer library. |
1c3eeb6b | 466 | |
a33f7406 JR |
467 | %description coder-jpeg2 -l pl.UTF-8 |
468 | Moduł kodera dla plików JPEG-2000 (JP2/JPC) używajacy biblioteki | |
cd57a8f7 | 469 | JasPer. |
1c3eeb6b | 470 | |
160210a7 | 471 | %package coder-miff |
cd57a8f7 | 472 | Summary: Coder module for MIFF files |
ac354810 | 473 | Summary(pl.UTF-8): Moduł kodera dla plików MIFF |
cd57a8f7 | 474 | Group: X11/Applications/Graphics |
d7628cd8 | 475 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
476 | |
477 | %description coder-miff | |
cd57a8f7 | 478 | Coder module for MIFF files. |
160210a7 | 479 | |
a33f7406 JR |
480 | %description coder-miff -l pl.UTF-8 |
481 | Moduł kodera dla plików MIFF. | |
160210a7 | 482 | |
160210a7 | 483 | %package coder-mpr |
cd57a8f7 | 484 | Summary: Coder module for ImageMagick MPR and MSL files |
ac354810 | 485 | Summary(pl.UTF-8): Moduł kodera dla plików MPR i MSL ImageMagick |
cd57a8f7 | 486 | Group: X11/Applications/Graphics |
d7628cd8 | 487 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
488 | |
489 | %description coder-mpr | |
cd57a8f7 JB |
490 | Coder module for Magick Persistent Registry (MPR) and Magick Scripting |
491 | Language (MSL) files. | |
160210a7 | 492 | |
a33f7406 JR |
493 | %description coder-mpr -l pl.UTF-8 |
494 | Moduł kodera dla plików Magick Persistent Registry (MPR) i Magick | |
cd57a8f7 | 495 | Scripting Language (MSL). |
160210a7 AF |
496 | |
497 | %package coder-pdf | |
cd57a8f7 | 498 | Summary: Coder module for PDF files |
ac354810 | 499 | Summary(pl.UTF-8): Moduł kodera dla plików PDF |
cd57a8f7 | 500 | Group: X11/Applications/Graphics |
d7628cd8 | 501 | Requires: %{name} = %{epoch}:%{version}-%{release} |
b61830e5 | 502 | Requires: ghostscript |
160210a7 AF |
503 | |
504 | %description coder-pdf | |
cd57a8f7 | 505 | Coder module for PDF files. |
160210a7 | 506 | |
a33f7406 JR |
507 | %description coder-pdf -l pl.UTF-8 |
508 | Moduł kodera dla plików PDF. | |
160210a7 AF |
509 | |
510 | %package coder-png | |
cd57a8f7 | 511 | Summary: Coder module for PNG files |
ac354810 | 512 | Summary(pl.UTF-8): Modul kodera dla plików PNG |
cd57a8f7 | 513 | Group: X11/Applications/Graphics |
d7628cd8 | 514 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
515 | |
516 | %description coder-png | |
cd57a8f7 | 517 | Coder module for PNG files. |
160210a7 | 518 | |
a33f7406 JR |
519 | %description coder-png -l pl.UTF-8 |
520 | Moduł kodera dla plików PNG. | |
160210a7 AF |
521 | |
522 | %package coder-ps2 | |
cd57a8f7 | 523 | Summary: Coder module for Postscript Level II & III (PS2/PS3) files |
ac354810 | 524 | Summary(pl.UTF-8): Moduł kodera dla plików Postscript Level II i III (PS2/PS3) |
cd57a8f7 | 525 | Group: X11/Applications/Graphics |
d7628cd8 | 526 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
527 | |
528 | %description coder-ps2 | |
cd57a8f7 | 529 | Coder module for Postscript Level II & III (PS2/PS3) files. |
160210a7 | 530 | |
a33f7406 JR |
531 | %description coder-ps2 -l pl.UTF-8 |
532 | Moduł kodera dla plików Postscript Level II i III (PS2/PS3). | |
160210a7 AF |
533 | |
534 | %package coder-svg | |
cd57a8f7 | 535 | Summary: Coder module for SVG (Scalable Vector Graphics) files |
ac354810 | 536 | Summary(pl.UTF-8): Moduł kodera dla plików SVG (Scalable Vector Graphics) |
cd57a8f7 | 537 | Group: X11/Applications/Graphics |
d7628cd8 | 538 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
539 | |
540 | %description coder-svg | |
cd57a8f7 | 541 | Coder module for SVG (Scalable Vector Graphics) files. |
160210a7 | 542 | |
a33f7406 JR |
543 | %description coder-svg -l pl.UTF-8 |
544 | Moduł kodera dla plików SVG (Scalable Vector Graphics). | |
160210a7 AF |
545 | |
546 | %package coder-tiff | |
cd57a8f7 | 547 | Summary: Coder module for TIFF files |
ac354810 | 548 | Summary(pl.UTF-8): Moduł kodera dla plików TIFF |
cd57a8f7 | 549 | Group: X11/Applications/Graphics |
d7628cd8 | 550 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
551 | |
552 | %description coder-tiff | |
cd57a8f7 | 553 | Coder module for TIFF files. |
160210a7 | 554 | |
a33f7406 JR |
555 | %description coder-tiff -l pl.UTF-8 |
556 | Moduł kodera dla plików TIFF. | |
160210a7 AF |
557 | |
558 | %package coder-url | |
cd57a8f7 | 559 | Summary: Coder module for retrieving files via URL |
ac354810 | 560 | Summary(pl.UTF-8): Moduł kodera ściągający pliki o podanym URL |
cd57a8f7 | 561 | Group: X11/Applications/Graphics |
d7628cd8 | 562 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
563 | |
564 | %description coder-url | |
cd57a8f7 | 565 | Coder module for retrieving files via URL. |
160210a7 | 566 | |
a33f7406 JR |
567 | %description coder-url -l pl.UTF-8 |
568 | Moduł kodera ściągający pliki o podanym URL. | |
160210a7 AF |
569 | |
570 | %package coder-wmf | |
cd57a8f7 | 571 | Summary: Coder module for WMF files |
ac354810 | 572 | Summary(pl.UTF-8): Moduł kodera dla plików WMF |
cd57a8f7 | 573 | Group: X11/Applications/Graphics |
d7628cd8 | 574 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
575 | |
576 | %description coder-wmf | |
cd57a8f7 | 577 | Coder module for WMF files. |
160210a7 | 578 | |
a33f7406 JR |
579 | %description coder-wmf -l pl.UTF-8 |
580 | Moduł kodera dla plików WMF. | |
160210a7 | 581 | |
130eb51f | 582 | %prep |
4a1602b4 | 583 | %setup -q -n %{name}-%{ver}-%{pver} |
44c52630 | 584 | %patch0 -p1 |
c877b147 | 585 | %patch1 -p1 |
c45c7086 | 586 | %patch2 -p1 |
55fb6f9a | 587 | %patch3 -p1 |
53e91d85 | 588 | |
ac4d6b49 | 589 | %{__perl} -pi -e 's,lib/graphviz,%{_lib}/graphviz,' configure.ac |
b4c8d5af | 590 | find -type f | xargs %{__sed} -i -e 's=!/usr/local/bin/perl=!%{__perl}=' |
160210a7 | 591 | |
3dbb1028 JB |
592 | # avoid rebuilding (broken paths in scripts/Makefile.am) |
593 | touch www/Magick++/NEWS.html www/Magick++/ChangeLog.html | |
594 | ||
130eb51f | 595 | %build |
cd57a8f7 | 596 | %{__libtoolize} |
11fc5e8d | 597 | %{__aclocal} -I m4 |
dc98eb27 | 598 | %{__autoconf} |
11fc5e8d | 599 | %{__autoheader} |
dc98eb27 | 600 | %{__automake} |
cf6eb0f4 | 601 | %configure \ |
aaa2539c | 602 | --enable-fast-install \ |
e5e5bef8 JB |
603 | --enable-lzw \ |
604 | --enable-shared \ | |
bc064c6d | 605 | --disable-ltdl-install \ |
80f1519e | 606 | --without-dps \ |
3e323b10 | 607 | --with%{!?with_graphviz:out}-djvu \ |
2db52e86 | 608 | --with%{!?with_graphviz:out}-dot \ |
6219ce3d AF |
609 | --with%{!?with_fpx:out}-fpx \ |
610 | --with%{!?with_gs:out}-gslib \ | |
611 | --with%{!?with_jasper:out}-jp2 \ | |
612 | --with%{!?with_cxx:out}-magick_plus_plus \ | |
8299684a | 613 | --with%{!?with_wmf:out}-wmf \ |
e3f9f772 | 614 | --%{!?with_exr:dis}%{?with_exr:en}able-hdri \ |
aaa2539c PG |
615 | --with-gs-font-dir=%{_fontsdir}/Type1 \ |
616 | --with-modules \ | |
ac15b7bf | 617 | --with-perl=%{__perl} \ |
618 | --with-perl-options="INSTALLDIRS=vendor" \ | |
aaa2539c | 619 | --with-quantum-depth=%{QuantumDepth} \ |
9b4fe82b | 620 | --with-threads \ |
e5e5bef8 JB |
621 | --with-ttf \ |
622 | --with-x | |
790e254e | 623 | |
010f59d0 | 624 | %{__make} |
f627d915 | 625 | %{__perl} -pi -e 's,/%{name}-%{ver}/,/%{name}-doc-%{version}/,' utilities/*.1 |
130eb51f | 626 | |
627 | %install | |
441e5e4b | 628 | rm -rf $RPM_BUILD_ROOT |
9b4fe82b | 629 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl |
630 | ||
631 | %{__make} install \ | |
160210a7 | 632 | DESTDIR=$RPM_BUILD_ROOT \ |
f627d915 | 633 | pkgdocdir=%{_docdir}/%{name}-doc-%{version} |
7792ca23 | 634 | |
9b4fe82b | 635 | install PerlMagick/demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl |
4c6476b7 | 636 | rm -f $RPM_BUILD_ROOT%{modulesdir}/{coders,filters}/*.a |
6db4857f | 637 | rm -f $RPM_BUILD_ROOT%{modulesdir}/coders/dps.{la,so} |
638 | rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Image/Magick/.packlist | |
639 | rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
640 | rm -f $RPM_BUILD_ROOT%{_datadir}/ImageMagick-%{ver}/{ChangeLog,LICENSE,NEWS.txt} | |
130eb51f | 641 | |
f2fffd84 ER |
642 | # for koffice 1.6 |
643 | cp -a magick/quantum-private.h $RPM_BUILD_ROOT%{_includedir}/ImageMagick/magick | |
644 | ||
22e1f6ea JB |
645 | %clean |
646 | rm -rf $RPM_BUILD_ROOT | |
647 | ||
c9ee2ace | 648 | %post libs -p /sbin/ldconfig |
f66c5262 | 649 | %postun libs -p /sbin/ldconfig |
130eb51f | 650 | |
9b4fe82b | 651 | %post c++ -p /sbin/ldconfig |
652 | %postun c++ -p /sbin/ldconfig | |
653 | ||
78a44f49 AF |
654 | %files |
655 | %defattr(644,root,root,755) | |
4c6476b7 | 656 | %dir %{_libdir}/ImageMagick-%{ver} |
d7628cd8 | 657 | %dir %{_libdir}/ImageMagick-%{ver}/config |
4148563b | 658 | %{_libdir}/ImageMagick-%{ver}/config/*.xml |
4c6476b7 | 659 | %dir %{modulesdir} |
4c6476b7 | 660 | %dir %{modulesdir}/coders |
4c6476b7 | 661 | %dir %{modulesdir}/filters |
d7628cd8 JB |
662 | %dir %{_datadir}/ImageMagick-%{ver} |
663 | %dir %{_datadir}/ImageMagick-%{ver}/config | |
4148563b | 664 | %{_datadir}/ImageMagick-%{ver}/config/*.xml |
11fc5e8d | 665 | %{_datadir}/ImageMagick-%{ver}/config/sRGB.icm |
160210a7 AF |
666 | |
667 | # ========= coders without additional deps | |
4c6476b7 JB |
668 | %attr(755,root,root) %{modulesdir}/coders/art.so |
669 | %{modulesdir}/coders/art.la | |
4c6476b7 JB |
670 | %attr(755,root,root) %{modulesdir}/coders/avs.so |
671 | %{modulesdir}/coders/avs.la | |
672 | %attr(755,root,root) %{modulesdir}/coders/bmp.so | |
673 | %{modulesdir}/coders/bmp.la | |
b2000ba5 | 674 | %attr(755,root,root) %{modulesdir}/coders/braille.so |
675 | %{modulesdir}/coders/braille.la | |
4c6476b7 JB |
676 | %attr(755,root,root) %{modulesdir}/coders/caption.so |
677 | %{modulesdir}/coders/caption.la | |
2dfcfcd9 | 678 | %attr(755,root,root) %{modulesdir}/coders/cals.so |
679 | %{modulesdir}/coders/cals.la | |
d7628cd8 JB |
680 | %attr(755,root,root) %{modulesdir}/coders/cin.so |
681 | %{modulesdir}/coders/cin.la | |
0878048e JB |
682 | %attr(755,root,root) %{modulesdir}/coders/cip.so |
683 | %{modulesdir}/coders/cip.la | |
d7628cd8 JB |
684 | %attr(755,root,root) %{modulesdir}/coders/clip.so |
685 | %{modulesdir}/coders/clip.la | |
4c6476b7 JB |
686 | %attr(755,root,root) %{modulesdir}/coders/cmyk.so |
687 | %{modulesdir}/coders/cmyk.la | |
688 | %attr(755,root,root) %{modulesdir}/coders/cut.so | |
689 | %{modulesdir}/coders/cut.la | |
690 | %attr(755,root,root) %{modulesdir}/coders/dcm.so | |
691 | %{modulesdir}/coders/dcm.la | |
b2000ba5 | 692 | %attr(755,root,root) %{modulesdir}/coders/dds.so |
693 | %{modulesdir}/coders/dds.la | |
4c6476b7 JB |
694 | %attr(755,root,root) %{modulesdir}/coders/dib.so |
695 | %{modulesdir}/coders/dib.la | |
e3f9f772 JR |
696 | %attr(755,root,root) %{modulesdir}/coders/dng.so |
697 | %{modulesdir}/coders/dng.la | |
4c6476b7 JB |
698 | %attr(755,root,root) %{modulesdir}/coders/dpx.so |
699 | %{modulesdir}/coders/dpx.la | |
700 | %attr(755,root,root) %{modulesdir}/coders/ept.so | |
701 | %{modulesdir}/coders/ept.la | |
702 | %attr(755,root,root) %{modulesdir}/coders/fax.so | |
703 | %{modulesdir}/coders/fax.la | |
704 | %attr(755,root,root) %{modulesdir}/coders/fits.so | |
705 | %{modulesdir}/coders/fits.la | |
706 | %attr(755,root,root) %{modulesdir}/coders/gif.so | |
707 | %{modulesdir}/coders/gif.la | |
708 | %attr(755,root,root) %{modulesdir}/coders/gradient.so | |
709 | %{modulesdir}/coders/gradient.la | |
710 | %attr(755,root,root) %{modulesdir}/coders/gray.so | |
711 | %{modulesdir}/coders/gray.la | |
2dfcfcd9 | 712 | %attr(755,root,root) %{modulesdir}/coders/hald.so |
713 | %{modulesdir}/coders/hald.la | |
4c6476b7 JB |
714 | %attr(755,root,root) %{modulesdir}/coders/histogram.so |
715 | %{modulesdir}/coders/histogram.la | |
6db4857f | 716 | %attr(755,root,root) %{modulesdir}/coders/hrz.so |
717 | %{modulesdir}/coders/hrz.la | |
4c6476b7 JB |
718 | %attr(755,root,root) %{modulesdir}/coders/html.so |
719 | %{modulesdir}/coders/html.la | |
720 | %attr(755,root,root) %{modulesdir}/coders/icon.so | |
721 | %{modulesdir}/coders/icon.la | |
623a3795 JB |
722 | %attr(755,root,root) %{modulesdir}/coders/info.so |
723 | %{modulesdir}/coders/info.la | |
0a731e0a AM |
724 | %attr(755,root,root) %{modulesdir}/coders/inline.so |
725 | %{modulesdir}/coders/inline.la | |
e3f9f772 JR |
726 | %attr(755,root,root) %{modulesdir}/coders/ipl.so |
727 | %{modulesdir}/coders/ipl.la | |
4c6476b7 JB |
728 | %attr(755,root,root) %{modulesdir}/coders/label.so |
729 | %{modulesdir}/coders/label.la | |
730 | %attr(755,root,root) %{modulesdir}/coders/magick.so | |
731 | %{modulesdir}/coders/magick.la | |
732 | %attr(755,root,root) %{modulesdir}/coders/map.so | |
733 | %{modulesdir}/coders/map.la | |
734 | %attr(755,root,root) %{modulesdir}/coders/mat.so | |
735 | %{modulesdir}/coders/mat.la | |
736 | %attr(755,root,root) %{modulesdir}/coders/matte.so | |
737 | %{modulesdir}/coders/matte.la | |
738 | %attr(755,root,root) %{modulesdir}/coders/meta.so | |
739 | %{modulesdir}/coders/meta.la | |
740 | %attr(755,root,root) %{modulesdir}/coders/mono.so | |
741 | %{modulesdir}/coders/mono.la | |
742 | %attr(755,root,root) %{modulesdir}/coders/mpc.so | |
743 | %{modulesdir}/coders/mpc.la | |
744 | %attr(755,root,root) %{modulesdir}/coders/mpeg.so | |
745 | %{modulesdir}/coders/mpeg.la | |
746 | %attr(755,root,root) %{modulesdir}/coders/mtv.so | |
747 | %{modulesdir}/coders/mtv.la | |
748 | %attr(755,root,root) %{modulesdir}/coders/mvg.so | |
749 | %{modulesdir}/coders/mvg.la | |
750 | %attr(755,root,root) %{modulesdir}/coders/null.so | |
751 | %{modulesdir}/coders/null.la | |
752 | %attr(755,root,root) %{modulesdir}/coders/otb.so | |
753 | %{modulesdir}/coders/otb.la | |
754 | %attr(755,root,root) %{modulesdir}/coders/palm.so | |
755 | %{modulesdir}/coders/palm.la | |
756 | %attr(755,root,root) %{modulesdir}/coders/pattern.so | |
757 | %{modulesdir}/coders/pattern.la | |
758 | %attr(755,root,root) %{modulesdir}/coders/pcd.so | |
759 | %{modulesdir}/coders/pcd.la | |
760 | %attr(755,root,root) %{modulesdir}/coders/pcl.so | |
761 | %{modulesdir}/coders/pcl.la | |
762 | %attr(755,root,root) %{modulesdir}/coders/pcx.so | |
763 | %{modulesdir}/coders/pcx.la | |
422ab93d | 764 | %attr(755,root,root) %{modulesdir}/coders/pes.so |
765 | %{modulesdir}/coders/pes.la | |
4c6476b7 JB |
766 | %attr(755,root,root) %{modulesdir}/coders/pdb.so |
767 | %{modulesdir}/coders/pdb.la | |
768 | %attr(755,root,root) %{modulesdir}/coders/pict.so | |
769 | %{modulesdir}/coders/pict.la | |
770 | %attr(755,root,root) %{modulesdir}/coders/pix.so | |
771 | %{modulesdir}/coders/pix.la | |
772 | %attr(755,root,root) %{modulesdir}/coders/plasma.so | |
773 | %{modulesdir}/coders/plasma.la | |
774 | %attr(755,root,root) %{modulesdir}/coders/pnm.so | |
775 | %{modulesdir}/coders/pnm.la | |
776 | %attr(755,root,root) %{modulesdir}/coders/preview.so | |
777 | %{modulesdir}/coders/preview.la | |
778 | %attr(755,root,root) %{modulesdir}/coders/psd.so | |
779 | %{modulesdir}/coders/psd.la | |
780 | %attr(755,root,root) %{modulesdir}/coders/ps.so | |
781 | %{modulesdir}/coders/ps.la | |
782 | %attr(755,root,root) %{modulesdir}/coders/pwp.so | |
783 | %{modulesdir}/coders/pwp.la | |
0878048e JB |
784 | %attr(755,root,root) %{modulesdir}/coders/raw.so |
785 | %{modulesdir}/coders/raw.la | |
4c6476b7 JB |
786 | %attr(755,root,root) %{modulesdir}/coders/rgb.so |
787 | %{modulesdir}/coders/rgb.la | |
788 | %attr(755,root,root) %{modulesdir}/coders/rla.so | |
789 | %{modulesdir}/coders/rla.la | |
790 | %attr(755,root,root) %{modulesdir}/coders/rle.so | |
791 | %{modulesdir}/coders/rle.la | |
d7628cd8 JB |
792 | %attr(755,root,root) %{modulesdir}/coders/scr.so |
793 | %{modulesdir}/coders/scr.la | |
4c6476b7 JB |
794 | %attr(755,root,root) %{modulesdir}/coders/sct.so |
795 | %{modulesdir}/coders/sct.la | |
796 | %attr(755,root,root) %{modulesdir}/coders/sfw.so | |
797 | %{modulesdir}/coders/sfw.la | |
798 | %attr(755,root,root) %{modulesdir}/coders/sgi.so | |
799 | %{modulesdir}/coders/sgi.la | |
800 | %attr(755,root,root) %{modulesdir}/coders/stegano.so | |
801 | %{modulesdir}/coders/stegano.la | |
802 | %attr(755,root,root) %{modulesdir}/coders/sun.so | |
803 | %{modulesdir}/coders/sun.la | |
804 | %attr(755,root,root) %{modulesdir}/coders/tga.so | |
805 | %{modulesdir}/coders/tga.la | |
7bf36dd6 AM |
806 | %attr(755,root,root) %{modulesdir}/coders/thumbnail.so |
807 | %{modulesdir}/coders/thumbnail.la | |
4c6476b7 JB |
808 | %attr(755,root,root) %{modulesdir}/coders/tile.so |
809 | %{modulesdir}/coders/tile.la | |
810 | %attr(755,root,root) %{modulesdir}/coders/tim.so | |
811 | %{modulesdir}/coders/tim.la | |
812 | %attr(755,root,root) %{modulesdir}/coders/ttf.so | |
813 | %{modulesdir}/coders/ttf.la | |
814 | %attr(755,root,root) %{modulesdir}/coders/txt.so | |
815 | %{modulesdir}/coders/txt.la | |
816 | %attr(755,root,root) %{modulesdir}/coders/uil.so | |
817 | %{modulesdir}/coders/uil.la | |
818 | %attr(755,root,root) %{modulesdir}/coders/uyvy.so | |
819 | %{modulesdir}/coders/uyvy.la | |
820 | %attr(755,root,root) %{modulesdir}/coders/vicar.so | |
821 | %{modulesdir}/coders/vicar.la | |
822 | %attr(755,root,root) %{modulesdir}/coders/vid.so | |
823 | %{modulesdir}/coders/vid.la | |
824 | %attr(755,root,root) %{modulesdir}/coders/viff.so | |
825 | %{modulesdir}/coders/viff.la | |
826 | %attr(755,root,root) %{modulesdir}/coders/wbmp.so | |
827 | %{modulesdir}/coders/wbmp.la | |
828 | %attr(755,root,root) %{modulesdir}/coders/wpg.so | |
829 | %{modulesdir}/coders/wpg.la | |
830 | %attr(755,root,root) %{modulesdir}/coders/xbm.so | |
831 | %{modulesdir}/coders/xbm.la | |
832 | %attr(755,root,root) %{modulesdir}/coders/xcf.so | |
833 | %{modulesdir}/coders/xcf.la | |
834 | %attr(755,root,root) %{modulesdir}/coders/xc.so | |
835 | %{modulesdir}/coders/xc.la | |
836 | %attr(755,root,root) %{modulesdir}/coders/xpm.so | |
837 | %{modulesdir}/coders/xpm.la | |
b2000ba5 | 838 | %attr(755,root,root) %{modulesdir}/coders/xps.so |
839 | %{modulesdir}/coders/xps.la | |
4c6476b7 JB |
840 | %attr(755,root,root) %{modulesdir}/coders/x.so |
841 | %{modulesdir}/coders/x.la | |
842 | %attr(755,root,root) %{modulesdir}/coders/xwd.so | |
843 | %{modulesdir}/coders/xwd.la | |
79b3aeb7 | 844 | %attr(755,root,root) %{modulesdir}/coders/ycbcr.so |
845 | %{modulesdir}/coders/ycbcr.la | |
4c6476b7 JB |
846 | %attr(755,root,root) %{modulesdir}/coders/yuv.so |
847 | %{modulesdir}/coders/yuv.la | |
848 | ||
849 | %attr(755,root,root) %{modulesdir}/filters/analyze.so | |
850 | %{modulesdir}/filters/analyze.la | |
276a4e12 | 851 | |
8507ae9c | 852 | %attr(755,root,root) %{_bindir}/animate |
d7628cd8 | 853 | %attr(755,root,root) %{_bindir}/compare |
34ffabb4 | 854 | %attr(755,root,root) %{_bindir}/composite |
160210a7 | 855 | %attr(755,root,root) %{_bindir}/conjure |
2a365d9e | 856 | %attr(755,root,root) %{_bindir}/convert |
8507ae9c | 857 | %attr(755,root,root) %{_bindir}/display |
858 | %attr(755,root,root) %{_bindir}/identify | |
859 | %attr(755,root,root) %{_bindir}/import | |
860 | %attr(755,root,root) %{_bindir}/mogrify | |
861 | %attr(755,root,root) %{_bindir}/montage | |
11fc5e8d JB |
862 | %attr(755,root,root) %{_bindir}/stream |
863 | ||
864 | %{_mandir}/man1/ImageMagick.1* | |
865 | %{_mandir}/man1/animate.1* | |
866 | %{_mandir}/man1/compare.1* | |
867 | %{_mandir}/man1/composite.1* | |
868 | %{_mandir}/man1/convert.1* | |
869 | %{_mandir}/man1/conjure.1* | |
870 | %{_mandir}/man1/display.1* | |
871 | %{_mandir}/man1/identify.1* | |
872 | %{_mandir}/man1/import.1* | |
873 | %{_mandir}/man1/mogrify.1* | |
874 | %{_mandir}/man1/montage.1* | |
875 | %{_mandir}/man1/stream.1* | |
130eb51f | 876 | |
0bf3e90c JB |
877 | %files doc |
878 | %defattr(644,root,root,755) | |
b4c8d5af | 879 | %doc %{_docdir}/%{name}-doc-%{version} |
0bf3e90c | 880 | |
d7628cd8 JB |
881 | %files libs |
882 | %defattr(644,root,root,755) | |
4dc23fed | 883 | %doc ChangeLog LICENSE AUTHORS.txt |
2a365d9e | 884 | %attr(755,root,root) %{_libdir}/libMagickCore.so.*.*.* |
780b2473 | 885 | %attr(755,root,root) %ghost %{_libdir}/libMagickCore.so.3 |
2a365d9e | 886 | %attr(755,root,root) %{_libdir}/libMagickWand.so.*.*.* |
780b2473 | 887 | %attr(755,root,root) %ghost %{_libdir}/libMagickWand.so.3 |
d7628cd8 | 888 | |
3e323b10 | 889 | %if %{with djvu} |
c59dd847 | 890 | %files coder-djvu |
3e323b10 JB |
891 | %defattr(644,root,root,755) |
892 | # R: djvulibre | |
893 | %attr(755,root,root) %{modulesdir}/coders/djvu.so | |
894 | %{modulesdir}/coders/djvu.la | |
895 | %endif | |
896 | ||
d7628cd8 JB |
897 | %files coder-dot |
898 | %defattr(644,root,root,755) | |
a9ec374b | 899 | # R: graphviz, gd |
d7628cd8 JB |
900 | %attr(755,root,root) %{modulesdir}/coders/dot.so |
901 | %{modulesdir}/coders/dot.la | |
902 | ||
e3f9f772 JR |
903 | %if %{with exr} |
904 | %files coder-exr | |
905 | %defattr(644,root,root,755) | |
906 | # R: OpenEXR | |
907 | %attr(755,root,root) %{modulesdir}/coders/exr.so | |
908 | %{modulesdir}/coders/exr.la | |
909 | %endif | |
910 | ||
6219ce3d | 911 | %if %{with fpx} |
1c3eeb6b | 912 | %files coder-fpx |
1c3eeb6b | 913 | %defattr(644,root,root,755) |
cd57a8f7 | 914 | # R: fpx |
4c6476b7 JB |
915 | %attr(755,root,root) %{modulesdir}/coders/fpx.so |
916 | %{modulesdir}/coders/fpx.la | |
cd57a8f7 | 917 | %endif |
1c3eeb6b | 918 | |
160210a7 | 919 | %files coder-jbig |
1c3eeb6b | 920 | %defattr(644,root,root,755) |
cd57a8f7 | 921 | # R: jbigkit (libjbig.so) |
4c6476b7 JB |
922 | %attr(755,root,root) %{modulesdir}/coders/jbig.so |
923 | %{modulesdir}/coders/jbig.la | |
160210a7 AF |
924 | |
925 | %files coder-jpeg | |
1c3eeb6b | 926 | %defattr(644,root,root,755) |
cd57a8f7 | 927 | # R: libjpeg |
4c6476b7 JB |
928 | %attr(755,root,root) %{modulesdir}/coders/jpeg.so |
929 | %{modulesdir}/coders/jpeg.la | |
160210a7 | 930 | |
6219ce3d | 931 | %if %{with jasper} |
1c3eeb6b | 932 | %files coder-jpeg2 |
1c3eeb6b | 933 | %defattr(644,root,root,755) |
cd57a8f7 | 934 | # R: jasper, libjpeg |
4c6476b7 JB |
935 | %attr(755,root,root) %{modulesdir}/coders/jp2.so |
936 | %{modulesdir}/coders/jp2.la | |
cd57a8f7 | 937 | %endif |
1c3eeb6b | 938 | |
160210a7 | 939 | %files coder-miff |
1c3eeb6b | 940 | %defattr(644,root,root,755) |
cd57a8f7 | 941 | # R: libjpeg, zlib, libbz2 |
4c6476b7 JB |
942 | %attr(755,root,root) %{modulesdir}/coders/miff.so |
943 | %{modulesdir}/coders/miff.la | |
160210a7 | 944 | |
160210a7 | 945 | %files coder-mpr |
1c3eeb6b | 946 | %defattr(644,root,root,755) |
cd57a8f7 | 947 | # R: libxml2 |
4c6476b7 JB |
948 | %attr(755,root,root) %{modulesdir}/coders/mpr.so |
949 | %{modulesdir}/coders/mpr.la | |
950 | %attr(755,root,root) %{modulesdir}/coders/msl.so | |
951 | %{modulesdir}/coders/msl.la | |
160210a7 AF |
952 | |
953 | %files coder-pdf | |
1c3eeb6b | 954 | %defattr(644,root,root,755) |
cd57a8f7 | 955 | # R: libtiff, libjpeg |
4c6476b7 JB |
956 | %attr(755,root,root) %{modulesdir}/coders/pdf.so |
957 | %{modulesdir}/coders/pdf.la | |
160210a7 AF |
958 | |
959 | %files coder-png | |
1c3eeb6b | 960 | %defattr(644,root,root,755) |
cd57a8f7 | 961 | # R: libpng |
4c6476b7 JB |
962 | %attr(755,root,root) %{modulesdir}/coders/png.so |
963 | %{modulesdir}/coders/png.la | |
160210a7 AF |
964 | |
965 | %files coder-ps2 | |
1c3eeb6b | 966 | %defattr(644,root,root,755) |
cd57a8f7 | 967 | # R: libtiff, libjpeg |
4c6476b7 JB |
968 | %attr(755,root,root) %{modulesdir}/coders/ps2.so |
969 | %{modulesdir}/coders/ps2.la | |
970 | %attr(755,root,root) %{modulesdir}/coders/ps3.so | |
971 | %{modulesdir}/coders/ps3.la | |
160210a7 AF |
972 | |
973 | %files coder-svg | |
1c3eeb6b | 974 | %defattr(644,root,root,755) |
e3f9f772 | 975 | # R: libxml2, librsvg |
4c6476b7 JB |
976 | %attr(755,root,root) %{modulesdir}/coders/svg.so |
977 | %{modulesdir}/coders/svg.la | |
160210a7 AF |
978 | |
979 | %files coder-tiff | |
1c3eeb6b | 980 | %defattr(644,root,root,755) |
cd57a8f7 | 981 | # R: libtiff, libjpeg |
4c6476b7 JB |
982 | %attr(755,root,root) %{modulesdir}/coders/tiff.so |
983 | %{modulesdir}/coders/tiff.la | |
160210a7 AF |
984 | |
985 | %files coder-url | |
1c3eeb6b | 986 | %defattr(644,root,root,755) |
cd57a8f7 | 987 | # R: libxml2 |
4c6476b7 JB |
988 | %attr(755,root,root) %{modulesdir}/coders/url.so |
989 | %{modulesdir}/coders/url.la | |
160210a7 | 990 | |
8299684a | 991 | %if %{with wmf} |
160210a7 | 992 | %files coder-wmf |
1c3eeb6b | 993 | %defattr(644,root,root,755) |
cd57a8f7 | 994 | # R: libwmf, expat, libjpeg, libpng |
4c6476b7 JB |
995 | %attr(755,root,root) %{modulesdir}/coders/wmf.so |
996 | %{modulesdir}/coders/wmf.la | |
8299684a | 997 | %endif |
160210a7 | 998 | |
130eb51f | 999 | %files devel |
276a4e12 | 1000 | %defattr(644,root,root,755) |
8507ae9c | 1001 | %attr(755,root,root) %{_bindir}/Magick-config |
f5206ff1 | 1002 | %attr(755,root,root) %{_bindir}/MagickCore-config |
1003 | %attr(755,root,root) %{_bindir}/MagickWand-config | |
d7628cd8 | 1004 | %attr(755,root,root) %{_bindir}/Wand-config |
2a365d9e | 1005 | %attr(755,root,root) %{_libdir}/libMagickCore.so |
1006 | %attr(755,root,root) %{_libdir}/libMagickWand.so | |
b2000ba5 | 1007 | %dir %{_includedir}/ImageMagick |
2a365d9e | 1008 | %{_libdir}/libMagickCore.la |
1009 | %{_libdir}/libMagickWand.la | |
1010 | %{_includedir}/ImageMagick/magick | |
1011 | %{_includedir}/ImageMagick/wand | |
4c6476b7 | 1012 | %{_pkgconfigdir}/ImageMagick.pc |
f5206ff1 | 1013 | %{_pkgconfigdir}/MagickCore.pc |
1014 | %{_pkgconfigdir}/MagickWand.pc | |
3f482c9e | 1015 | %{_pkgconfigdir}/Wand.pc |
f5206ff1 | 1016 | %{_mandir}/man1/Magick-config.1* |
2a365d9e | 1017 | %{_mandir}/man1/MagickCore-config.1* |
1018 | %{_mandir}/man1/MagickWand-config.1* | |
f5206ff1 | 1019 | %{_mandir}/man1/Wand-config.1* |
647166ab | 1020 | |
130eb51f | 1021 | %files static |
d8a96ea8 | 1022 | %defattr(644,root,root,755) |
2a365d9e | 1023 | %{_libdir}/libMagickCore.a |
1024 | %{_libdir}/libMagickWand.a | |
130eb51f | 1025 | |
b4c8d5af | 1026 | %files -n perl-%{name} |
276a4e12 | 1027 | %defattr(644,root,root,755) |
57c65f7f | 1028 | %{perl_vendorarch}/Image/* |
ac15b7bf | 1029 | %dir %{perl_vendorarch}/auto/Image/Magick |
1030 | %{perl_vendorarch}/auto/Image/Magick/autosplit.ix | |
1031 | %{perl_vendorarch}/auto/Image/Magick/Magick.bs | |
1032 | %attr(755,root,root) %{perl_vendorarch}/auto/Image/Magick/Magick.so | |
7e145eb7 | 1033 | %{_mandir}/man3/Image::Magick.* |
9b4fe82b | 1034 | %{_examplesdir}/%{name}-perl |
1035 | ||
6219ce3d | 1036 | %if %{with cxx} |
9b4fe82b | 1037 | %files c++ |
1038 | %defattr(644,root,root,755) | |
4c6476b7 | 1039 | %attr(755,root,root) %{_libdir}/libMagick++.so.*.*.* |
780b2473 | 1040 | %attr(755,root,root) %ghost %{_libdir}/libMagick++.so.3 |
9b4fe82b | 1041 | |
1042 | %files c++-devel | |
1043 | %defattr(644,root,root,755) | |
1044 | %attr(755,root,root) %{_bindir}/Magick++-config | |
9e2e60a1 | 1045 | %{_libdir}/libMagick++.la |
9b4fe82b | 1046 | %attr(755,root,root) %{_libdir}/libMagick++.so |
2a365d9e | 1047 | %{_includedir}/ImageMagick/Magick++ |
1048 | %{_includedir}/ImageMagick/Magick++.h | |
4c6476b7 | 1049 | %{_pkgconfigdir}/ImageMagick++.pc |
f5206ff1 | 1050 | %{_pkgconfigdir}/Magick++.pc |
647166ab | 1051 | %{_mandir}/man1/Magick++-config.1* |
9b4fe82b | 1052 | |
1053 | %files c++-static | |
1054 | %defattr(644,root,root,755) | |
6881714d | 1055 | %{_libdir}/libMagick++.a |
160210a7 | 1056 | %endif |