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