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