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