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