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