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