]>
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) | |
17 | %bcond_without graphviz # dot module (which uses GraphViz libraries) | |
fa32e604 | 18 | %bcond_without libjxl # JPEG-XL module (not ready for 0.6) |
8a335aba | 19 | %bcond_without openjpeg # JPEG2000 module (which uses openjpeg 2 library) |
34d1ac08 | 20 | %bcond_without wmf # WMF module (which uses libwmf library) |
fc0ae217 | 21 | # - module features: |
0850bbc5 | 22 | %bcond_without autotrace # Autotrace support in SVG module |
b4c8d5af | 23 | |
3531ffec | 24 | %define libpng_ver 2:1.6.34 |
539c516e | 25 | |
7e454828 | 26 | # Update to 7.1.x is on dev-7.1.0 branch |
fa32e604 JB |
27 | %define ver 7.0.11 |
28 | %define pver 14 | |
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}} |
1cb621ec | 40 | Release: 8 |
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 |
fa32e604 | 45 | # Source0-md5: 4e380b67b69e04e96fb65f4f25c8cab4 |
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 JB |
52 | Patch6: %{name}-autotrace.patch |
53 | Patch7: %{name}-jxl.patch | |
3c563119 | 54 | URL: https://imagemagick.org/ |
34d1ac08 | 55 | %{?with_opencl:BuildRequires: OpenCL-devel} |
90437a52 | 56 | %{?with_exr:BuildRequires: OpenEXR-devel >= 1.0.6} |
0850bbc5 JB |
57 | BuildRequires: autoconf >= 2.69 |
58 | BuildRequires: automake >= 1:1.12 | |
59 | %{?with_autotrace:BuildRequires: autotrace-devel >= 0.31.1} | |
34ffabb4 | 60 | BuildRequires: bzip2-devel >= 1.0.1 |
39f40964 | 61 | %{?with_djvu:BuildRequires: djvulibre-devel >= 3.5.0} |
a9ec374b | 62 | BuildRequires: expat-devel >= 1.95.7 |
ecc9da3d | 63 | BuildRequires: fftw3-devel >= 3.0 |
39dd2729 | 64 | BuildRequires: flif-devel |
ecc9da3d | 65 | BuildRequires: fontconfig-devel >= 2.1.0 |
34ffabb4 | 66 | BuildRequires: freetype-devel >= 2.0.2-2 |
327af462 | 67 | %{?with_openmp:BuildRequires: gcc-c++ >= 6:4.2} |
6219ce3d | 68 | %{?with_gs:BuildRequires: ghostscript-devel} |
ecc9da3d | 69 | %{?with_graphviz:BuildRequires: graphviz-devel >= 2.9.0} |
b9b1c69a | 70 | BuildRequires: jbigkit-devel |
ecc9da3d | 71 | BuildRequires: lcms2-devel >= 2.0 |
6219ce3d | 72 | %{?with_fpx:BuildRequires: libfpx-devel >= 1.2.0.4-3} |
327af462 | 73 | %{?with_openmp:BuildRequires: libgomp-devel} |
98ab2604 | 74 | BuildRequires: libheif-devel |
ecc9da3d | 75 | BuildRequires: libjpeg-devel >= 6b |
bdb064ce | 76 | %{?with_libjxl:BuildRequires: libjxl-devel >= 0.6.1} |
ecc9da3d | 77 | BuildRequires: liblqr-devel >= 0.1.0 |
cd57a8f7 | 78 | BuildRequires: libltdl-devel |
539c516e | 79 | BuildRequires: libpng-devel >= %{libpng_ver} |
39dd2729 | 80 | %{?with_raqm:BuildRequires: libraqm-devel} |
e984c4b5 | 81 | BuildRequires: libraw-devel >= 0.14.8 |
ecc9da3d | 82 | BuildRequires: librsvg-devel >= 2.9.0 |
9b4fe82b | 83 | BuildRequires: libstdc++-devel |
b9b1c69a | 84 | BuildRequires: libtiff-devel |
9e665d34 | 85 | BuildRequires: libtool >= 2:2.2 |
bdb064ce | 86 | BuildRequires: libwebp-devel >= 0.5.0 |
8299684a | 87 | %{?with_wmf:BuildRequires: libwmf-devel >= 2:0.2.2} |
48698249 | 88 | BuildRequires: libxml2-devel >= 2.0 |
3c563119 | 89 | BuildRequires: libzip-devel >= 1.0.0 |
8a335aba | 90 | %{?with_openjpeg:BuildRequires: openjpeg2-devel >= 2.1.0} |
8c3a04d0 | 91 | BuildRequires: pango-devel >= 1:1.28.1 |
8ee30ebe | 92 | BuildRequires: perl-devel >= 1:5.8.1 |
39f40964 | 93 | BuildRequires: pkgconfig >= 1:0.20 |
b5a2c469 | 94 | BuildRequires: rpm-perlprov >= 4.1-13 |
b218c9b8 | 95 | BuildRequires: rpmbuild(macros) >= 1.745 |
ecc9da3d | 96 | BuildRequires: tar >= 1:1.22 |
39f40964 | 97 | # just checked for, actually supplied scripts/txt2html is used |
3dbb1028 | 98 | #BuildRequires: txt2html |
39f40964 JB |
99 | BuildRequires: xorg-lib-libX11-devel |
100 | BuildRequires: xorg-lib-libXext-devel | |
ecc9da3d | 101 | BuildRequires: xz |
0850bbc5 | 102 | BuildRequires: xz-devel >= 2.9.0 |
39f40964 | 103 | BuildRequires: zlib-devel >= 1.0.0 |
e984c4b5 | 104 | BuildRequires: zstd-devel >= 1.0.0 |
d7628cd8 | 105 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
e93688cd | 106 | Suggests: shared-color-profiles |
bdb064ce JB |
107 | Obsoletes: ImageMagick-coder-braille < 1:6.4.1.3-2 |
108 | Obsoletes: ImageMagick-coder-dds < 1:6.4.1.3-2 | |
109 | Obsoletes: ImageMagick-coder-dps < 1:6.2.6.0-3 | |
110 | Obsoletes: ImageMagick-coder-hdf < 1:5.5.2.5 | |
111 | Obsoletes: ImageMagick-coder-xps < 1:6.4.1.3-2 | |
112 | Obsoletes: ImageMagick-coder-mpeg < 1:5.5.2.5 | |
3f6ccfa5 | 113 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
a11f1cf1 | 114 | |
c18dfde3 | 115 | %if %{!?QuantumDepth:1}%{?QuantumDepth:0} |
98b61c46 JR |
116 | %define QuantumDepth 16 |
117 | %endif | |
8ee30ebe JB |
118 | %define abisuf Q%{QuantumDepth}%{?with_hdri:HDRI} |
119 | %define modulesdir %{_libdir}/ImageMagick-%{ver}/modules-%{abisuf} | |
6bae145e AM |
120 | %define mver 7 |
121 | %define pname ImageMagick-7 | |
24a8518b | 122 | |
130eb51f | 123 | %description |
441e5e4b | 124 | ImageMagick is an image display, conversion, and manipulation tool. It |
ca24bfeb | 125 | runs under X Window. It is very powerful in terms of it's ability to |
441e5e4b | 126 | allow the user to edit images. It can handle many different formats as |
127 | well. | |
130eb51f | 128 | |
a33f7406 | 129 | %description -l de.UTF-8 |
441e5e4b | 130 | ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und |
a33f7406 | 131 | manipulation, -das unter X-Window läuft. Es ist enorm leitungsfähig in |
e4bc28f6 | 132 | Bezug auf die Grafikmanipulationsfunktionen, die es dem Anwender |
a33f7406 | 133 | bietet, und auf die Vielfalt der unterstützten Formate. |
130eb51f | 134 | |
a33f7406 | 135 | %description -l es.UTF-8 |
edb977fe | 136 | ImageMagick es una herramienta para manipular, convertir y exhibir |
a33f7406 JR |
137 | imágenes, que funciona bajo X Window. Es una herramienta potente que |
138 | permite editar imágenes, pudiendo manipular varios formatos | |
edb977fe | 139 | diferentes. |
140 | ||
a33f7406 | 141 | %description -l fr.UTF-8 |
130eb51f | 142 | ImageMagick est un outil d'affichage, de conversion et de manipulation |
a33f7406 JR |
143 | d'images. Il tourne sous X Window et est très puissant en termes de |
144 | capacité d'édition des images. Il peut aussi gérer de nombreux formats | |
145 | différents. | |
146 | ||
147 | %description -l pl.UTF-8 | |
148 | ImageMagick jest narzędziem do manipulacji, konwersji i wyświetlania. | |
149 | W skład pakietu wchodzą zarówno narzędzia X Window jak i do używania z | |
150 | linii poleceń umożliwiające edycję plików graficznych. Narzędzia z | |
151 | pakietu ImageMagick potrafią obsłużyć wiele różnych formatów | |
441e5e4b | 152 | graficznych. |
130eb51f | 153 | |
a33f7406 JR |
154 | %description -l pt_BR.UTF-8 |
155 | ImageMagick é uma ferramenta para manipular, converter e exibir | |
156 | imagens, que funciona sob o X Window. É uma ferramenta poderosa que | |
157 | permite editar imagens, podendo tratar vários formatos diferentes. | |
edb977fe | 158 | |
a33f7406 JR |
159 | %description -l ru.UTF-8 |
160 | ImageMagick - это утилита для просмотра, конвертирования и обработки | |
161 | изображений. Она работает под X Window. ImageMagick предоставляет | |
162 | пользователю широкие возможности по обработке изображений в самых | |
163 | разнообразных форматах. | |
edb977fe | 164 | |
a33f7406 JR |
165 | %description -l tr.UTF-8 |
166 | ImageMagick bir resim gösterme, çevirme ve değişiklik yapma | |
167 | programıdır. X Window pencereleme sistemi altında çalışır. Kullanıcıya | |
168 | resimler üzerinde değişiklik yapma açısından pek çok olanak sunar. Bir | |
169 | çok resim biçimini rahatlıkla kullanabilir. | |
130eb51f | 170 | |
a33f7406 JR |
171 | %description -l uk.UTF-8 |
172 | ImageMagick - це утиліта для перегляду, конвертування та обробки | |
173 | зображень. Вона працює під X Window. ImageMagick дає користувачу | |
174 | широкі можливості по обробці зображень в різноманітних форматах. | |
edb977fe | 175 | |
0bf3e90c JB |
176 | %package doc |
177 | Summary: ImageMagick documentation | |
ac354810 | 178 | Summary(pl.UTF-8): Dokumentacja do ImageMagick |
0bf3e90c JB |
179 | Group: Documentation |
180 | ||
181 | %description doc | |
182 | Documentation for ImageMagick. | |
183 | ||
a33f7406 | 184 | %description doc -l pl.UTF-8 |
0bf3e90c JB |
185 | Dokumentacja do ImageMagick. |
186 | ||
cd57a8f7 JB |
187 | %package libs |
188 | Summary: ImageMagick libraries | |
ac354810 ER |
189 | Summary(pl.UTF-8): Biblioteki ImageMagick |
190 | Summary(pt_BR.UTF-8): Bibliotecas dinâmicas do ImageMagick | |
cd57a8f7 | 191 | Group: X11/Libraries |
ecc9da3d JB |
192 | Requires: fontconfig-libs >= 2.1.0 |
193 | Requires: liblqr >= 0.1.0 | |
39f40964 | 194 | Requires: zlib >= 1.0.0 |
cd57a8f7 JB |
195 | |
196 | %description libs | |
197 | ImageMagick libraries. | |
198 | ||
a33f7406 | 199 | %description libs -l pl.UTF-8 |
cd57a8f7 JB |
200 | Biblioteki ImageMagick. |
201 | ||
a33f7406 JR |
202 | %description libs -l pt_BR.UTF-8 |
203 | Bibliotecas dinâmicas do ImageMagick. | |
cd57a8f7 | 204 | |
1d15dab9 | 205 | %package devel |
276a4e12 | 206 | Summary: Libraries and header files for ImageMagick development |
ac354810 ER |
207 | Summary(es.UTF-8): Biblioteca estática y archivos de inclusión para desarrollo con libMagick |
208 | Summary(pl.UTF-8): Biblioteki i pliki nagłówkowe dla ImageMagick | |
209 | Summary(pt_BR.UTF-8): Biblioteca e arquivos de inclusão para desenvolvimento com libMagick | |
210 | Summary(ru.UTF-8): Хедеры и библиотеки для программирования с ImageMagick | |
211 | Summary(uk.UTF-8): Хедери та бібліотеки для програмування з ImageMagick | |
790e254e | 212 | Group: X11/Development/Libraries |
d7628cd8 | 213 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
34d1ac08 | 214 | %{?with_opencl:Requires: OpenCL-devel} |
ecc9da3d JB |
215 | Requires: bzip2-devel >= 1.0.1 |
216 | Requires: fftw3-devel >= 3.0 | |
217 | Requires: fontconfig-devel >= 2.1.0 | |
218 | Requires: freetype-devel >= 2.0.2 | |
219 | Requires: lcms2-devel >= 2.0 | |
327af462 | 220 | %{?with_openmp:Requires: libgomp-devel} |
ecc9da3d | 221 | Requires: liblqr-devel >= 0.1.0 |
e4bc28f6 | 222 | Requires: libltdl-devel |
e984c4b5 JB |
223 | %{?with_raqm:Requires: libraqm-devel} |
224 | Requires: xorg-lib-libX11-devel | |
7dbca737 | 225 | Requires: xorg-lib-libXext-devel |
e984c4b5 | 226 | Requires: zlib-devel >= 1.0.0 |
a11f1cf1 | 227 | |
130eb51f | 228 | %description devel |
cf6eb0f4 JB |
229 | This is the ImageMagick development package. It includes header files |
230 | for use in developing your own applications that make use of the | |
231 | ImageMagick code and/or APIs. | |
130eb51f | 232 | |
a33f7406 JR |
233 | %description devel -l de.UTF-8 |
234 | Dies ist das ImageMagick-Entwicklerpaket. Es enthält Header-Dateien | |
fe66bace | 235 | zum Entwickeln von Anwendungen, die ImageMagick-Code und/oder -APIs |
236 | nutzen. | |
130eb51f | 237 | |
a33f7406 | 238 | %description devel -l es.UTF-8 |
edb977fe | 239 | Este es el paquete de desarrollo ImageMagick. Incluye las bibliotecas |
a33f7406 JR |
240 | y los archivos de inclusión para el desarrollo de sus propias |
241 | aplicaciones que hacen uso del código ImageMagick y/el APIs. | |
edb977fe | 242 | |
a33f7406 JR |
243 | %description devel -l fr.UTF-8 |
244 | Paquetage de développement ImageMagick. Contient les bibliothèques | |
245 | statiques et les en-têtes utilisés pour créer vos propres applications | |
441e5e4b | 246 | utilisant le code d'ImageMagick et/ou ses APIs. |
130eb51f | 247 | |
a33f7406 JR |
248 | %description devel -l pl.UTF-8 |
249 | Pakiet ten zawieraja pliki potrzebne przy kompilowaniu programów | |
250 | wykorzystujących blibliotekę ImageMagick takie jak pliki nagłówkowe i | |
251 | dokumentację niezbędną przy pisaniu własnych programów z | |
252 | wykorzystaniem API jakie udostępnia ImageMagick. | |
253 | ||
254 | %description devel -l pt_BR.UTF-8 | |
255 | Este é o pacote de desenvolvimento ImageMagick. Inclui as bibliotecas | |
256 | e os arquivos de inclusão para o desenvolvimento de suas próprias | |
257 | aplicações que fazem uso do código ImageMagick e/ou APIs. | |
258 | ||
259 | %description devel -l ru.UTF-8 | |
260 | Это пакет разработчика для программирования с ImageMagick. Он включает | |
261 | хедеры и библиотеки для использования в программах, которые используют | |
262 | код или API ImageMagick. | |
263 | ||
264 | %description devel -l tr.UTF-8 | |
265 | Bu paket, ImageMagick uygulama arayüzünü kullanan programlar | |
266 | geliştirmek için gereken başlık dosyalarını ve kitaplıkları içerir. | |
267 | ||
268 | %description devel -l uk.UTF-8 | |
269 | Це пакет для програмування з ImageMagick. Він містить хедери та | |
270 | бібліотеки для використання в програмах, що використовують код або API | |
edb977fe | 271 | ImageMagick. |
272 | ||
1d15dab9 | 273 | %package static |
276a4e12 | 274 | Summary: ImageMagick static libraries |
ac354810 ER |
275 | Summary(pl.UTF-8): Biblioteki statyczne ImageMagick |
276 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com libMagick | |
277 | Summary(ru.UTF-8): Статические библиотеки для программирования с ImageMagick | |
278 | Summary(uk.UTF-8): Статичні бібліотеки для програмування з ImageMagick | |
790e254e | 279 | Group: X11/Development/Libraries |
d7628cd8 | 280 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
a11f1cf1 | 281 | |
130eb51f | 282 | %description static |
276a4e12 | 283 | ImageMagick static libraries. |
130eb51f | 284 | |
a33f7406 | 285 | %description static -l pl.UTF-8 |
7792ca23 | 286 | Biblioteki statyczne ImageMagick. |
130eb51f | 287 | |
a33f7406 JR |
288 | %description static -l pt_BR.UTF-8 |
289 | Bibliotecas estáticas para desenvolvimento com libMagick. | |
edb977fe | 290 | |
a33f7406 JR |
291 | %description static -l ru.UTF-8 |
292 | Это отдельный пакет со статическими библиотеками, которые больше не | |
293 | входят в ImageMagick-devel. | |
edb977fe | 294 | |
a33f7406 JR |
295 | %description static -l uk.UTF-8 |
296 | Це окремий пакет зі статичними бібліотеками, які більше не входять до | |
297 | складу ImageMagick-devel. | |
edb977fe | 298 | |
b4c8d5af | 299 | %package -n perl-%{name} |
c66344de | 300 | Summary: Libraries and modules for access to ImageMagick from Perl |
ac354810 ER |
301 | Summary(pl.UTF-8): Biblioteki i moduły Perla dla ImageMagick |
302 | Summary(pt_BR.UTF-8): Módulo perl para uso com o ImageMagick | |
303 | Summary(ru.UTF-8): Библиотеки и модули для доступа к ImageMagick из perl | |
304 | Summary(uk.UTF-8): Бібліотеки та модулі для доступу до ImageMagick з Perl | |
2d5b8f3b | 305 | Group: Development/Languages/Perl |
a9ec374b | 306 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d7628cd8 | 307 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
57c65f7f | 308 | Requires: perl-dirs |
b4c8d5af | 309 | Provides: ImageMagick-perl = %{epoch}:%{version}-%{release} |
bdb064ce | 310 | Obsoletes: ImageMagick-perl < 1:6.6.1.1-4 |
a11f1cf1 | 311 | |
b4c8d5af | 312 | %description -n perl-%{name} |
c66344de | 313 | This is the ImageMagick Perl support package. It perl modules and |
441e5e4b | 314 | support files for access to ImageMagick library from perl without |
315 | unuseful forking or such. | |
130eb51f | 316 | |
b4c8d5af | 317 | %description -n perl-%{name} -l pl.UTF-8 |
a33f7406 | 318 | Biblioteki i moduły umożliwiające korzystanie z ImageMagick z poziomu |
c66344de | 319 | Perla. |
130eb51f | 320 | |
b4c8d5af | 321 | %description -n perl-%{name} -l pt_BR.UTF-8 |
a33f7406 | 322 | Este pacote fornece um módulo perl para acessar funções do ImageMagick |
c66344de | 323 | em scripts Perl. |
edb977fe | 324 | |
b4c8d5af | 325 | %description -n perl-%{name} -l ru.UTF-8 |
a33f7406 JR |
326 | Это пакет ImageMagick для поддержки perl. Он включает модули perl и |
327 | вспомогательные файлы для доступа к библиотеке ImageMagick из Perl. | |
edb977fe | 328 | |
b4c8d5af | 329 | %description -n perl-%{name} -l uk.UTF-8 |
a33f7406 JR |
330 | Це пакет ImageMagick для підтримки Perl. Він містить модулі Perl та |
331 | додаткові файли для доступу до бібліотеки ImageMagick з Perl. | |
edb977fe | 332 | |
9b4fe82b | 333 | %package c++ |
334 | Summary: ImageMagick Magick++ library | |
ac354810 ER |
335 | Summary(pl.UTF-8): Biblioteka Magick++ |
336 | Summary(pt_BR.UTF-8): Bibliotecas dinâmicas do ImageMagick | |
337 | Summary(ru.UTF-8): Библиотека Magick++ (C++ интерфейс для ImageMagick'а) | |
338 | Summary(uk.UTF-8): Бібліотека Magick++ (інтерфейс C++ для ImageMagick) | |
9b4fe82b | 339 | Group: X11/Libraries |
d7628cd8 | 340 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
9b4fe82b | 341 | |
342 | %description c++ | |
343 | This package contains the Magick++ library, a C++ binding to the | |
344 | ImageMagick graphics manipulation library. | |
345 | ||
346 | Install ImageMagick-c++ if you want to use any applications that use | |
347 | Magick++. | |
348 | ||
a33f7406 JR |
349 | %description c++ -l pl.UTF-8 |
350 | Pakiet zawiera bibliotekę Magick++ - interfejs w C++ do biblioteki | |
351 | ImageMagick. Jest potrzebny do uruchamiania programów korzystających z | |
fe66bace | 352 | Magick++. |
cf6eb0f4 | 353 | |
a33f7406 JR |
354 | %description c++ -l pt_BR.UTF-8 |
355 | Bibliotecas dinâmicas C++ do ImageMagick. | |
edb977fe | 356 | |
a33f7406 JR |
357 | %description c++ -l ru.UTF-8 |
358 | Magick++ -- объектно-ориентированная библиотека, представляющая из | |
359 | себя C++ API для ImageMagick (библиотеки для просмотра, | |
360 | конвертирования и обработки изображений). | |
edb977fe | 361 | |
a33f7406 JR |
362 | %description c++ -l uk.UTF-8 |
363 | Magick++ -- об'єкто-орієнтована бібліотека, що являє собою C++ API для | |
364 | ImageMagick (бібліотеки для перегляду, конвертування та обробки | |
365 | зображень). | |
edb977fe | 366 | |
9b4fe82b | 367 | %package c++-devel |
368 | Summary: C++ bindings for the ImageMagick library | |
ac354810 ER |
369 | Summary(es.UTF-8): Biblioteca estática y archivos de inclusión para desarrollo con libMagick++ |
370 | Summary(pl.UTF-8): Pliki nagłówkowe z interfejsem C++ do ImageMagick | |
371 | Summary(pt_BR.UTF-8): Biblioteca e arquivos de inclusão para desenvolvimento com libMagick++ | |
372 | Summary(ru.UTF-8): Хедеры и библиотеки для разработок с использованием Magick++ (C++ интерфейс для ImageMagick'а) | |
373 | Summary(uk.UTF-8): Хедери та бібліотеки для розробок з використанням Magick++ (інтерфейсу C++ для ImageMagick) | |
9b4fe82b | 374 | Group: X11/Development/Libraries |
d7628cd8 JB |
375 | Requires: %{name}-c++ = %{epoch}:%{version}-%{release} |
376 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
4c6476b7 | 377 | Requires: libstdc++-devel |
9b4fe82b | 378 | |
379 | %description c++-devel | |
cf6eb0f4 JB |
380 | ImageMagick-c++-devel contains header files you'll need to develop |
381 | ImageMagick applications using the Magick++ C++ bindings. ImageMagick | |
382 | is an image manipulation program. | |
9b4fe82b | 383 | |
384 | If you want to create applications that will use Magick++ code or | |
385 | APIs, you'll need to install ImageMagick-c++-devel, ImageMagick-devel | |
386 | and ImageMagick. You don't need to install it if you just want to use | |
387 | ImageMagick, or if you want to develop/compile applications using the | |
388 | ImageMagick C interface, however. | |
389 | ||
a33f7406 | 390 | %description c++-devel -l es.UTF-8 |
edb977fe | 391 | Este es el paquete de desarrollo ImageMagick. Incluye las bibliotecas |
a33f7406 JR |
392 | estáticas y los archivos de inclusión para el desarrollo de sus |
393 | propias aplicaciones que hacen uso del código ImageMagick y/el APIs. | |
edb977fe | 394 | |
a33f7406 JR |
395 | %description c++-devel -l pl.UTF-8 |
396 | Pakiet zawiera pliki nagłówkowe potrzebne do kompilowania programów | |
397 | korzystających z Magick++. | |
cf6eb0f4 | 398 | |
a33f7406 JR |
399 | %description c++-devel -l pt_BR.UTF-8 |
400 | Este é o pacote de desenvolvimento libMagick++. Inclui as bibliotecas | |
401 | e os arquivos de inclusão para o desenvolvimento de suas próprias | |
402 | aplicações C++ que fazem uso do código ImageMagick e/ou APIs. | |
edb977fe | 403 | |
a33f7406 JR |
404 | %description c++-devel -l ru.UTF-8 |
405 | Это пакет разработчика для программирования с ImageMagick. Он включает | |
406 | хедеры и библиотеки для использования в программах, которые используют | |
407 | код или API Magick++ (C++ интерфейс для ImageMagick'а). | |
edb977fe | 408 | |
a33f7406 JR |
409 | %description c++-devel -l uk.UTF-8 |
410 | Це пакет для програмування з ImageMagick. Він містить хедери та | |
411 | бібліотеки для використання в програмах, що використовують код або API | |
412 | Magick++ (інтерфейс C++ для ImageMagick). | |
edb977fe | 413 | |
9b4fe82b | 414 | %package c++-static |
415 | Summary: C++ bindings for the ImageMagick - static library | |
ac354810 ER |
416 | Summary(pl.UTF-8): Interfejs C++ do ImageMagick - biblioteka statyczna |
417 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com libMagick | |
418 | Summary(ru.UTF-8): Статические библиотеки C++ для программирования с ImageMagick | |
419 | Summary(uk.UTF-8): Статичні бібліотеки C++ для програмування з ImageMagick | |
9b4fe82b | 420 | Group: X11/Development/Libraries |
d7628cd8 JB |
421 | Requires: %{name}-c++-devel = %{epoch}:%{version}-%{release} |
422 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
9b4fe82b | 423 | |
424 | %description c++-static | |
425 | C++ bindings for the ImageMagick - static library. | |
426 | ||
a33f7406 | 427 | %description c++-static -l pl.UTF-8 |
cf6eb0f4 JB |
428 | Biblioteka Magick++ w wersji statycznej. |
429 | ||
a33f7406 JR |
430 | %description c++-static -l pt_BR.UTF-8 |
431 | Bibliotecas estáticas para desenvolvimento com libMagick++. | |
edb977fe | 432 | |
a33f7406 JR |
433 | %description c++-static -l ru.UTF-8 |
434 | Это отдельный пакет со статическими библиотеками, которые больше не | |
435 | входят в ImageMagick-c++-devel. | |
edb977fe | 436 | |
a33f7406 JR |
437 | %description c++-static -l uk.UTF-8 |
438 | Це окремий пакет зі статичними бібліотеками, які більше не входять до | |
439 | складу ImageMagick-c++-devel. | |
edb977fe | 440 | |
9f7fec77 | 441 | %package coder-caption |
2b684125 JB |
442 | Summary: Coder module to read CAPTION images |
443 | Summary(pl.UTF-8): Moduł kodera do odczytu obrazów CAPTION | |
9f7fec77 ER |
444 | Group: X11/Applications/Graphics |
445 | URL: http://www.imagemagick.org/Usage/text/#caption | |
446 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
447 | ||
448 | %description coder-caption | |
449 | Coder module to Read Text Caption. | |
450 | ||
2b684125 JB |
451 | %description coder-caption -l pl.UTF-8 |
452 | Moduł kodera do odczytu podpisów tekstowych (typu caption). | |
453 | ||
3e323b10 JB |
454 | %package coder-djvu |
455 | Summary: Coder module for DJVU files | |
456 | Summary(pl.UTF-8): Moduł kodera dla plików DJVU | |
457 | Group: X11/Applications/Graphics | |
458 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
39f40964 | 459 | Requires: djvulibre >= 3.5.0 |
3e323b10 JB |
460 | |
461 | %description coder-djvu | |
462 | Coder module for DJVU files. | |
463 | ||
9b15c88f | 464 | %description coder-djvu -l pl.UTF-8 |
3e323b10 JB |
465 | Moduł kodera dla plików DJVU. |
466 | ||
e984c4b5 JB |
467 | %package coder-dng |
468 | Summary: Coder module for DNG files | |
469 | Summary(pl.UTF-8): Moduł kodera dla plików DNG | |
470 | Group: X11/Applications/Graphics | |
471 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
472 | Requires: libraw >= 0.14.8 | |
473 | ||
474 | %description coder-dng | |
475 | Coder module for DNG (Digital Negative) files. | |
476 | ||
477 | %description coder-dng -l pl.UTF-8 | |
478 | Moduł kodera dla plików DNG (Digital Negative). | |
479 | ||
d7628cd8 JB |
480 | %package coder-dot |
481 | Summary: Coder module for GraphViz DOT files | |
ac354810 | 482 | Summary(pl.UTF-8): Moduł kodera dla plików GraphViz DOT |
d7628cd8 JB |
483 | Group: X11/Applications/Graphics |
484 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
ecc9da3d | 485 | Requires: graphviz >= 2.9.0 |
d7628cd8 JB |
486 | |
487 | %description coder-dot | |
488 | Coder module for GraphViz DOT files. | |
489 | ||
a33f7406 JR |
490 | %description coder-dot -l pl.UTF-8 |
491 | Moduł kodera dla plików GraphViz DOT. | |
d7628cd8 | 492 | |
e3f9f772 JR |
493 | %package coder-exr |
494 | Summary: Coder module for ILM EXR files | |
495 | Summary(pl.UTF-8): Moduł kodera dla plików EXR ILM | |
496 | Group: X11/Applications/Graphics | |
497 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
ecc9da3d | 498 | Requires: OpenEXR >= 1.0.6 |
e3f9f772 JR |
499 | |
500 | %description coder-exr | |
501 | Coder module for ILM EXR files. | |
502 | ||
503 | %description coder-exr -l pl.UTF-8 | |
504 | Moduł kodera dla plików EXR ILM. | |
505 | ||
39dd2729 JB |
506 | %package coder-flif |
507 | Summary: Coder module for FLIF (Free Lossless Image Format) files | |
508 | Summary(pl.UTF-8): Moduł kodera dla plików FLIF (Free Lossless Image Format) | |
509 | Group: X11/Applications/Graphics | |
510 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
511 | ||
512 | %description coder-flif | |
513 | Coder module for FLIF (Free Lossless Image Format) files. | |
514 | ||
515 | %description coder-flif -l pl.UTF-8 | |
516 | Moduł kodera dla plików FLIF (Free Lossless Image Format). | |
517 | ||
1c3eeb6b | 518 | %package coder-fpx |
cd57a8f7 | 519 | Summary: Coder module for FlashPIX (FPX) files |
ac354810 | 520 | Summary(pl.UTF-8): Moduł kodera dla plików FlashPIX (FPX) |
cd57a8f7 | 521 | Group: X11/Applications/Graphics |
d7628cd8 | 522 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c3eeb6b JB |
523 | |
524 | %description coder-fpx | |
cd57a8f7 | 525 | Coder module for FlashPIX (FPX) files. |
1c3eeb6b | 526 | |
a33f7406 JR |
527 | %description coder-fpx -l pl.UTF-8 |
528 | Moduł kodera dla plików FlashPIX (FPX). | |
1c3eeb6b | 529 | |
e984c4b5 JB |
530 | %package coder-heic |
531 | Summary: Coder module for HEIC files | |
532 | Summary(pl.UTF-8): Moduł kodera dla plików HEIC | |
533 | Group: X11/Applications/Graphics | |
534 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
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} | |
584 | Requires: libjxl >= 0.6.1 | |
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} |
b721b050 | 748 | %patch0 -p1 |
e984c4b5 | 749 | %patch1 -p1 |
c45c7086 | 750 | %patch2 -p1 |
55fb6f9a | 751 | %patch3 -p1 |
ecc9da3d | 752 | %patch4 -p1 |
e984c4b5 | 753 | %patch5 -p1 |
bdb064ce JB |
754 | %patch6 -p1 -R |
755 | %patch7 -p1 | |
53e91d85 | 756 | |
ecc9da3d | 757 | find -type f | xargs grep -l '/usr/local/bin/perl' | xargs %{__sed} -i -e 's=!/usr/local/bin/perl=!%{__perl}=' |
160210a7 | 758 | |
3dbb1028 JB |
759 | # avoid rebuilding (broken paths in scripts/Makefile.am) |
760 | touch www/Magick++/NEWS.html www/Magick++/ChangeLog.html | |
761 | ||
130eb51f | 762 | %build |
cd57a8f7 | 763 | %{__libtoolize} |
11fc5e8d | 764 | %{__aclocal} -I m4 |
dc98eb27 | 765 | %{__autoconf} |
11fc5e8d | 766 | %{__autoheader} |
dc98eb27 | 767 | %{__automake} |
cf6eb0f4 | 768 | %configure \ |
f5b1bc9d | 769 | --with-gcc-arch=no \ |
34d1ac08 | 770 | %{!?with_opencl:--disable-opencl} \ |
327af462 | 771 | %{!?with_openmp:--disable-openmp} \ |
ecc9da3d | 772 | --disable-silent-rules \ |
aaa2539c | 773 | --enable-fast-install \ |
87dafea1 | 774 | %{__enable_disable hdri} \ |
e5e5bef8 | 775 | --enable-shared \ |
ecc9da3d | 776 | --enable-static \ |
aaa2539c | 777 | --with-modules \ |
0850bbc5 JB |
778 | --with-autotrace%{!?with_autotrace:=no} \ |
779 | --with-djvu%{!?with_djvu:=no} \ | |
780 | --with-dps=no \ | |
fa32e604 | 781 | --with-fftw \ |
0850bbc5 | 782 | --with-fpx%{!?with_fpx:=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 |
ffb4e719 | 820 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{mver}/{ChangeLog,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 | |
322bf074 AM |
1048 | %attr(755,root,root) %{modulesdir}/coders/xtrn.so |
1049 | %{modulesdir}/coders/xtrn.la | |
4c6476b7 JB |
1050 | %attr(755,root,root) %{modulesdir}/coders/xwd.so |
1051 | %{modulesdir}/coders/xwd.la | |
0b9548b9 AM |
1052 | %attr(755,root,root) %{modulesdir}/coders/yaml.so |
1053 | %{modulesdir}/coders/yaml.la | |
79b3aeb7 | 1054 | %attr(755,root,root) %{modulesdir}/coders/ycbcr.so |
1055 | %{modulesdir}/coders/ycbcr.la | |
4c6476b7 JB |
1056 | %attr(755,root,root) %{modulesdir}/coders/yuv.so |
1057 | %{modulesdir}/coders/yuv.la | |
1058 | ||
1059 | %attr(755,root,root) %{modulesdir}/filters/analyze.so | |
1060 | %{modulesdir}/filters/analyze.la | |
276a4e12 | 1061 | |
8507ae9c | 1062 | %attr(755,root,root) %{_bindir}/animate |
d7628cd8 | 1063 | %attr(755,root,root) %{_bindir}/compare |
34ffabb4 | 1064 | %attr(755,root,root) %{_bindir}/composite |
160210a7 | 1065 | %attr(755,root,root) %{_bindir}/conjure |
2a365d9e | 1066 | %attr(755,root,root) %{_bindir}/convert |
8507ae9c | 1067 | %attr(755,root,root) %{_bindir}/display |
1068 | %attr(755,root,root) %{_bindir}/identify | |
1069 | %attr(755,root,root) %{_bindir}/import | |
6bae145e AM |
1070 | %attr(755,root,root) %{_bindir}/magick |
1071 | %attr(755,root,root) %{_bindir}/magick-script | |
8507ae9c | 1072 | %attr(755,root,root) %{_bindir}/mogrify |
1073 | %attr(755,root,root) %{_bindir}/montage | |
11fc5e8d JB |
1074 | %attr(755,root,root) %{_bindir}/stream |
1075 | ||
1076 | %{_mandir}/man1/ImageMagick.1* | |
1077 | %{_mandir}/man1/animate.1* | |
1078 | %{_mandir}/man1/compare.1* | |
1079 | %{_mandir}/man1/composite.1* | |
1080 | %{_mandir}/man1/convert.1* | |
1081 | %{_mandir}/man1/conjure.1* | |
1082 | %{_mandir}/man1/display.1* | |
1083 | %{_mandir}/man1/identify.1* | |
1084 | %{_mandir}/man1/import.1* | |
6bae145e AM |
1085 | %{_mandir}/man1/magick.1* |
1086 | %{_mandir}/man1/magick-script.1* | |
11fc5e8d JB |
1087 | %{_mandir}/man1/mogrify.1* |
1088 | %{_mandir}/man1/montage.1* | |
1089 | %{_mandir}/man1/stream.1* | |
130eb51f | 1090 | |
0bf3e90c JB |
1091 | %files doc |
1092 | %defattr(644,root,root,755) | |
b4c8d5af | 1093 | %doc %{_docdir}/%{name}-doc-%{version} |
0bf3e90c | 1094 | |
d7628cd8 JB |
1095 | %files libs |
1096 | %defattr(644,root,root,755) | |
4dc23fed | 1097 | %doc ChangeLog LICENSE AUTHORS.txt |
ffb4e719 | 1098 | %attr(755,root,root) %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so.*.*.* |
fa32e604 | 1099 | %attr(755,root,root) %ghost %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so.10 |
ffb4e719 | 1100 | %attr(755,root,root) %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so.*.*.* |
fa32e604 | 1101 | %attr(755,root,root) %ghost %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so.10 |
42440c78 | 1102 | %dir %{_libdir}/ImageMagick-%{ver} |
8ee30ebe JB |
1103 | %dir %{_libdir}/ImageMagick-%{ver}/config-%{abisuf} |
1104 | %{_libdir}/ImageMagick-%{ver}/config-%{abisuf}/configure.xml | |
d7628cd8 | 1105 | |
9f7fec77 ER |
1106 | %files coder-caption |
1107 | %defattr(644,root,root,755) | |
9f7fec77 ER |
1108 | %attr(755,root,root) %{modulesdir}/coders/caption.so |
1109 | %{modulesdir}/coders/caption.la | |
1110 | ||
3e323b10 | 1111 | %if %{with djvu} |
c59dd847 | 1112 | %files coder-djvu |
3e323b10 JB |
1113 | %defattr(644,root,root,755) |
1114 | # R: djvulibre | |
1115 | %attr(755,root,root) %{modulesdir}/coders/djvu.so | |
1116 | %{modulesdir}/coders/djvu.la | |
1117 | %endif | |
1118 | ||
e984c4b5 JB |
1119 | %files coder-dng |
1120 | %defattr(644,root,root,755) | |
1121 | # R: libraw | |
1122 | %attr(755,root,root) %{modulesdir}/coders/dng.so | |
1123 | %{modulesdir}/coders/dng.la | |
1124 | ||
09657334 | 1125 | %if %{with graphviz} |
d7628cd8 JB |
1126 | %files coder-dot |
1127 | %defattr(644,root,root,755) | |
a9ec374b | 1128 | # R: graphviz, gd |
d7628cd8 JB |
1129 | %attr(755,root,root) %{modulesdir}/coders/dot.so |
1130 | %{modulesdir}/coders/dot.la | |
09657334 | 1131 | %endif |
d7628cd8 | 1132 | |
e3f9f772 JR |
1133 | %if %{with exr} |
1134 | %files coder-exr | |
1135 | %defattr(644,root,root,755) | |
1136 | # R: OpenEXR | |
1137 | %attr(755,root,root) %{modulesdir}/coders/exr.so | |
1138 | %{modulesdir}/coders/exr.la | |
1139 | %endif | |
1140 | ||
39dd2729 JB |
1141 | %files coder-flif |
1142 | %defattr(644,root,root,755) | |
1143 | # R: flif | |
1144 | %attr(755,root,root) %{modulesdir}/coders/flif.so | |
1145 | %{modulesdir}/coders/flif.la | |
1146 | ||
6219ce3d | 1147 | %if %{with fpx} |
1c3eeb6b | 1148 | %files coder-fpx |
1c3eeb6b | 1149 | %defattr(644,root,root,755) |
cd57a8f7 | 1150 | # R: fpx |
4c6476b7 JB |
1151 | %attr(755,root,root) %{modulesdir}/coders/fpx.so |
1152 | %{modulesdir}/coders/fpx.la | |
cd57a8f7 | 1153 | %endif |
1c3eeb6b | 1154 | |
e984c4b5 JB |
1155 | %files coder-heic |
1156 | %defattr(644,root,root,755) | |
1157 | # R: libheif | |
1158 | %attr(755,root,root) %{modulesdir}/coders/heic.so | |
1159 | %{modulesdir}/coders/heic.la | |
1160 | ||
160210a7 | 1161 | %files coder-jbig |
1c3eeb6b | 1162 | %defattr(644,root,root,755) |
cd57a8f7 | 1163 | # R: jbigkit (libjbig.so) |
4c6476b7 JB |
1164 | %attr(755,root,root) %{modulesdir}/coders/jbig.so |
1165 | %{modulesdir}/coders/jbig.la | |
160210a7 AF |
1166 | |
1167 | %files coder-jpeg | |
1c3eeb6b | 1168 | %defattr(644,root,root,755) |
cd57a8f7 | 1169 | # R: libjpeg |
4c6476b7 JB |
1170 | %attr(755,root,root) %{modulesdir}/coders/jpeg.so |
1171 | %{modulesdir}/coders/jpeg.la | |
160210a7 | 1172 | |
8a335aba | 1173 | %if %{with openjpeg} |
1c3eeb6b | 1174 | %files coder-jpeg2 |
1c3eeb6b | 1175 | %defattr(644,root,root,755) |
8a335aba | 1176 | # R: openjpeg2, libjpeg |
4c6476b7 JB |
1177 | %attr(755,root,root) %{modulesdir}/coders/jp2.so |
1178 | %{modulesdir}/coders/jp2.la | |
cd57a8f7 | 1179 | %endif |
1c3eeb6b | 1180 | |
bdb064ce JB |
1181 | %if %{with libjxl} |
1182 | %files coder-jxl | |
1183 | %defattr(644,root,root,755) | |
1184 | # R: libjxl | |
1185 | %attr(755,root,root) %{modulesdir}/coders/jxl.so | |
1186 | %{modulesdir}/coders/jxl.la | |
1187 | %endif | |
1188 | ||
160210a7 | 1189 | %files coder-miff |
1c3eeb6b | 1190 | %defattr(644,root,root,755) |
cd57a8f7 | 1191 | # R: libjpeg, zlib, libbz2 |
4c6476b7 JB |
1192 | %attr(755,root,root) %{modulesdir}/coders/miff.so |
1193 | %{modulesdir}/coders/miff.la | |
160210a7 | 1194 | |
160210a7 | 1195 | %files coder-mpr |
1c3eeb6b | 1196 | %defattr(644,root,root,755) |
cd57a8f7 | 1197 | # R: libxml2 |
4c6476b7 JB |
1198 | %attr(755,root,root) %{modulesdir}/coders/mpr.so |
1199 | %{modulesdir}/coders/mpr.la | |
1200 | %attr(755,root,root) %{modulesdir}/coders/msl.so | |
1201 | %{modulesdir}/coders/msl.la | |
160210a7 | 1202 | |
3c563119 JB |
1203 | %files coder-ora |
1204 | %defattr(644,root,root,755) | |
1205 | # R: libzip >= 1.0.0 | |
1206 | %attr(755,root,root) %{modulesdir}/coders/ora.so | |
1207 | %{modulesdir}/coders/ora.la | |
1208 | ||
8c3a04d0 JB |
1209 | %files coder-pango |
1210 | %defattr(644,root,root,755) | |
1211 | # R: cairo, pango | |
1212 | %attr(755,root,root) %{modulesdir}/coders/pango.so | |
1213 | %{modulesdir}/coders/pango.la | |
1214 | ||
160210a7 | 1215 | %files coder-pdf |
1c3eeb6b | 1216 | %defattr(644,root,root,755) |
cd57a8f7 | 1217 | # R: libtiff, libjpeg |
4c6476b7 JB |
1218 | %attr(755,root,root) %{modulesdir}/coders/pdf.so |
1219 | %{modulesdir}/coders/pdf.la | |
160210a7 AF |
1220 | |
1221 | %files coder-png | |
1c3eeb6b | 1222 | %defattr(644,root,root,755) |
cd57a8f7 | 1223 | # R: libpng |
4c6476b7 JB |
1224 | %attr(755,root,root) %{modulesdir}/coders/png.so |
1225 | %{modulesdir}/coders/png.la | |
160210a7 AF |
1226 | |
1227 | %files coder-ps2 | |
1c3eeb6b | 1228 | %defattr(644,root,root,755) |
cd57a8f7 | 1229 | # R: libtiff, libjpeg |
4c6476b7 JB |
1230 | %attr(755,root,root) %{modulesdir}/coders/ps2.so |
1231 | %{modulesdir}/coders/ps2.la | |
1232 | %attr(755,root,root) %{modulesdir}/coders/ps3.so | |
1233 | %{modulesdir}/coders/ps3.la | |
160210a7 AF |
1234 | |
1235 | %files coder-svg | |
1c3eeb6b | 1236 | %defattr(644,root,root,755) |
e984c4b5 | 1237 | # R: cairo, libxml2, librsvg, %{?with_autotrace:autotrace} |
4c6476b7 JB |
1238 | %attr(755,root,root) %{modulesdir}/coders/svg.so |
1239 | %{modulesdir}/coders/svg.la | |
160210a7 AF |
1240 | |
1241 | %files coder-tiff | |
1c3eeb6b | 1242 | %defattr(644,root,root,755) |
cd57a8f7 | 1243 | # R: libtiff, libjpeg |
4c6476b7 JB |
1244 | %attr(755,root,root) %{modulesdir}/coders/tiff.so |
1245 | %{modulesdir}/coders/tiff.la | |
160210a7 AF |
1246 | |
1247 | %files coder-url | |
1c3eeb6b | 1248 | %defattr(644,root,root,755) |
cd57a8f7 | 1249 | # R: libxml2 |
4c6476b7 JB |
1250 | %attr(755,root,root) %{modulesdir}/coders/url.so |
1251 | %{modulesdir}/coders/url.la | |
160210a7 | 1252 | |
7e8a407b JB |
1253 | %files coder-webp |
1254 | %defattr(644,root,root,755) | |
1255 | # R: libwebp | |
1256 | %attr(755,root,root) %{modulesdir}/coders/webp.so | |
1257 | %{modulesdir}/coders/webp.la | |
1258 | ||
8299684a | 1259 | %if %{with wmf} |
160210a7 | 1260 | %files coder-wmf |
1c3eeb6b | 1261 | %defattr(644,root,root,755) |
cd57a8f7 | 1262 | # R: libwmf, expat, libjpeg, libpng |
4c6476b7 JB |
1263 | %attr(755,root,root) %{modulesdir}/coders/wmf.so |
1264 | %{modulesdir}/coders/wmf.la | |
8299684a | 1265 | %endif |
160210a7 | 1266 | |
130eb51f | 1267 | %files devel |
276a4e12 | 1268 | %defattr(644,root,root,755) |
f5206ff1 | 1269 | %attr(755,root,root) %{_bindir}/MagickCore-config |
1270 | %attr(755,root,root) %{_bindir}/MagickWand-config | |
ffb4e719 ER |
1271 | %attr(755,root,root) %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so |
1272 | %attr(755,root,root) %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so | |
1273 | %dir %{_includedir}/%{pname} | |
6bae145e AM |
1274 | %{_includedir}/%{pname}/MagickCore |
1275 | %{_includedir}/%{pname}/MagickWand | |
ffb4e719 | 1276 | %{_includedir}/%{pname}/private |
5f2448b2 | 1277 | %{_pkgconfigdir}/ImageMagick-%{mver}.%{abisuf}.pc |
4c6476b7 | 1278 | %{_pkgconfigdir}/ImageMagick.pc |
ffb4e719 | 1279 | %{_pkgconfigdir}/MagickCore-%{mver}.%{abisuf}.pc |
f5206ff1 | 1280 | %{_pkgconfigdir}/MagickCore.pc |
ffb4e719 | 1281 | %{_pkgconfigdir}/MagickWand-%{mver}.%{abisuf}.pc |
f5206ff1 | 1282 | %{_pkgconfigdir}/MagickWand.pc |
2a365d9e | 1283 | %{_mandir}/man1/MagickCore-config.1* |
1284 | %{_mandir}/man1/MagickWand-config.1* | |
647166ab | 1285 | |
130eb51f | 1286 | %files static |
d8a96ea8 | 1287 | %defattr(644,root,root,755) |
ffb4e719 ER |
1288 | %{_libdir}/libMagickCore-%{mver}.%{abisuf}.a |
1289 | %{_libdir}/libMagickWand-%{mver}.%{abisuf}.a | |
130eb51f | 1290 | |
b4c8d5af | 1291 | %files -n perl-%{name} |
276a4e12 | 1292 | %defattr(644,root,root,755) |
ecc9da3d | 1293 | %{perl_vendorarch}/Image/Magick.pm |
8ee30ebe JB |
1294 | %dir %{perl_vendorarch}/Image/Magick |
1295 | %{perl_vendorarch}/Image/Magick/%{abisuf}.pm | |
ac15b7bf | 1296 | %dir %{perl_vendorarch}/auto/Image/Magick |
8ee30ebe JB |
1297 | %dir %{perl_vendorarch}/auto/Image/Magick/%{abisuf} |
1298 | %{perl_vendorarch}/auto/Image/Magick/%{abisuf}/autosplit.ix | |
8ee30ebe | 1299 | %attr(755,root,root) %{perl_vendorarch}/auto/Image/Magick/%{abisuf}/%{abisuf}.so |
ecc9da3d | 1300 | %{_mandir}/man3/Image::Magick.3pm* |
8ee30ebe | 1301 | %{_mandir}/man3/Image::Magick::%{abisuf}.3pm* |
ecc9da3d | 1302 | %{_examplesdir}/%{name}-perl-%{version} |
9b4fe82b | 1303 | |
6219ce3d | 1304 | %if %{with cxx} |
9b4fe82b | 1305 | %files c++ |
1306 | %defattr(644,root,root,755) | |
ffb4e719 | 1307 | %attr(755,root,root) %{_libdir}/libMagick++-%{mver}.%{abisuf}.so.*.*.* |
fa32e604 | 1308 | %attr(755,root,root) %ghost %{_libdir}/libMagick++-%{mver}.%{abisuf}.so.5 |
9b4fe82b | 1309 | |
1310 | %files c++-devel | |
1311 | %defattr(644,root,root,755) | |
1312 | %attr(755,root,root) %{_bindir}/Magick++-config | |
ffb4e719 ER |
1313 | %attr(755,root,root) %{_libdir}/libMagick++-%{mver}.%{abisuf}.so |
1314 | %{_includedir}/%{pname}/Magick++ | |
1315 | %{_includedir}/%{pname}/Magick++.h | |
ffb4e719 | 1316 | %{_pkgconfigdir}/Magick++-%{mver}.%{abisuf}.pc |
f5206ff1 | 1317 | %{_pkgconfigdir}/Magick++.pc |
647166ab | 1318 | %{_mandir}/man1/Magick++-config.1* |
9b4fe82b | 1319 | |
1320 | %files c++-static | |
1321 | %defattr(644,root,root,755) | |
ffb4e719 | 1322 | %{_libdir}/libMagick++-%{mver}.%{abisuf}.a |
160210a7 | 1323 | %endif |