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