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