]>
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 | |
1efa9e56 | 27 | %define ver 7.1.1 |
305d98fd | 28 | %define pver 19 |
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}} |
305d98fd | 40 | Release: 1 |
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 |
305d98fd AM |
45 | # Source0-md5: a019ee22b76315cc30813e13561e21d1 |
46 | ||
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 |
1efa9e56 | 65 | BuildRequires: freetype-devel >= 1:2.8.0 |
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} |
1efa9e56 | 73 | BuildRequires: libheif-devel >= 1.4.0 |
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 | |
1efa9e56 | 217 | Requires: freetype-devel >= 1:2.8.0 |
ecc9da3d | 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} | |
1efa9e56 | 534 | Requires: libheif >= 1.4.0 |
e984c4b5 JB |
535 | |
536 | %description coder-heic | |
537 | Coder module for HEIC files. | |
538 | ||
539 | %description coder-heic -l pl.UTF-8 | |
540 | Moduł kodera dla plików HEIC. | |
541 | ||
160210a7 | 542 | %package coder-jbig |
cd57a8f7 | 543 | Summary: Coder module for JBIG files |
ac354810 | 544 | Summary(pl.UTF-8): Moduł kodera dla plików JBIG |
cd57a8f7 | 545 | Group: X11/Applications/Graphics |
d7628cd8 | 546 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
547 | |
548 | %description coder-jbig | |
cd57a8f7 | 549 | Coder module for JBIG files. |
160210a7 | 550 | |
a33f7406 JR |
551 | %description coder-jbig -l pl.UTF-8 |
552 | Moduł kodera dla plików JBIG. | |
160210a7 AF |
553 | |
554 | %package coder-jpeg | |
cd57a8f7 | 555 | Summary: Coder module for JPEG files |
ac354810 | 556 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG |
cd57a8f7 | 557 | Group: X11/Applications/Graphics |
d7628cd8 | 558 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
559 | |
560 | %description coder-jpeg | |
cd57a8f7 | 561 | Coder module for JPEG files. |
160210a7 | 562 | |
a33f7406 JR |
563 | %description coder-jpeg -l pl.UTF-8 |
564 | Moduł kodera dla plików JPEG. | |
160210a7 | 565 | |
1c3eeb6b | 566 | %package coder-jpeg2 |
cd57a8f7 | 567 | Summary: Coder module for JPEG-2000 (JP2/JPC) files using JasPer library |
ac354810 | 568 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG-2000 (JP2/JPC) używający biblioteki JasPer |
cd57a8f7 | 569 | Group: X11/Applications/Graphics |
d7628cd8 | 570 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c3eeb6b JB |
571 | |
572 | %description coder-jpeg2 | |
cd57a8f7 | 573 | Coder module for JPEG-2000 (JP2/JPC) files using JasPer library. |
1c3eeb6b | 574 | |
a33f7406 JR |
575 | %description coder-jpeg2 -l pl.UTF-8 |
576 | Moduł kodera dla plików JPEG-2000 (JP2/JPC) używajacy biblioteki | |
cd57a8f7 | 577 | JasPer. |
1c3eeb6b | 578 | |
bdb064ce JB |
579 | %package coder-jxl |
580 | Summary: Coder module for JPEG-XL files | |
581 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG-XL | |
582 | Group: X11/Applications/Graphics | |
583 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
7897842e | 584 | Requires: libjxl >= 0.7.0 |
bdb064ce JB |
585 | |
586 | %description coder-jxl | |
587 | Coder module for JPEG-XL files. | |
588 | ||
589 | %description coder-jxl -l pl.UTF-8 | |
590 | Moduł kodera dla plików JPEG-XL. | |
591 | ||
160210a7 | 592 | %package coder-miff |
cd57a8f7 | 593 | Summary: Coder module for MIFF files |
ac354810 | 594 | Summary(pl.UTF-8): Moduł kodera dla plików MIFF |
cd57a8f7 | 595 | Group: X11/Applications/Graphics |
d7628cd8 | 596 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
597 | |
598 | %description coder-miff | |
cd57a8f7 | 599 | Coder module for MIFF files. |
160210a7 | 600 | |
a33f7406 JR |
601 | %description coder-miff -l pl.UTF-8 |
602 | Moduł kodera dla plików MIFF. | |
160210a7 | 603 | |
160210a7 | 604 | %package coder-mpr |
cd57a8f7 | 605 | Summary: Coder module for ImageMagick MPR and MSL files |
ac354810 | 606 | Summary(pl.UTF-8): Moduł kodera dla plików MPR i MSL ImageMagick |
cd57a8f7 | 607 | Group: X11/Applications/Graphics |
d7628cd8 | 608 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
609 | |
610 | %description coder-mpr | |
cd57a8f7 JB |
611 | Coder module for Magick Persistent Registry (MPR) and Magick Scripting |
612 | Language (MSL) files. | |
160210a7 | 613 | |
a33f7406 JR |
614 | %description coder-mpr -l pl.UTF-8 |
615 | Moduł kodera dla plików Magick Persistent Registry (MPR) i Magick | |
cd57a8f7 | 616 | Scripting Language (MSL). |
160210a7 | 617 | |
3c563119 JB |
618 | %package coder-ora |
619 | Summary: Coder module to read OpenRaster image format | |
620 | Summary(pl.UTF-8): Moduł kodera do odczytu formatu obrazów OpenRaster | |
621 | Group: X11/Applications/Graphics | |
622 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
623 | Requires: libzip >= 1.0.0 | |
624 | ||
625 | %description coder-ora | |
626 | Coder module to read OpenRaster image format. | |
627 | ||
628 | %description coder-ora -l pl.UTF-8 | |
629 | Moduł kodera do odczytu formatu obrazów OpenRaster. | |
630 | ||
8c3a04d0 JB |
631 | %package coder-pango |
632 | Summary: Coder module to read pango markup language format | |
633 | Summary(pl.UTF-8): Moduł kodera do odczytu formatu języka znaczników pango | |
634 | Group: X11/Applications/Graphics | |
635 | URL: http://www.imagemagick.org/Usage/text/#pango | |
636 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
3c563119 | 637 | Requires: pango >= 1:1.28.1 |
8c3a04d0 JB |
638 | |
639 | %description coder-pango | |
640 | Coder module to read pango markup language format. | |
641 | ||
642 | %description coder-pango -l pl.UTF-8 | |
643 | Moduł kodera do odczytu formatu języka znaczników pango. | |
644 | ||
160210a7 | 645 | %package coder-pdf |
cd57a8f7 | 646 | Summary: Coder module for PDF files |
ac354810 | 647 | Summary(pl.UTF-8): Moduł kodera dla plików PDF |
cd57a8f7 | 648 | Group: X11/Applications/Graphics |
d7628cd8 | 649 | Requires: %{name} = %{epoch}:%{version}-%{release} |
b61830e5 | 650 | Requires: ghostscript |
160210a7 AF |
651 | |
652 | %description coder-pdf | |
cd57a8f7 | 653 | Coder module for PDF files. |
160210a7 | 654 | |
a33f7406 JR |
655 | %description coder-pdf -l pl.UTF-8 |
656 | Moduł kodera dla plików PDF. | |
160210a7 AF |
657 | |
658 | %package coder-png | |
cd57a8f7 | 659 | Summary: Coder module for PNG files |
ac354810 | 660 | Summary(pl.UTF-8): Modul kodera dla plików PNG |
cd57a8f7 | 661 | Group: X11/Applications/Graphics |
d7628cd8 | 662 | Requires: %{name} = %{epoch}:%{version}-%{release} |
539c516e | 663 | Requires: libpng >= %{libpng_ver} |
160210a7 AF |
664 | |
665 | %description coder-png | |
cd57a8f7 | 666 | Coder module for PNG files. |
160210a7 | 667 | |
a33f7406 JR |
668 | %description coder-png -l pl.UTF-8 |
669 | Moduł kodera dla plików PNG. | |
160210a7 AF |
670 | |
671 | %package coder-ps2 | |
cd57a8f7 | 672 | Summary: Coder module for Postscript Level II & III (PS2/PS3) files |
ac354810 | 673 | Summary(pl.UTF-8): Moduł kodera dla plików Postscript Level II i III (PS2/PS3) |
cd57a8f7 | 674 | Group: X11/Applications/Graphics |
d7628cd8 | 675 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
676 | |
677 | %description coder-ps2 | |
cd57a8f7 | 678 | Coder module for Postscript Level II & III (PS2/PS3) files. |
160210a7 | 679 | |
a33f7406 JR |
680 | %description coder-ps2 -l pl.UTF-8 |
681 | Moduł kodera dla plików Postscript Level II i III (PS2/PS3). | |
160210a7 AF |
682 | |
683 | %package coder-svg | |
cd57a8f7 | 684 | Summary: Coder module for SVG (Scalable Vector Graphics) files |
ac354810 | 685 | Summary(pl.UTF-8): Moduł kodera dla plików SVG (Scalable Vector Graphics) |
cd57a8f7 | 686 | Group: X11/Applications/Graphics |
d7628cd8 | 687 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ecc9da3d | 688 | Requires: librsvg >= 2.9.0 |
160210a7 AF |
689 | |
690 | %description coder-svg | |
cd57a8f7 | 691 | Coder module for SVG (Scalable Vector Graphics) files. |
160210a7 | 692 | |
a33f7406 JR |
693 | %description coder-svg -l pl.UTF-8 |
694 | Moduł kodera dla plików SVG (Scalable Vector Graphics). | |
160210a7 AF |
695 | |
696 | %package coder-tiff | |
cd57a8f7 | 697 | Summary: Coder module for TIFF files |
ac354810 | 698 | Summary(pl.UTF-8): Moduł kodera dla plików TIFF |
cd57a8f7 | 699 | Group: X11/Applications/Graphics |
d7628cd8 | 700 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
701 | |
702 | %description coder-tiff | |
cd57a8f7 | 703 | Coder module for TIFF files. |
160210a7 | 704 | |
a33f7406 JR |
705 | %description coder-tiff -l pl.UTF-8 |
706 | Moduł kodera dla plików TIFF. | |
160210a7 AF |
707 | |
708 | %package coder-url | |
cd57a8f7 | 709 | Summary: Coder module for retrieving files via URL |
ac354810 | 710 | Summary(pl.UTF-8): Moduł kodera ściągający pliki o podanym URL |
cd57a8f7 | 711 | Group: X11/Applications/Graphics |
d7628cd8 | 712 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
713 | |
714 | %description coder-url | |
cd57a8f7 | 715 | Coder module for retrieving files via URL. |
160210a7 | 716 | |
a33f7406 JR |
717 | %description coder-url -l pl.UTF-8 |
718 | Moduł kodera ściągający pliki o podanym URL. | |
160210a7 | 719 | |
7e8a407b JB |
720 | %package coder-webp |
721 | Summary: Coder module for WebP files | |
722 | Summary(pl.UTF-8): Moduł kodera dla plików WebP | |
723 | Group: X11/Applications/Graphics | |
724 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
bdb064ce | 725 | Requires: libwebp >= 0.5.0 |
7e8a407b JB |
726 | |
727 | %description coder-webp | |
728 | Coder module for WebP files. | |
729 | ||
730 | %description coder-webp -l pl.UTF-8 | |
731 | Moduł kodera dla plików WebP. | |
732 | ||
160210a7 | 733 | %package coder-wmf |
cd57a8f7 | 734 | Summary: Coder module for WMF files |
ac354810 | 735 | Summary(pl.UTF-8): Moduł kodera dla plików WMF |
cd57a8f7 | 736 | Group: X11/Applications/Graphics |
d7628cd8 | 737 | Requires: %{name} = %{epoch}:%{version}-%{release} |
539c516e | 738 | Requires: libpng >= %{libpng_ver} |
160210a7 AF |
739 | |
740 | %description coder-wmf | |
cd57a8f7 | 741 | Coder module for WMF files. |
160210a7 | 742 | |
a33f7406 JR |
743 | %description coder-wmf -l pl.UTF-8 |
744 | Moduł kodera dla plików WMF. | |
160210a7 | 745 | |
130eb51f | 746 | %prep |
4a1602b4 | 747 | %setup -q -n %{name}-%{ver}-%{pver} |
305d98fd | 748 | |
e984c4b5 | 749 | %patch1 -p1 |
c45c7086 | 750 | %patch2 -p1 |
55fb6f9a | 751 | %patch3 -p1 |
ecc9da3d | 752 | %patch4 -p1 |
e984c4b5 | 753 | %patch5 -p1 |
bdb064ce | 754 | %patch6 -p1 -R |
53e91d85 | 755 | |
ecc9da3d | 756 | find -type f | xargs grep -l '/usr/local/bin/perl' | xargs %{__sed} -i -e 's=!/usr/local/bin/perl=!%{__perl}=' |
160210a7 | 757 | |
3dbb1028 JB |
758 | # avoid rebuilding (broken paths in scripts/Makefile.am) |
759 | touch www/Magick++/NEWS.html www/Magick++/ChangeLog.html | |
760 | ||
130eb51f | 761 | %build |
cd57a8f7 | 762 | %{__libtoolize} |
11fc5e8d | 763 | %{__aclocal} -I m4 |
dc98eb27 | 764 | %{__autoconf} |
11fc5e8d | 765 | %{__autoheader} |
dc98eb27 | 766 | %{__automake} |
cf6eb0f4 | 767 | %configure \ |
f5b1bc9d | 768 | --with-gcc-arch=no \ |
34d1ac08 | 769 | %{!?with_opencl:--disable-opencl} \ |
327af462 | 770 | %{!?with_openmp:--disable-openmp} \ |
ecc9da3d | 771 | --disable-silent-rules \ |
aaa2539c | 772 | --enable-fast-install \ |
87dafea1 | 773 | %{__enable_disable hdri} \ |
e5e5bef8 | 774 | --enable-shared \ |
ecc9da3d | 775 | --enable-static \ |
aaa2539c | 776 | --with-modules \ |
0850bbc5 JB |
777 | --with-autotrace%{!?with_autotrace:=no} \ |
778 | --with-djvu%{!?with_djvu:=no} \ | |
779 | --with-dps=no \ | |
fa32e604 | 780 | --with-fftw \ |
0850bbc5 | 781 | --with-fpx%{!?with_fpx:=no} \ |
e74c7413 | 782 | --with-flif%{!?with_flif:=no} \ |
39dd2729 | 783 | --with-gs-font-dir=%{_fontsdir}/Type1 \ |
0850bbc5 JB |
784 | --with-gslib%{!?with_gs:=no} \ |
785 | --with-gvc%{!?with_graphviz:=no} \ | |
bdb064ce | 786 | --with-jxl%{!?with_libjxl:=no} \ |
0850bbc5 JB |
787 | --with-magick_plus_plus%{!?with_cxx:=no} \ |
788 | --with-openexr%{!?with_exr:=no} \ | |
8a335aba | 789 | --with-openjp2%{!?with_openjpeg:=no} \ |
ac15b7bf | 790 | --with-perl=%{__perl} \ |
791 | --with-perl-options="INSTALLDIRS=vendor" \ | |
aaa2539c | 792 | --with-quantum-depth=%{QuantumDepth} \ |
39dd2729 | 793 | --with-raqm%{!?with_raqm:=no} \ |
94df235f | 794 | --with-rsvg \ |
9b4fe82b | 795 | --with-threads \ |
94df235f | 796 | --with-webp \ |
39dd2729 | 797 | --with-wmf%{!?with_wmf:=no} \ |
94df235f | 798 | --with-x |
790e254e | 799 | |
e93688cd ER |
800 | %{__make} -j1 |
801 | %{__sed} -i -e 's,/%{name}-%{ver}/,/%{name}-doc-%{version}/,' utilities/*.1 | |
130eb51f | 802 | |
803 | %install | |
441e5e4b | 804 | rm -rf $RPM_BUILD_ROOT |
ecc9da3d | 805 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl-%{version} |
9b4fe82b | 806 | |
e93688cd | 807 | %{__make} -j1 install \ |
160210a7 | 808 | DESTDIR=$RPM_BUILD_ROOT \ |
f627d915 | 809 | pkgdocdir=%{_docdir}/%{name}-doc-%{version} |
7792ca23 | 810 | |
94df235f | 811 | # for coders development |
c5aff6cb | 812 | install -d $RPM_BUILD_ROOT%{_includedir}/%{pname}/private/MagickCore |
6bae145e | 813 | cp -p MagickCore/{blob,blob-private,delegate-private,exception-private,image-private,monitor-private,nt-base-private,quantum-private,static,studio}.h \ |
c5aff6cb | 814 | $RPM_BUILD_ROOT%{_includedir}/%{pname}/private/MagickCore |
94df235f | 815 | |
e93688cd | 816 | cp -p PerlMagick/demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl-%{version} |
b51c9300 | 817 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Image/Magick/.packlist |
818 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
8ee30ebe | 819 | # packaged as %doc |
c1ffed96 | 820 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{mver}/{LICENSE,NEWS.txt} |
8ee30ebe JB |
821 | # obsoleted by pkg-config |
822 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
130eb51f | 823 | |
22e1f6ea JB |
824 | %clean |
825 | rm -rf $RPM_BUILD_ROOT | |
826 | ||
c9ee2ace | 827 | %post libs -p /sbin/ldconfig |
f66c5262 | 828 | %postun libs -p /sbin/ldconfig |
130eb51f | 829 | |
9b4fe82b | 830 | %post c++ -p /sbin/ldconfig |
831 | %postun c++ -p /sbin/ldconfig | |
832 | ||
78a44f49 AF |
833 | %files |
834 | %defattr(644,root,root,755) | |
4c6476b7 | 835 | %dir %{modulesdir} |
4c6476b7 | 836 | %dir %{modulesdir}/coders |
4c6476b7 | 837 | %dir %{modulesdir}/filters |
ffb4e719 ER |
838 | %dir %{_datadir}/%{pname} |
839 | %{_datadir}/%{pname}/*.xml | |
840 | %dir %{_sysconfdir}/%{pname} | |
841 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{pname}/*.xml | |
160210a7 AF |
842 | |
843 | # ========= coders without additional deps | |
bb05e5bc | 844 | %attr(755,root,root) %{modulesdir}/coders/aai.so |
845 | %{modulesdir}/coders/aai.la | |
4c6476b7 JB |
846 | %attr(755,root,root) %{modulesdir}/coders/art.so |
847 | %{modulesdir}/coders/art.la | |
3c563119 JB |
848 | %attr(755,root,root) %{modulesdir}/coders/ashlar.so |
849 | %{modulesdir}/coders/ashlar.la | |
4c6476b7 JB |
850 | %attr(755,root,root) %{modulesdir}/coders/avs.so |
851 | %{modulesdir}/coders/avs.la | |
ecc9da3d JB |
852 | %attr(755,root,root) %{modulesdir}/coders/bgr.so |
853 | %{modulesdir}/coders/bgr.la | |
4c6476b7 JB |
854 | %attr(755,root,root) %{modulesdir}/coders/bmp.so |
855 | %{modulesdir}/coders/bmp.la | |
b2000ba5 | 856 | %attr(755,root,root) %{modulesdir}/coders/braille.so |
857 | %{modulesdir}/coders/braille.la | |
2dfcfcd9 | 858 | %attr(755,root,root) %{modulesdir}/coders/cals.so |
859 | %{modulesdir}/coders/cals.la | |
d7628cd8 JB |
860 | %attr(755,root,root) %{modulesdir}/coders/cin.so |
861 | %{modulesdir}/coders/cin.la | |
0878048e JB |
862 | %attr(755,root,root) %{modulesdir}/coders/cip.so |
863 | %{modulesdir}/coders/cip.la | |
d7628cd8 JB |
864 | %attr(755,root,root) %{modulesdir}/coders/clip.so |
865 | %{modulesdir}/coders/clip.la | |
4c6476b7 JB |
866 | %attr(755,root,root) %{modulesdir}/coders/cmyk.so |
867 | %{modulesdir}/coders/cmyk.la | |
e984c4b5 JB |
868 | %attr(755,root,root) %{modulesdir}/coders/cube.so |
869 | %{modulesdir}/coders/cube.la | |
4c6476b7 JB |
870 | %attr(755,root,root) %{modulesdir}/coders/cut.so |
871 | %{modulesdir}/coders/cut.la | |
872 | %attr(755,root,root) %{modulesdir}/coders/dcm.so | |
873 | %{modulesdir}/coders/dcm.la | |
b2000ba5 | 874 | %attr(755,root,root) %{modulesdir}/coders/dds.so |
875 | %{modulesdir}/coders/dds.la | |
ecc9da3d JB |
876 | %attr(755,root,root) %{modulesdir}/coders/debug.so |
877 | %{modulesdir}/coders/debug.la | |
4c6476b7 JB |
878 | %attr(755,root,root) %{modulesdir}/coders/dib.so |
879 | %{modulesdir}/coders/dib.la | |
880 | %attr(755,root,root) %{modulesdir}/coders/dpx.so | |
881 | %{modulesdir}/coders/dpx.la | |
882 | %attr(755,root,root) %{modulesdir}/coders/ept.so | |
883 | %{modulesdir}/coders/ept.la | |
0b9548b9 AM |
884 | %attr(755,root,root) %{modulesdir}/coders/farbfeld.so |
885 | %{modulesdir}/coders/farbfeld.la | |
4c6476b7 JB |
886 | %attr(755,root,root) %{modulesdir}/coders/fax.so |
887 | %{modulesdir}/coders/fax.la | |
888 | %attr(755,root,root) %{modulesdir}/coders/fits.so | |
889 | %{modulesdir}/coders/fits.la | |
0b9548b9 AM |
890 | %attr(755,root,root) %{modulesdir}/coders/fl32.so |
891 | %{modulesdir}/coders/fl32.la | |
4c6476b7 JB |
892 | %attr(755,root,root) %{modulesdir}/coders/gif.so |
893 | %{modulesdir}/coders/gif.la | |
894 | %attr(755,root,root) %{modulesdir}/coders/gradient.so | |
895 | %{modulesdir}/coders/gradient.la | |
896 | %attr(755,root,root) %{modulesdir}/coders/gray.so | |
897 | %{modulesdir}/coders/gray.la | |
2dfcfcd9 | 898 | %attr(755,root,root) %{modulesdir}/coders/hald.so |
899 | %{modulesdir}/coders/hald.la | |
c7e0aeed | 900 | %attr(755,root,root) %{modulesdir}/coders/hdr.so |
901 | %{modulesdir}/coders/hdr.la | |
4c6476b7 JB |
902 | %attr(755,root,root) %{modulesdir}/coders/histogram.so |
903 | %{modulesdir}/coders/histogram.la | |
6db4857f | 904 | %attr(755,root,root) %{modulesdir}/coders/hrz.so |
905 | %{modulesdir}/coders/hrz.la | |
4c6476b7 JB |
906 | %attr(755,root,root) %{modulesdir}/coders/html.so |
907 | %{modulesdir}/coders/html.la | |
908 | %attr(755,root,root) %{modulesdir}/coders/icon.so | |
909 | %{modulesdir}/coders/icon.la | |
623a3795 JB |
910 | %attr(755,root,root) %{modulesdir}/coders/info.so |
911 | %{modulesdir}/coders/info.la | |
0a731e0a AM |
912 | %attr(755,root,root) %{modulesdir}/coders/inline.so |
913 | %{modulesdir}/coders/inline.la | |
324c5093 AM |
914 | %attr(755,root,root) %{modulesdir}/coders/json.so |
915 | %{modulesdir}/coders/json.la | |
e3f9f772 JR |
916 | %attr(755,root,root) %{modulesdir}/coders/ipl.so |
917 | %{modulesdir}/coders/ipl.la | |
75a7c58e ER |
918 | %attr(755,root,root) %{modulesdir}/coders/jnx.so |
919 | %{modulesdir}/coders/jnx.la | |
3c563119 JB |
920 | %attr(755,root,root) %{modulesdir}/coders/kernel.so |
921 | %{modulesdir}/coders/kernel.la | |
4c6476b7 JB |
922 | %attr(755,root,root) %{modulesdir}/coders/label.so |
923 | %{modulesdir}/coders/label.la | |
bb05e5bc | 924 | %attr(755,root,root) %{modulesdir}/coders/mac.so |
925 | %{modulesdir}/coders/mac.la | |
4c6476b7 JB |
926 | %attr(755,root,root) %{modulesdir}/coders/magick.so |
927 | %{modulesdir}/coders/magick.la | |
928 | %attr(755,root,root) %{modulesdir}/coders/map.so | |
929 | %{modulesdir}/coders/map.la | |
8ee30ebe JB |
930 | %attr(755,root,root) %{modulesdir}/coders/mask.so |
931 | %{modulesdir}/coders/mask.la | |
4c6476b7 JB |
932 | %attr(755,root,root) %{modulesdir}/coders/mat.so |
933 | %{modulesdir}/coders/mat.la | |
934 | %attr(755,root,root) %{modulesdir}/coders/matte.so | |
935 | %{modulesdir}/coders/matte.la | |
936 | %attr(755,root,root) %{modulesdir}/coders/meta.so | |
937 | %{modulesdir}/coders/meta.la | |
938 | %attr(755,root,root) %{modulesdir}/coders/mono.so | |
939 | %{modulesdir}/coders/mono.la | |
940 | %attr(755,root,root) %{modulesdir}/coders/mpc.so | |
941 | %{modulesdir}/coders/mpc.la | |
4c6476b7 JB |
942 | %attr(755,root,root) %{modulesdir}/coders/mtv.so |
943 | %{modulesdir}/coders/mtv.la | |
944 | %attr(755,root,root) %{modulesdir}/coders/mvg.so | |
945 | %{modulesdir}/coders/mvg.la | |
946 | %attr(755,root,root) %{modulesdir}/coders/null.so | |
947 | %{modulesdir}/coders/null.la | |
948 | %attr(755,root,root) %{modulesdir}/coders/otb.so | |
949 | %{modulesdir}/coders/otb.la | |
950 | %attr(755,root,root) %{modulesdir}/coders/palm.so | |
951 | %{modulesdir}/coders/palm.la | |
952 | %attr(755,root,root) %{modulesdir}/coders/pattern.so | |
953 | %{modulesdir}/coders/pattern.la | |
954 | %attr(755,root,root) %{modulesdir}/coders/pcd.so | |
955 | %{modulesdir}/coders/pcd.la | |
956 | %attr(755,root,root) %{modulesdir}/coders/pcl.so | |
957 | %{modulesdir}/coders/pcl.la | |
958 | %attr(755,root,root) %{modulesdir}/coders/pcx.so | |
959 | %{modulesdir}/coders/pcx.la | |
422ab93d | 960 | %attr(755,root,root) %{modulesdir}/coders/pes.so |
961 | %{modulesdir}/coders/pes.la | |
4c6476b7 JB |
962 | %attr(755,root,root) %{modulesdir}/coders/pdb.so |
963 | %{modulesdir}/coders/pdb.la | |
39dd2729 JB |
964 | %attr(755,root,root) %{modulesdir}/coders/pgx.so |
965 | %{modulesdir}/coders/pgx.la | |
4c6476b7 JB |
966 | %attr(755,root,root) %{modulesdir}/coders/pict.so |
967 | %{modulesdir}/coders/pict.la | |
968 | %attr(755,root,root) %{modulesdir}/coders/pix.so | |
969 | %{modulesdir}/coders/pix.la | |
970 | %attr(755,root,root) %{modulesdir}/coders/plasma.so | |
971 | %{modulesdir}/coders/plasma.la | |
972 | %attr(755,root,root) %{modulesdir}/coders/pnm.so | |
973 | %{modulesdir}/coders/pnm.la | |
4c6476b7 JB |
974 | %attr(755,root,root) %{modulesdir}/coders/psd.so |
975 | %{modulesdir}/coders/psd.la | |
976 | %attr(755,root,root) %{modulesdir}/coders/ps.so | |
977 | %{modulesdir}/coders/ps.la | |
978 | %attr(755,root,root) %{modulesdir}/coders/pwp.so | |
979 | %{modulesdir}/coders/pwp.la | |
0878048e JB |
980 | %attr(755,root,root) %{modulesdir}/coders/raw.so |
981 | %{modulesdir}/coders/raw.la | |
4c6476b7 JB |
982 | %attr(755,root,root) %{modulesdir}/coders/rgb.so |
983 | %{modulesdir}/coders/rgb.la | |
c5001b7e AM |
984 | %attr(755,root,root) %{modulesdir}/coders/rgf.so |
985 | %{modulesdir}/coders/rgf.la | |
4c6476b7 JB |
986 | %attr(755,root,root) %{modulesdir}/coders/rla.so |
987 | %{modulesdir}/coders/rla.la | |
988 | %attr(755,root,root) %{modulesdir}/coders/rle.so | |
989 | %{modulesdir}/coders/rle.la | |
d7628cd8 JB |
990 | %attr(755,root,root) %{modulesdir}/coders/scr.so |
991 | %{modulesdir}/coders/scr.la | |
4c6476b7 JB |
992 | %attr(755,root,root) %{modulesdir}/coders/sct.so |
993 | %{modulesdir}/coders/sct.la | |
994 | %attr(755,root,root) %{modulesdir}/coders/sfw.so | |
995 | %{modulesdir}/coders/sfw.la | |
996 | %attr(755,root,root) %{modulesdir}/coders/sgi.so | |
997 | %{modulesdir}/coders/sgi.la | |
324c5093 AM |
998 | %attr(755,root,root) %{modulesdir}/coders/sixel.so |
999 | %{modulesdir}/coders/sixel.la | |
4c6476b7 JB |
1000 | %attr(755,root,root) %{modulesdir}/coders/stegano.so |
1001 | %{modulesdir}/coders/stegano.la | |
1002 | %attr(755,root,root) %{modulesdir}/coders/sun.so | |
1003 | %{modulesdir}/coders/sun.la | |
1004 | %attr(755,root,root) %{modulesdir}/coders/tga.so | |
1005 | %{modulesdir}/coders/tga.la | |
7bf36dd6 AM |
1006 | %attr(755,root,root) %{modulesdir}/coders/thumbnail.so |
1007 | %{modulesdir}/coders/thumbnail.la | |
4c6476b7 JB |
1008 | %attr(755,root,root) %{modulesdir}/coders/tile.so |
1009 | %{modulesdir}/coders/tile.la | |
1010 | %attr(755,root,root) %{modulesdir}/coders/tim.so | |
1011 | %{modulesdir}/coders/tim.la | |
daaed2dc JB |
1012 | %attr(755,root,root) %{modulesdir}/coders/tim2.so |
1013 | %{modulesdir}/coders/tim2.la | |
4c6476b7 JB |
1014 | %attr(755,root,root) %{modulesdir}/coders/ttf.so |
1015 | %{modulesdir}/coders/ttf.la | |
1016 | %attr(755,root,root) %{modulesdir}/coders/txt.so | |
1017 | %{modulesdir}/coders/txt.la | |
1018 | %attr(755,root,root) %{modulesdir}/coders/uil.so | |
1019 | %{modulesdir}/coders/uil.la | |
1020 | %attr(755,root,root) %{modulesdir}/coders/uyvy.so | |
1021 | %{modulesdir}/coders/uyvy.la | |
1022 | %attr(755,root,root) %{modulesdir}/coders/vicar.so | |
1023 | %{modulesdir}/coders/vicar.la | |
1024 | %attr(755,root,root) %{modulesdir}/coders/vid.so | |
1025 | %{modulesdir}/coders/vid.la | |
3c563119 JB |
1026 | %attr(755,root,root) %{modulesdir}/coders/video.so |
1027 | %{modulesdir}/coders/video.la | |
4c6476b7 JB |
1028 | %attr(755,root,root) %{modulesdir}/coders/viff.so |
1029 | %{modulesdir}/coders/viff.la | |
324c5093 AM |
1030 | %attr(755,root,root) %{modulesdir}/coders/vips.so |
1031 | %{modulesdir}/coders/vips.la | |
4c6476b7 JB |
1032 | %attr(755,root,root) %{modulesdir}/coders/wbmp.so |
1033 | %{modulesdir}/coders/wbmp.la | |
1034 | %attr(755,root,root) %{modulesdir}/coders/wpg.so | |
1035 | %{modulesdir}/coders/wpg.la | |
1036 | %attr(755,root,root) %{modulesdir}/coders/xbm.so | |
1037 | %{modulesdir}/coders/xbm.la | |
1038 | %attr(755,root,root) %{modulesdir}/coders/xcf.so | |
1039 | %{modulesdir}/coders/xcf.la | |
1040 | %attr(755,root,root) %{modulesdir}/coders/xc.so | |
1041 | %{modulesdir}/coders/xc.la | |
1042 | %attr(755,root,root) %{modulesdir}/coders/xpm.so | |
1043 | %{modulesdir}/coders/xpm.la | |
b2000ba5 | 1044 | %attr(755,root,root) %{modulesdir}/coders/xps.so |
1045 | %{modulesdir}/coders/xps.la | |
4c6476b7 JB |
1046 | %attr(755,root,root) %{modulesdir}/coders/x.so |
1047 | %{modulesdir}/coders/x.la | |
1048 | %attr(755,root,root) %{modulesdir}/coders/xwd.so | |
1049 | %{modulesdir}/coders/xwd.la | |
0b9548b9 AM |
1050 | %attr(755,root,root) %{modulesdir}/coders/yaml.so |
1051 | %{modulesdir}/coders/yaml.la | |
79b3aeb7 | 1052 | %attr(755,root,root) %{modulesdir}/coders/ycbcr.so |
1053 | %{modulesdir}/coders/ycbcr.la | |
4c6476b7 JB |
1054 | %attr(755,root,root) %{modulesdir}/coders/yuv.so |
1055 | %{modulesdir}/coders/yuv.la | |
1056 | ||
e6f75f43 ER |
1057 | # new modules in 7.1.x |
1058 | %attr(755,root,root) %{modulesdir}/coders/bayer.so | |
1059 | %{modulesdir}/coders/bayer.la | |
1060 | %attr(755,root,root) %{modulesdir}/coders/ftxt.so | |
1061 | %{modulesdir}/coders/ftxt.la | |
1062 | %attr(755,root,root) %{modulesdir}/coders/qoi.so | |
1063 | %{modulesdir}/coders/qoi.la | |
1064 | %attr(755,root,root) %{modulesdir}/coders/strimg.so | |
1065 | %{modulesdir}/coders/strimg.la | |
1066 | ||
4c6476b7 JB |
1067 | %attr(755,root,root) %{modulesdir}/filters/analyze.so |
1068 | %{modulesdir}/filters/analyze.la | |
276a4e12 | 1069 | |
6bae145e | 1070 | %attr(755,root,root) %{_bindir}/magick |
d2a467b8 ER |
1071 | |
1072 | # Symlinks, no %attr | |
1073 | %{_bindir}/animate | |
1074 | %{_bindir}/compare | |
1075 | %{_bindir}/composite | |
1076 | %{_bindir}/conjure | |
1077 | %{_bindir}/convert | |
1078 | %{_bindir}/display | |
1079 | %{_bindir}/identify | |
1080 | %{_bindir}/import | |
1081 | %{_bindir}/magick-script | |
1082 | %{_bindir}/mogrify | |
1083 | %{_bindir}/montage | |
1084 | %{_bindir}/stream | |
11fc5e8d JB |
1085 | |
1086 | %{_mandir}/man1/ImageMagick.1* | |
1087 | %{_mandir}/man1/animate.1* | |
1088 | %{_mandir}/man1/compare.1* | |
1089 | %{_mandir}/man1/composite.1* | |
1090 | %{_mandir}/man1/convert.1* | |
1091 | %{_mandir}/man1/conjure.1* | |
1092 | %{_mandir}/man1/display.1* | |
1093 | %{_mandir}/man1/identify.1* | |
1094 | %{_mandir}/man1/import.1* | |
6bae145e AM |
1095 | %{_mandir}/man1/magick.1* |
1096 | %{_mandir}/man1/magick-script.1* | |
11fc5e8d JB |
1097 | %{_mandir}/man1/mogrify.1* |
1098 | %{_mandir}/man1/montage.1* | |
1099 | %{_mandir}/man1/stream.1* | |
130eb51f | 1100 | |
0bf3e90c JB |
1101 | %files doc |
1102 | %defattr(644,root,root,755) | |
b4c8d5af | 1103 | %doc %{_docdir}/%{name}-doc-%{version} |
0bf3e90c | 1104 | |
d7628cd8 JB |
1105 | %files libs |
1106 | %defattr(644,root,root,755) | |
c1ffed96 | 1107 | %doc LICENSE AUTHORS.txt |
ffb4e719 | 1108 | %attr(755,root,root) %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so.*.*.* |
fa32e604 | 1109 | %attr(755,root,root) %ghost %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so.10 |
ffb4e719 | 1110 | %attr(755,root,root) %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so.*.*.* |
fa32e604 | 1111 | %attr(755,root,root) %ghost %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so.10 |
42440c78 | 1112 | %dir %{_libdir}/ImageMagick-%{ver} |
8ee30ebe JB |
1113 | %dir %{_libdir}/ImageMagick-%{ver}/config-%{abisuf} |
1114 | %{_libdir}/ImageMagick-%{ver}/config-%{abisuf}/configure.xml | |
d7628cd8 | 1115 | |
9f7fec77 ER |
1116 | %files coder-caption |
1117 | %defattr(644,root,root,755) | |
9f7fec77 ER |
1118 | %attr(755,root,root) %{modulesdir}/coders/caption.so |
1119 | %{modulesdir}/coders/caption.la | |
1120 | ||
3e323b10 | 1121 | %if %{with djvu} |
c59dd847 | 1122 | %files coder-djvu |
3e323b10 JB |
1123 | %defattr(644,root,root,755) |
1124 | # R: djvulibre | |
1125 | %attr(755,root,root) %{modulesdir}/coders/djvu.so | |
1126 | %{modulesdir}/coders/djvu.la | |
1127 | %endif | |
1128 | ||
e984c4b5 JB |
1129 | %files coder-dng |
1130 | %defattr(644,root,root,755) | |
1131 | # R: libraw | |
1132 | %attr(755,root,root) %{modulesdir}/coders/dng.so | |
1133 | %{modulesdir}/coders/dng.la | |
1134 | ||
09657334 | 1135 | %if %{with graphviz} |
d7628cd8 JB |
1136 | %files coder-dot |
1137 | %defattr(644,root,root,755) | |
a9ec374b | 1138 | # R: graphviz, gd |
d7628cd8 JB |
1139 | %attr(755,root,root) %{modulesdir}/coders/dot.so |
1140 | %{modulesdir}/coders/dot.la | |
09657334 | 1141 | %endif |
d7628cd8 | 1142 | |
e3f9f772 JR |
1143 | %if %{with exr} |
1144 | %files coder-exr | |
1145 | %defattr(644,root,root,755) | |
1146 | # R: OpenEXR | |
1147 | %attr(755,root,root) %{modulesdir}/coders/exr.so | |
1148 | %{modulesdir}/coders/exr.la | |
1149 | %endif | |
1150 | ||
e74c7413 | 1151 | %if %{with flif} |
39dd2729 JB |
1152 | %files coder-flif |
1153 | %defattr(644,root,root,755) | |
1154 | # R: flif | |
1155 | %attr(755,root,root) %{modulesdir}/coders/flif.so | |
1156 | %{modulesdir}/coders/flif.la | |
c1ffed96 | 1157 | %endif |
39dd2729 | 1158 | |
6219ce3d | 1159 | %if %{with fpx} |
1c3eeb6b | 1160 | %files coder-fpx |
1c3eeb6b | 1161 | %defattr(644,root,root,755) |
cd57a8f7 | 1162 | # R: fpx |
4c6476b7 JB |
1163 | %attr(755,root,root) %{modulesdir}/coders/fpx.so |
1164 | %{modulesdir}/coders/fpx.la | |
cd57a8f7 | 1165 | %endif |
1c3eeb6b | 1166 | |
e984c4b5 JB |
1167 | %files coder-heic |
1168 | %defattr(644,root,root,755) | |
1169 | # R: libheif | |
1170 | %attr(755,root,root) %{modulesdir}/coders/heic.so | |
1171 | %{modulesdir}/coders/heic.la | |
1172 | ||
160210a7 | 1173 | %files coder-jbig |
1c3eeb6b | 1174 | %defattr(644,root,root,755) |
cd57a8f7 | 1175 | # R: jbigkit (libjbig.so) |
4c6476b7 JB |
1176 | %attr(755,root,root) %{modulesdir}/coders/jbig.so |
1177 | %{modulesdir}/coders/jbig.la | |
160210a7 AF |
1178 | |
1179 | %files coder-jpeg | |
1c3eeb6b | 1180 | %defattr(644,root,root,755) |
cd57a8f7 | 1181 | # R: libjpeg |
4c6476b7 JB |
1182 | %attr(755,root,root) %{modulesdir}/coders/jpeg.so |
1183 | %{modulesdir}/coders/jpeg.la | |
160210a7 | 1184 | |
8a335aba | 1185 | %if %{with openjpeg} |
1c3eeb6b | 1186 | %files coder-jpeg2 |
1c3eeb6b | 1187 | %defattr(644,root,root,755) |
8a335aba | 1188 | # R: openjpeg2, libjpeg |
4c6476b7 JB |
1189 | %attr(755,root,root) %{modulesdir}/coders/jp2.so |
1190 | %{modulesdir}/coders/jp2.la | |
cd57a8f7 | 1191 | %endif |
1c3eeb6b | 1192 | |
bdb064ce JB |
1193 | %if %{with libjxl} |
1194 | %files coder-jxl | |
1195 | %defattr(644,root,root,755) | |
1196 | # R: libjxl | |
1197 | %attr(755,root,root) %{modulesdir}/coders/jxl.so | |
1198 | %{modulesdir}/coders/jxl.la | |
1199 | %endif | |
1200 | ||
160210a7 | 1201 | %files coder-miff |
1c3eeb6b | 1202 | %defattr(644,root,root,755) |
cd57a8f7 | 1203 | # R: libjpeg, zlib, libbz2 |
4c6476b7 JB |
1204 | %attr(755,root,root) %{modulesdir}/coders/miff.so |
1205 | %{modulesdir}/coders/miff.la | |
160210a7 | 1206 | |
160210a7 | 1207 | %files coder-mpr |
1c3eeb6b | 1208 | %defattr(644,root,root,755) |
cd57a8f7 | 1209 | # R: libxml2 |
4c6476b7 JB |
1210 | %attr(755,root,root) %{modulesdir}/coders/mpr.so |
1211 | %{modulesdir}/coders/mpr.la | |
1212 | %attr(755,root,root) %{modulesdir}/coders/msl.so | |
1213 | %{modulesdir}/coders/msl.la | |
160210a7 | 1214 | |
3c563119 JB |
1215 | %files coder-ora |
1216 | %defattr(644,root,root,755) | |
1217 | # R: libzip >= 1.0.0 | |
1218 | %attr(755,root,root) %{modulesdir}/coders/ora.so | |
1219 | %{modulesdir}/coders/ora.la | |
1220 | ||
8c3a04d0 JB |
1221 | %files coder-pango |
1222 | %defattr(644,root,root,755) | |
1223 | # R: cairo, pango | |
1224 | %attr(755,root,root) %{modulesdir}/coders/pango.so | |
1225 | %{modulesdir}/coders/pango.la | |
1226 | ||
160210a7 | 1227 | %files coder-pdf |
1c3eeb6b | 1228 | %defattr(644,root,root,755) |
cd57a8f7 | 1229 | # R: libtiff, libjpeg |
4c6476b7 JB |
1230 | %attr(755,root,root) %{modulesdir}/coders/pdf.so |
1231 | %{modulesdir}/coders/pdf.la | |
160210a7 AF |
1232 | |
1233 | %files coder-png | |
1c3eeb6b | 1234 | %defattr(644,root,root,755) |
cd57a8f7 | 1235 | # R: libpng |
4c6476b7 JB |
1236 | %attr(755,root,root) %{modulesdir}/coders/png.so |
1237 | %{modulesdir}/coders/png.la | |
160210a7 AF |
1238 | |
1239 | %files coder-ps2 | |
1c3eeb6b | 1240 | %defattr(644,root,root,755) |
cd57a8f7 | 1241 | # R: libtiff, libjpeg |
4c6476b7 JB |
1242 | %attr(755,root,root) %{modulesdir}/coders/ps2.so |
1243 | %{modulesdir}/coders/ps2.la | |
1244 | %attr(755,root,root) %{modulesdir}/coders/ps3.so | |
1245 | %{modulesdir}/coders/ps3.la | |
160210a7 AF |
1246 | |
1247 | %files coder-svg | |
1c3eeb6b | 1248 | %defattr(644,root,root,755) |
e984c4b5 | 1249 | # R: cairo, libxml2, librsvg, %{?with_autotrace:autotrace} |
4c6476b7 JB |
1250 | %attr(755,root,root) %{modulesdir}/coders/svg.so |
1251 | %{modulesdir}/coders/svg.la | |
160210a7 AF |
1252 | |
1253 | %files coder-tiff | |
1c3eeb6b | 1254 | %defattr(644,root,root,755) |
cd57a8f7 | 1255 | # R: libtiff, libjpeg |
4c6476b7 JB |
1256 | %attr(755,root,root) %{modulesdir}/coders/tiff.so |
1257 | %{modulesdir}/coders/tiff.la | |
160210a7 AF |
1258 | |
1259 | %files coder-url | |
1c3eeb6b | 1260 | %defattr(644,root,root,755) |
cd57a8f7 | 1261 | # R: libxml2 |
4c6476b7 JB |
1262 | %attr(755,root,root) %{modulesdir}/coders/url.so |
1263 | %{modulesdir}/coders/url.la | |
160210a7 | 1264 | |
7e8a407b JB |
1265 | %files coder-webp |
1266 | %defattr(644,root,root,755) | |
1267 | # R: libwebp | |
1268 | %attr(755,root,root) %{modulesdir}/coders/webp.so | |
1269 | %{modulesdir}/coders/webp.la | |
1270 | ||
8299684a | 1271 | %if %{with wmf} |
160210a7 | 1272 | %files coder-wmf |
1c3eeb6b | 1273 | %defattr(644,root,root,755) |
cd57a8f7 | 1274 | # R: libwmf, expat, libjpeg, libpng |
4c6476b7 JB |
1275 | %attr(755,root,root) %{modulesdir}/coders/wmf.so |
1276 | %{modulesdir}/coders/wmf.la | |
8299684a | 1277 | %endif |
160210a7 | 1278 | |
130eb51f | 1279 | %files devel |
276a4e12 | 1280 | %defattr(644,root,root,755) |
f5206ff1 | 1281 | %attr(755,root,root) %{_bindir}/MagickCore-config |
1282 | %attr(755,root,root) %{_bindir}/MagickWand-config | |
ffb4e719 ER |
1283 | %attr(755,root,root) %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so |
1284 | %attr(755,root,root) %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so | |
1285 | %dir %{_includedir}/%{pname} | |
6bae145e AM |
1286 | %{_includedir}/%{pname}/MagickCore |
1287 | %{_includedir}/%{pname}/MagickWand | |
ffb4e719 | 1288 | %{_includedir}/%{pname}/private |
5f2448b2 | 1289 | %{_pkgconfigdir}/ImageMagick-%{mver}.%{abisuf}.pc |
4c6476b7 | 1290 | %{_pkgconfigdir}/ImageMagick.pc |
ffb4e719 | 1291 | %{_pkgconfigdir}/MagickCore-%{mver}.%{abisuf}.pc |
f5206ff1 | 1292 | %{_pkgconfigdir}/MagickCore.pc |
ffb4e719 | 1293 | %{_pkgconfigdir}/MagickWand-%{mver}.%{abisuf}.pc |
f5206ff1 | 1294 | %{_pkgconfigdir}/MagickWand.pc |
2a365d9e | 1295 | %{_mandir}/man1/MagickCore-config.1* |
1296 | %{_mandir}/man1/MagickWand-config.1* | |
647166ab | 1297 | |
130eb51f | 1298 | %files static |
d8a96ea8 | 1299 | %defattr(644,root,root,755) |
ffb4e719 ER |
1300 | %{_libdir}/libMagickCore-%{mver}.%{abisuf}.a |
1301 | %{_libdir}/libMagickWand-%{mver}.%{abisuf}.a | |
130eb51f | 1302 | |
b4c8d5af | 1303 | %files -n perl-%{name} |
276a4e12 | 1304 | %defattr(644,root,root,755) |
ecc9da3d | 1305 | %{perl_vendorarch}/Image/Magick.pm |
8ee30ebe JB |
1306 | %dir %{perl_vendorarch}/Image/Magick |
1307 | %{perl_vendorarch}/Image/Magick/%{abisuf}.pm | |
ac15b7bf | 1308 | %dir %{perl_vendorarch}/auto/Image/Magick |
8ee30ebe JB |
1309 | %dir %{perl_vendorarch}/auto/Image/Magick/%{abisuf} |
1310 | %{perl_vendorarch}/auto/Image/Magick/%{abisuf}/autosplit.ix | |
8ee30ebe | 1311 | %attr(755,root,root) %{perl_vendorarch}/auto/Image/Magick/%{abisuf}/%{abisuf}.so |
ecc9da3d | 1312 | %{_mandir}/man3/Image::Magick.3pm* |
8ee30ebe | 1313 | %{_mandir}/man3/Image::Magick::%{abisuf}.3pm* |
ecc9da3d | 1314 | %{_examplesdir}/%{name}-perl-%{version} |
9b4fe82b | 1315 | |
6219ce3d | 1316 | %if %{with cxx} |
9b4fe82b | 1317 | %files c++ |
1318 | %defattr(644,root,root,755) | |
ffb4e719 | 1319 | %attr(755,root,root) %{_libdir}/libMagick++-%{mver}.%{abisuf}.so.*.*.* |
fa32e604 | 1320 | %attr(755,root,root) %ghost %{_libdir}/libMagick++-%{mver}.%{abisuf}.so.5 |
9b4fe82b | 1321 | |
1322 | %files c++-devel | |
1323 | %defattr(644,root,root,755) | |
1324 | %attr(755,root,root) %{_bindir}/Magick++-config | |
ffb4e719 ER |
1325 | %attr(755,root,root) %{_libdir}/libMagick++-%{mver}.%{abisuf}.so |
1326 | %{_includedir}/%{pname}/Magick++ | |
1327 | %{_includedir}/%{pname}/Magick++.h | |
ffb4e719 | 1328 | %{_pkgconfigdir}/Magick++-%{mver}.%{abisuf}.pc |
f5206ff1 | 1329 | %{_pkgconfigdir}/Magick++.pc |
647166ab | 1330 | %{_mandir}/man1/Magick++-config.1* |
9b4fe82b | 1331 | |
1332 | %files c++-static | |
1333 | %defattr(644,root,root,755) | |
ffb4e719 | 1334 | %{_libdir}/libMagick++-%{mver}.%{abisuf}.a |
160210a7 | 1335 | %endif |