]>
Commit | Line | Data |
---|---|---|
fc0ae217 ER |
1 | # TODO |
2 | # - create sane default policy file: | |
3 | # https://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=26801 | |
e5e5bef8 JB |
4 | # |
5 | # Conditional build: | |
34d1ac08 JB |
6 | # - features: |
7 | %bcond_without cxx # Magick++ library | |
0850bbc5 | 8 | %bcond_without opencl # OpenCL computing support |
327af462 | 9 | %bcond_without openmp # OpenMP computing support |
ed79fc14 ER |
10 | %bcond_with hdri # HDRI support (accurately represent the wide range of intensity levels found in real scenes) |
11 | %bcond_with gs # PostScript support through ghostscript library (warning: breaks jpeg (and possibly tiff) because of symbol clashes!) | |
39dd2729 | 12 | %bcond_without raqm # RAQM support in annotate |
34d1ac08 JB |
13 | # - modules: |
14 | %bcond_without djvu # DJVU module | |
15 | %bcond_without exr # OpenEXR module | |
16 | %bcond_without fpx # FlashPIX module (which uses fpx library) | |
17 | %bcond_without graphviz # dot module (which uses GraphViz libraries) | |
8a335aba | 18 | %bcond_without openjpeg # JPEG2000 module (which uses openjpeg 2 library) |
34d1ac08 | 19 | %bcond_without wmf # WMF module (which uses libwmf library) |
fc0ae217 | 20 | # - module features: |
0850bbc5 | 21 | %bcond_without autotrace # Autotrace support in SVG module |
b4c8d5af | 22 | |
70ba544a | 23 | %define ver 7.0.7 |
09657334 | 24 | %define pver 28 |
dc47b66a | 25 | %include /usr/lib/rpm/macros.perl |
276a4e12 | 26 | Summary: Image display, conversion, and manipulation under X |
ac354810 ER |
27 | Summary(de.UTF-8): Darstellen, Konvertieren und Bearbeiten von Grafiken unter X |
28 | Summary(es.UTF-8): Exhibidor, convertidor y manipulador de imágenes bajo X | |
29 | Summary(fr.UTF-8): Visualisation, conversion, et manipulation d'images sous X | |
30 | Summary(pl.UTF-8): Narzędzie do wyświetlania, konwersji i manipulacji grafikami | |
31 | Summary(pt_BR.UTF-8): Exibidor, conversor e manipulador de imagens sob X | |
32 | Summary(ru.UTF-8): Просмотр, конвертирование, обработка изображений под X Window | |
33 | Summary(tr.UTF-8): X altında resim gösterme, çevirme ve değişiklik yapma | |
34 | Summary(uk.UTF-8): Перегляд, конвертування та обробка зображень під X Window | |
276a4e12 | 35 | Name: ImageMagick |
160210a7 | 36 | Version: %{ver}%{?pver:.%{pver}} |
11ebfea8 | 37 | Release: 1 |
2d5b8f3b | 38 | Epoch: 1 |
0bf3e90c | 39 | License: Apache-like |
276a4e12 | 40 | Group: X11/Applications/Graphics |
8ee30ebe | 41 | Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/%{name}-%{ver}-%{pver}.tar.xz |
09657334 | 42 | # Source0-md5: 15907fe499f0377ff28eeafb5905510a |
b721b050 | 43 | Patch0: config.patch |
152b7a2e | 44 | |
c45c7086 | 45 | Patch2: %{name}-libpath.patch |
2a365d9e | 46 | Patch3: %{name}-ldflags.patch |
ecc9da3d | 47 | Patch4: %{name}-lt.patch |
8dfbf714 | 48 | URL: http://www.imagemagick.org/ |
34d1ac08 | 49 | %{?with_opencl:BuildRequires: OpenCL-devel} |
ecc9da3d | 50 | BuildRequires: OpenEXR-devel >= 1.0.6 |
0850bbc5 JB |
51 | BuildRequires: autoconf >= 2.69 |
52 | BuildRequires: automake >= 1:1.12 | |
53 | %{?with_autotrace:BuildRequires: autotrace-devel >= 0.31.1} | |
34ffabb4 | 54 | BuildRequires: bzip2-devel >= 1.0.1 |
39f40964 | 55 | %{?with_djvu:BuildRequires: djvulibre-devel >= 3.5.0} |
a9ec374b | 56 | BuildRequires: expat-devel >= 1.95.7 |
ecc9da3d | 57 | BuildRequires: fftw3-devel >= 3.0 |
39dd2729 | 58 | BuildRequires: flif-devel |
ecc9da3d | 59 | BuildRequires: fontconfig-devel >= 2.1.0 |
34ffabb4 | 60 | BuildRequires: freetype-devel >= 2.0.2-2 |
327af462 | 61 | %{?with_openmp:BuildRequires: gcc-c++ >= 6:4.2} |
4a67cedc | 62 | BuildRequires: gettext-devel |
6219ce3d | 63 | %{?with_gs:BuildRequires: ghostscript-devel} |
ecc9da3d | 64 | %{?with_graphviz:BuildRequires: graphviz-devel >= 2.9.0} |
b9b1c69a | 65 | BuildRequires: jbigkit-devel |
ecc9da3d | 66 | BuildRequires: lcms2-devel >= 2.0 |
09657334 | 67 | BuildRequires: libde265-devel |
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 |
39dd2729 | 74 | %{?with_raqm:BuildRequires: libraqm-devel} |
ecc9da3d | 75 | BuildRequires: librsvg-devel >= 2.9.0 |
9b4fe82b | 76 | BuildRequires: libstdc++-devel |
b9b1c69a | 77 | BuildRequires: libtiff-devel |
9e665d34 | 78 | BuildRequires: libtool >= 2:2.2 |
7e8a407b | 79 | BuildRequires: libwebp-devel |
8299684a | 80 | %{?with_wmf:BuildRequires: libwmf-devel >= 2:0.2.2} |
48698249 | 81 | BuildRequires: libxml2-devel >= 2.0 |
8a335aba | 82 | %{?with_openjpeg:BuildRequires: openjpeg2-devel >= 2.1.0} |
8c3a04d0 | 83 | BuildRequires: pango-devel >= 1:1.28.1 |
8ee30ebe | 84 | BuildRequires: perl-devel >= 1:5.8.1 |
39f40964 | 85 | BuildRequires: pkgconfig >= 1:0.20 |
b5a2c469 | 86 | BuildRequires: rpm-perlprov >= 4.1-13 |
3b8b118e | 87 | BuildRequires: rpmbuild(macros) >= 1.315 |
ecc9da3d | 88 | BuildRequires: tar >= 1:1.22 |
39f40964 | 89 | # just checked for, actually supplied scripts/txt2html is used |
3dbb1028 | 90 | #BuildRequires: txt2html |
39f40964 JB |
91 | BuildRequires: xorg-lib-libX11-devel |
92 | BuildRequires: xorg-lib-libXext-devel | |
ecc9da3d | 93 | BuildRequires: xz |
0850bbc5 | 94 | BuildRequires: xz-devel >= 2.9.0 |
39f40964 | 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 | |
c18dfde3 | 102 | %if %{!?QuantumDepth:1}%{?QuantumDepth:0} |
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} | |
6bae145e AM |
107 | %define mver 7 |
108 | %define pname ImageMagick-7 | |
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 | |
39f40964 | 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 |
1c3eeb6b | 213 | Requires: zlib-devel |
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} | |
39f40964 | 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 | ||
39dd2729 JB |
480 | %package coder-flif |
481 | Summary: Coder module for FLIF (Free Lossless Image Format) files | |
482 | Summary(pl.UTF-8): Moduł kodera dla plików FLIF (Free Lossless Image Format) | |
483 | Group: X11/Applications/Graphics | |
484 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
485 | ||
486 | %description coder-flif | |
487 | Coder module for FLIF (Free Lossless Image Format) files. | |
488 | ||
489 | %description coder-flif -l pl.UTF-8 | |
490 | Moduł kodera dla plików FLIF (Free Lossless Image Format). | |
491 | ||
1c3eeb6b | 492 | %package coder-fpx |
cd57a8f7 | 493 | Summary: Coder module for FlashPIX (FPX) files |
ac354810 | 494 | Summary(pl.UTF-8): Moduł kodera dla plików FlashPIX (FPX) |
cd57a8f7 | 495 | Group: X11/Applications/Graphics |
d7628cd8 | 496 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c3eeb6b JB |
497 | |
498 | %description coder-fpx | |
cd57a8f7 | 499 | Coder module for FlashPIX (FPX) files. |
1c3eeb6b | 500 | |
a33f7406 JR |
501 | %description coder-fpx -l pl.UTF-8 |
502 | Moduł kodera dla plików FlashPIX (FPX). | |
1c3eeb6b | 503 | |
160210a7 | 504 | %package coder-jbig |
cd57a8f7 | 505 | Summary: Coder module for JBIG files |
ac354810 | 506 | Summary(pl.UTF-8): Moduł kodera dla plików JBIG |
cd57a8f7 | 507 | Group: X11/Applications/Graphics |
d7628cd8 | 508 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
509 | |
510 | %description coder-jbig | |
cd57a8f7 | 511 | Coder module for JBIG files. |
160210a7 | 512 | |
a33f7406 JR |
513 | %description coder-jbig -l pl.UTF-8 |
514 | Moduł kodera dla plików JBIG. | |
160210a7 AF |
515 | |
516 | %package coder-jpeg | |
cd57a8f7 | 517 | Summary: Coder module for JPEG files |
ac354810 | 518 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG |
cd57a8f7 | 519 | Group: X11/Applications/Graphics |
d7628cd8 | 520 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
521 | |
522 | %description coder-jpeg | |
cd57a8f7 | 523 | Coder module for JPEG files. |
160210a7 | 524 | |
a33f7406 JR |
525 | %description coder-jpeg -l pl.UTF-8 |
526 | Moduł kodera dla plików JPEG. | |
160210a7 | 527 | |
1c3eeb6b | 528 | %package coder-jpeg2 |
cd57a8f7 | 529 | Summary: Coder module for JPEG-2000 (JP2/JPC) files using JasPer library |
ac354810 | 530 | Summary(pl.UTF-8): Moduł kodera dla plików JPEG-2000 (JP2/JPC) używający biblioteki JasPer |
cd57a8f7 | 531 | Group: X11/Applications/Graphics |
d7628cd8 | 532 | Requires: %{name} = %{epoch}:%{version}-%{release} |
1c3eeb6b JB |
533 | |
534 | %description coder-jpeg2 | |
cd57a8f7 | 535 | Coder module for JPEG-2000 (JP2/JPC) files using JasPer library. |
1c3eeb6b | 536 | |
a33f7406 JR |
537 | %description coder-jpeg2 -l pl.UTF-8 |
538 | Moduł kodera dla plików JPEG-2000 (JP2/JPC) używajacy biblioteki | |
cd57a8f7 | 539 | JasPer. |
1c3eeb6b | 540 | |
160210a7 | 541 | %package coder-miff |
cd57a8f7 | 542 | Summary: Coder module for MIFF files |
ac354810 | 543 | Summary(pl.UTF-8): Moduł kodera dla plików MIFF |
cd57a8f7 | 544 | Group: X11/Applications/Graphics |
d7628cd8 | 545 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
546 | |
547 | %description coder-miff | |
cd57a8f7 | 548 | Coder module for MIFF files. |
160210a7 | 549 | |
a33f7406 JR |
550 | %description coder-miff -l pl.UTF-8 |
551 | Moduł kodera dla plików MIFF. | |
160210a7 | 552 | |
160210a7 | 553 | %package coder-mpr |
cd57a8f7 | 554 | Summary: Coder module for ImageMagick MPR and MSL files |
ac354810 | 555 | Summary(pl.UTF-8): Moduł kodera dla plików MPR i MSL ImageMagick |
cd57a8f7 | 556 | Group: X11/Applications/Graphics |
d7628cd8 | 557 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
558 | |
559 | %description coder-mpr | |
cd57a8f7 JB |
560 | Coder module for Magick Persistent Registry (MPR) and Magick Scripting |
561 | Language (MSL) files. | |
160210a7 | 562 | |
a33f7406 JR |
563 | %description coder-mpr -l pl.UTF-8 |
564 | Moduł kodera dla plików Magick Persistent Registry (MPR) i Magick | |
cd57a8f7 | 565 | Scripting Language (MSL). |
160210a7 | 566 | |
8c3a04d0 JB |
567 | %package coder-pango |
568 | Summary: Coder module to read pango markup language format | |
569 | Summary(pl.UTF-8): Moduł kodera do odczytu formatu języka znaczników pango | |
570 | Group: X11/Applications/Graphics | |
571 | URL: http://www.imagemagick.org/Usage/text/#pango | |
572 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
573 | ||
574 | %description coder-pango | |
575 | Coder module to read pango markup language format. | |
576 | ||
577 | %description coder-pango -l pl.UTF-8 | |
578 | Moduł kodera do odczytu formatu języka znaczników pango. | |
579 | ||
160210a7 | 580 | %package coder-pdf |
cd57a8f7 | 581 | Summary: Coder module for PDF files |
ac354810 | 582 | Summary(pl.UTF-8): Moduł kodera dla plików PDF |
cd57a8f7 | 583 | Group: X11/Applications/Graphics |
d7628cd8 | 584 | Requires: %{name} = %{epoch}:%{version}-%{release} |
b61830e5 | 585 | Requires: ghostscript |
160210a7 AF |
586 | |
587 | %description coder-pdf | |
cd57a8f7 | 588 | Coder module for PDF files. |
160210a7 | 589 | |
a33f7406 JR |
590 | %description coder-pdf -l pl.UTF-8 |
591 | Moduł kodera dla plików PDF. | |
160210a7 AF |
592 | |
593 | %package coder-png | |
cd57a8f7 | 594 | Summary: Coder module for PNG files |
ac354810 | 595 | Summary(pl.UTF-8): Modul kodera dla plików PNG |
cd57a8f7 | 596 | Group: X11/Applications/Graphics |
d7628cd8 | 597 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
598 | |
599 | %description coder-png | |
cd57a8f7 | 600 | Coder module for PNG files. |
160210a7 | 601 | |
a33f7406 JR |
602 | %description coder-png -l pl.UTF-8 |
603 | Moduł kodera dla plików PNG. | |
160210a7 AF |
604 | |
605 | %package coder-ps2 | |
cd57a8f7 | 606 | Summary: Coder module for Postscript Level II & III (PS2/PS3) files |
ac354810 | 607 | Summary(pl.UTF-8): Moduł kodera dla plików Postscript Level II i III (PS2/PS3) |
cd57a8f7 | 608 | Group: X11/Applications/Graphics |
d7628cd8 | 609 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
610 | |
611 | %description coder-ps2 | |
cd57a8f7 | 612 | Coder module for Postscript Level II & III (PS2/PS3) files. |
160210a7 | 613 | |
a33f7406 JR |
614 | %description coder-ps2 -l pl.UTF-8 |
615 | Moduł kodera dla plików Postscript Level II i III (PS2/PS3). | |
160210a7 AF |
616 | |
617 | %package coder-svg | |
cd57a8f7 | 618 | Summary: Coder module for SVG (Scalable Vector Graphics) files |
ac354810 | 619 | Summary(pl.UTF-8): Moduł kodera dla plików SVG (Scalable Vector Graphics) |
cd57a8f7 | 620 | Group: X11/Applications/Graphics |
d7628cd8 | 621 | Requires: %{name} = %{epoch}:%{version}-%{release} |
ecc9da3d | 622 | Requires: librsvg >= 2.9.0 |
160210a7 AF |
623 | |
624 | %description coder-svg | |
cd57a8f7 | 625 | Coder module for SVG (Scalable Vector Graphics) files. |
160210a7 | 626 | |
a33f7406 JR |
627 | %description coder-svg -l pl.UTF-8 |
628 | Moduł kodera dla plików SVG (Scalable Vector Graphics). | |
160210a7 AF |
629 | |
630 | %package coder-tiff | |
cd57a8f7 | 631 | Summary: Coder module for TIFF files |
ac354810 | 632 | Summary(pl.UTF-8): Moduł kodera dla plików TIFF |
cd57a8f7 | 633 | Group: X11/Applications/Graphics |
d7628cd8 | 634 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
635 | |
636 | %description coder-tiff | |
cd57a8f7 | 637 | Coder module for TIFF files. |
160210a7 | 638 | |
a33f7406 JR |
639 | %description coder-tiff -l pl.UTF-8 |
640 | Moduł kodera dla plików TIFF. | |
160210a7 AF |
641 | |
642 | %package coder-url | |
cd57a8f7 | 643 | Summary: Coder module for retrieving files via URL |
ac354810 | 644 | Summary(pl.UTF-8): Moduł kodera ściągający pliki o podanym URL |
cd57a8f7 | 645 | Group: X11/Applications/Graphics |
d7628cd8 | 646 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
647 | |
648 | %description coder-url | |
cd57a8f7 | 649 | Coder module for retrieving files via URL. |
160210a7 | 650 | |
a33f7406 JR |
651 | %description coder-url -l pl.UTF-8 |
652 | Moduł kodera ściągający pliki o podanym URL. | |
160210a7 | 653 | |
7e8a407b JB |
654 | %package coder-webp |
655 | Summary: Coder module for WebP files | |
656 | Summary(pl.UTF-8): Moduł kodera dla plików WebP | |
657 | Group: X11/Applications/Graphics | |
658 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
659 | ||
660 | %description coder-webp | |
661 | Coder module for WebP files. | |
662 | ||
663 | %description coder-webp -l pl.UTF-8 | |
664 | Moduł kodera dla plików WebP. | |
665 | ||
160210a7 | 666 | %package coder-wmf |
cd57a8f7 | 667 | Summary: Coder module for WMF files |
ac354810 | 668 | Summary(pl.UTF-8): Moduł kodera dla plików WMF |
cd57a8f7 | 669 | Group: X11/Applications/Graphics |
d7628cd8 | 670 | Requires: %{name} = %{epoch}:%{version}-%{release} |
160210a7 AF |
671 | |
672 | %description coder-wmf | |
cd57a8f7 | 673 | Coder module for WMF files. |
160210a7 | 674 | |
a33f7406 JR |
675 | %description coder-wmf -l pl.UTF-8 |
676 | Moduł kodera dla plików WMF. | |
160210a7 | 677 | |
130eb51f | 678 | %prep |
4a1602b4 | 679 | %setup -q -n %{name}-%{ver}-%{pver} |
b721b050 | 680 | %patch0 -p1 |
152b7a2e | 681 | |
c45c7086 | 682 | %patch2 -p1 |
55fb6f9a | 683 | %patch3 -p1 |
ecc9da3d | 684 | %patch4 -p1 |
53e91d85 | 685 | |
ecc9da3d | 686 | find -type f | xargs grep -l '/usr/local/bin/perl' | xargs %{__sed} -i -e 's=!/usr/local/bin/perl=!%{__perl}=' |
160210a7 | 687 | |
3dbb1028 JB |
688 | # avoid rebuilding (broken paths in scripts/Makefile.am) |
689 | touch www/Magick++/NEWS.html www/Magick++/ChangeLog.html | |
690 | ||
130eb51f | 691 | %build |
cd57a8f7 | 692 | %{__libtoolize} |
11fc5e8d | 693 | %{__aclocal} -I m4 |
dc98eb27 | 694 | %{__autoconf} |
11fc5e8d | 695 | %{__autoheader} |
dc98eb27 | 696 | %{__automake} |
cf6eb0f4 | 697 | %configure \ |
f5b1bc9d | 698 | --with-gcc-arch=no \ |
34d1ac08 | 699 | %{!?with_opencl:--disable-opencl} \ |
327af462 | 700 | %{!?with_openmp:--disable-openmp} \ |
ecc9da3d | 701 | --disable-silent-rules \ |
aaa2539c | 702 | --enable-fast-install \ |
87dafea1 | 703 | %{__enable_disable hdri} \ |
e5e5bef8 | 704 | --enable-shared \ |
ecc9da3d | 705 | --enable-static \ |
aaa2539c | 706 | --with-modules \ |
0850bbc5 JB |
707 | --with-autotrace%{!?with_autotrace:=no} \ |
708 | --with-djvu%{!?with_djvu:=no} \ | |
709 | --with-dps=no \ | |
710 | --with-fpx%{!?with_fpx:=no} \ | |
39dd2729 | 711 | --with-gs-font-dir=%{_fontsdir}/Type1 \ |
0850bbc5 JB |
712 | --with-gslib%{!?with_gs:=no} \ |
713 | --with-gvc%{!?with_graphviz:=no} \ | |
0850bbc5 JB |
714 | --with-magick_plus_plus%{!?with_cxx:=no} \ |
715 | --with-openexr%{!?with_exr:=no} \ | |
8a335aba | 716 | --with-openjp2%{!?with_openjpeg:=no} \ |
ac15b7bf | 717 | --with-perl=%{__perl} \ |
718 | --with-perl-options="INSTALLDIRS=vendor" \ | |
aaa2539c | 719 | --with-quantum-depth=%{QuantumDepth} \ |
39dd2729 | 720 | --with-raqm%{!?with_raqm:=no} \ |
94df235f | 721 | --with-rsvg \ |
9b4fe82b | 722 | --with-threads \ |
94df235f | 723 | --with-webp \ |
39dd2729 | 724 | --with-wmf%{!?with_wmf:=no} \ |
94df235f | 725 | --with-x |
790e254e | 726 | |
e93688cd ER |
727 | %{__make} -j1 |
728 | %{__sed} -i -e 's,/%{name}-%{ver}/,/%{name}-doc-%{version}/,' utilities/*.1 | |
130eb51f | 729 | |
730 | %install | |
441e5e4b | 731 | rm -rf $RPM_BUILD_ROOT |
ecc9da3d | 732 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl-%{version} |
9b4fe82b | 733 | |
e93688cd | 734 | %{__make} -j1 install \ |
160210a7 | 735 | DESTDIR=$RPM_BUILD_ROOT \ |
f627d915 | 736 | pkgdocdir=%{_docdir}/%{name}-doc-%{version} |
7792ca23 | 737 | |
94df235f | 738 | # for coders development |
c5aff6cb | 739 | install -d $RPM_BUILD_ROOT%{_includedir}/%{pname}/private/MagickCore |
6bae145e | 740 | cp -p MagickCore/{blob,blob-private,delegate-private,exception-private,image-private,monitor-private,nt-base-private,quantum-private,static,studio}.h \ |
c5aff6cb | 741 | $RPM_BUILD_ROOT%{_includedir}/%{pname}/private/MagickCore |
94df235f | 742 | |
e93688cd | 743 | cp -p PerlMagick/demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl-%{version} |
b51c9300 | 744 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Image/Magick/.packlist |
745 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | |
8ee30ebe | 746 | # packaged as %doc |
ffb4e719 | 747 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{mver}/{ChangeLog,LICENSE,NEWS.txt} |
8ee30ebe JB |
748 | # obsoleted by pkg-config |
749 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
130eb51f | 750 | |
22e1f6ea JB |
751 | %clean |
752 | rm -rf $RPM_BUILD_ROOT | |
753 | ||
c9ee2ace | 754 | %post libs -p /sbin/ldconfig |
f66c5262 | 755 | %postun libs -p /sbin/ldconfig |
130eb51f | 756 | |
9b4fe82b | 757 | %post c++ -p /sbin/ldconfig |
758 | %postun c++ -p /sbin/ldconfig | |
759 | ||
78a44f49 AF |
760 | %files |
761 | %defattr(644,root,root,755) | |
4c6476b7 | 762 | %dir %{modulesdir} |
4c6476b7 | 763 | %dir %{modulesdir}/coders |
4c6476b7 | 764 | %dir %{modulesdir}/filters |
ffb4e719 ER |
765 | %dir %{_datadir}/%{pname} |
766 | %{_datadir}/%{pname}/*.xml | |
767 | %dir %{_sysconfdir}/%{pname} | |
768 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{pname}/*.xml | |
160210a7 AF |
769 | |
770 | # ========= coders without additional deps | |
bb05e5bc | 771 | %attr(755,root,root) %{modulesdir}/coders/aai.so |
772 | %{modulesdir}/coders/aai.la | |
4c6476b7 JB |
773 | %attr(755,root,root) %{modulesdir}/coders/art.so |
774 | %{modulesdir}/coders/art.la | |
4c6476b7 JB |
775 | %attr(755,root,root) %{modulesdir}/coders/avs.so |
776 | %{modulesdir}/coders/avs.la | |
ecc9da3d JB |
777 | %attr(755,root,root) %{modulesdir}/coders/bgr.so |
778 | %{modulesdir}/coders/bgr.la | |
4c6476b7 JB |
779 | %attr(755,root,root) %{modulesdir}/coders/bmp.so |
780 | %{modulesdir}/coders/bmp.la | |
b2000ba5 | 781 | %attr(755,root,root) %{modulesdir}/coders/braille.so |
782 | %{modulesdir}/coders/braille.la | |
2dfcfcd9 | 783 | %attr(755,root,root) %{modulesdir}/coders/cals.so |
784 | %{modulesdir}/coders/cals.la | |
d7628cd8 JB |
785 | %attr(755,root,root) %{modulesdir}/coders/cin.so |
786 | %{modulesdir}/coders/cin.la | |
0878048e JB |
787 | %attr(755,root,root) %{modulesdir}/coders/cip.so |
788 | %{modulesdir}/coders/cip.la | |
d7628cd8 JB |
789 | %attr(755,root,root) %{modulesdir}/coders/clip.so |
790 | %{modulesdir}/coders/clip.la | |
4c6476b7 JB |
791 | %attr(755,root,root) %{modulesdir}/coders/cmyk.so |
792 | %{modulesdir}/coders/cmyk.la | |
793 | %attr(755,root,root) %{modulesdir}/coders/cut.so | |
794 | %{modulesdir}/coders/cut.la | |
795 | %attr(755,root,root) %{modulesdir}/coders/dcm.so | |
796 | %{modulesdir}/coders/dcm.la | |
b2000ba5 | 797 | %attr(755,root,root) %{modulesdir}/coders/dds.so |
798 | %{modulesdir}/coders/dds.la | |
ecc9da3d JB |
799 | %attr(755,root,root) %{modulesdir}/coders/debug.so |
800 | %{modulesdir}/coders/debug.la | |
4c6476b7 JB |
801 | %attr(755,root,root) %{modulesdir}/coders/dib.so |
802 | %{modulesdir}/coders/dib.la | |
e3f9f772 JR |
803 | %attr(755,root,root) %{modulesdir}/coders/dng.so |
804 | %{modulesdir}/coders/dng.la | |
4c6476b7 JB |
805 | %attr(755,root,root) %{modulesdir}/coders/dpx.so |
806 | %{modulesdir}/coders/dpx.la | |
807 | %attr(755,root,root) %{modulesdir}/coders/ept.so | |
808 | %{modulesdir}/coders/ept.la | |
809 | %attr(755,root,root) %{modulesdir}/coders/fax.so | |
810 | %{modulesdir}/coders/fax.la | |
811 | %attr(755,root,root) %{modulesdir}/coders/fits.so | |
812 | %{modulesdir}/coders/fits.la | |
813 | %attr(755,root,root) %{modulesdir}/coders/gif.so | |
814 | %{modulesdir}/coders/gif.la | |
815 | %attr(755,root,root) %{modulesdir}/coders/gradient.so | |
816 | %{modulesdir}/coders/gradient.la | |
817 | %attr(755,root,root) %{modulesdir}/coders/gray.so | |
818 | %{modulesdir}/coders/gray.la | |
2dfcfcd9 | 819 | %attr(755,root,root) %{modulesdir}/coders/hald.so |
820 | %{modulesdir}/coders/hald.la | |
152b7a2e AM |
821 | %attr(755,root,root) %{modulesdir}/coders/heic.so |
822 | %{modulesdir}/coders/heic.la | |
c7e0aeed | 823 | %attr(755,root,root) %{modulesdir}/coders/hdr.so |
824 | %{modulesdir}/coders/hdr.la | |
4c6476b7 JB |
825 | %attr(755,root,root) %{modulesdir}/coders/histogram.so |
826 | %{modulesdir}/coders/histogram.la | |
6db4857f | 827 | %attr(755,root,root) %{modulesdir}/coders/hrz.so |
828 | %{modulesdir}/coders/hrz.la | |
4c6476b7 JB |
829 | %attr(755,root,root) %{modulesdir}/coders/html.so |
830 | %{modulesdir}/coders/html.la | |
831 | %attr(755,root,root) %{modulesdir}/coders/icon.so | |
832 | %{modulesdir}/coders/icon.la | |
623a3795 JB |
833 | %attr(755,root,root) %{modulesdir}/coders/info.so |
834 | %{modulesdir}/coders/info.la | |
0a731e0a AM |
835 | %attr(755,root,root) %{modulesdir}/coders/inline.so |
836 | %{modulesdir}/coders/inline.la | |
324c5093 AM |
837 | %attr(755,root,root) %{modulesdir}/coders/json.so |
838 | %{modulesdir}/coders/json.la | |
e3f9f772 JR |
839 | %attr(755,root,root) %{modulesdir}/coders/ipl.so |
840 | %{modulesdir}/coders/ipl.la | |
75a7c58e ER |
841 | %attr(755,root,root) %{modulesdir}/coders/jnx.so |
842 | %{modulesdir}/coders/jnx.la | |
4c6476b7 JB |
843 | %attr(755,root,root) %{modulesdir}/coders/label.so |
844 | %{modulesdir}/coders/label.la | |
bb05e5bc | 845 | %attr(755,root,root) %{modulesdir}/coders/mac.so |
846 | %{modulesdir}/coders/mac.la | |
4c6476b7 JB |
847 | %attr(755,root,root) %{modulesdir}/coders/magick.so |
848 | %{modulesdir}/coders/magick.la | |
849 | %attr(755,root,root) %{modulesdir}/coders/map.so | |
850 | %{modulesdir}/coders/map.la | |
8ee30ebe JB |
851 | %attr(755,root,root) %{modulesdir}/coders/mask.so |
852 | %{modulesdir}/coders/mask.la | |
4c6476b7 JB |
853 | %attr(755,root,root) %{modulesdir}/coders/mat.so |
854 | %{modulesdir}/coders/mat.la | |
855 | %attr(755,root,root) %{modulesdir}/coders/matte.so | |
856 | %{modulesdir}/coders/matte.la | |
857 | %attr(755,root,root) %{modulesdir}/coders/meta.so | |
858 | %{modulesdir}/coders/meta.la | |
859 | %attr(755,root,root) %{modulesdir}/coders/mono.so | |
860 | %{modulesdir}/coders/mono.la | |
861 | %attr(755,root,root) %{modulesdir}/coders/mpc.so | |
862 | %{modulesdir}/coders/mpc.la | |
863 | %attr(755,root,root) %{modulesdir}/coders/mpeg.so | |
864 | %{modulesdir}/coders/mpeg.la | |
865 | %attr(755,root,root) %{modulesdir}/coders/mtv.so | |
866 | %{modulesdir}/coders/mtv.la | |
867 | %attr(755,root,root) %{modulesdir}/coders/mvg.so | |
868 | %{modulesdir}/coders/mvg.la | |
869 | %attr(755,root,root) %{modulesdir}/coders/null.so | |
870 | %{modulesdir}/coders/null.la | |
871 | %attr(755,root,root) %{modulesdir}/coders/otb.so | |
872 | %{modulesdir}/coders/otb.la | |
873 | %attr(755,root,root) %{modulesdir}/coders/palm.so | |
874 | %{modulesdir}/coders/palm.la | |
875 | %attr(755,root,root) %{modulesdir}/coders/pattern.so | |
876 | %{modulesdir}/coders/pattern.la | |
877 | %attr(755,root,root) %{modulesdir}/coders/pcd.so | |
878 | %{modulesdir}/coders/pcd.la | |
879 | %attr(755,root,root) %{modulesdir}/coders/pcl.so | |
880 | %{modulesdir}/coders/pcl.la | |
881 | %attr(755,root,root) %{modulesdir}/coders/pcx.so | |
882 | %{modulesdir}/coders/pcx.la | |
422ab93d | 883 | %attr(755,root,root) %{modulesdir}/coders/pes.so |
884 | %{modulesdir}/coders/pes.la | |
4c6476b7 JB |
885 | %attr(755,root,root) %{modulesdir}/coders/pdb.so |
886 | %{modulesdir}/coders/pdb.la | |
39dd2729 JB |
887 | %attr(755,root,root) %{modulesdir}/coders/pgx.so |
888 | %{modulesdir}/coders/pgx.la | |
4c6476b7 JB |
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 | |
4c6476b7 JB |
897 | %attr(755,root,root) %{modulesdir}/coders/psd.so |
898 | %{modulesdir}/coders/psd.la | |
899 | %attr(755,root,root) %{modulesdir}/coders/ps.so | |
900 | %{modulesdir}/coders/ps.la | |
901 | %attr(755,root,root) %{modulesdir}/coders/pwp.so | |
902 | %{modulesdir}/coders/pwp.la | |
0878048e JB |
903 | %attr(755,root,root) %{modulesdir}/coders/raw.so |
904 | %{modulesdir}/coders/raw.la | |
4c6476b7 JB |
905 | %attr(755,root,root) %{modulesdir}/coders/rgb.so |
906 | %{modulesdir}/coders/rgb.la | |
c5001b7e AM |
907 | %attr(755,root,root) %{modulesdir}/coders/rgf.so |
908 | %{modulesdir}/coders/rgf.la | |
4c6476b7 JB |
909 | %attr(755,root,root) %{modulesdir}/coders/rla.so |
910 | %{modulesdir}/coders/rla.la | |
911 | %attr(755,root,root) %{modulesdir}/coders/rle.so | |
912 | %{modulesdir}/coders/rle.la | |
d7628cd8 JB |
913 | %attr(755,root,root) %{modulesdir}/coders/scr.so |
914 | %{modulesdir}/coders/scr.la | |
4c6476b7 JB |
915 | %attr(755,root,root) %{modulesdir}/coders/sct.so |
916 | %{modulesdir}/coders/sct.la | |
917 | %attr(755,root,root) %{modulesdir}/coders/sfw.so | |
918 | %{modulesdir}/coders/sfw.la | |
919 | %attr(755,root,root) %{modulesdir}/coders/sgi.so | |
920 | %{modulesdir}/coders/sgi.la | |
324c5093 AM |
921 | %attr(755,root,root) %{modulesdir}/coders/sixel.so |
922 | %{modulesdir}/coders/sixel.la | |
4c6476b7 JB |
923 | %attr(755,root,root) %{modulesdir}/coders/stegano.so |
924 | %{modulesdir}/coders/stegano.la | |
925 | %attr(755,root,root) %{modulesdir}/coders/sun.so | |
926 | %{modulesdir}/coders/sun.la | |
927 | %attr(755,root,root) %{modulesdir}/coders/tga.so | |
928 | %{modulesdir}/coders/tga.la | |
7bf36dd6 AM |
929 | %attr(755,root,root) %{modulesdir}/coders/thumbnail.so |
930 | %{modulesdir}/coders/thumbnail.la | |
4c6476b7 JB |
931 | %attr(755,root,root) %{modulesdir}/coders/tile.so |
932 | %{modulesdir}/coders/tile.la | |
933 | %attr(755,root,root) %{modulesdir}/coders/tim.so | |
934 | %{modulesdir}/coders/tim.la | |
935 | %attr(755,root,root) %{modulesdir}/coders/ttf.so | |
936 | %{modulesdir}/coders/ttf.la | |
937 | %attr(755,root,root) %{modulesdir}/coders/txt.so | |
938 | %{modulesdir}/coders/txt.la | |
939 | %attr(755,root,root) %{modulesdir}/coders/uil.so | |
940 | %{modulesdir}/coders/uil.la | |
941 | %attr(755,root,root) %{modulesdir}/coders/uyvy.so | |
942 | %{modulesdir}/coders/uyvy.la | |
943 | %attr(755,root,root) %{modulesdir}/coders/vicar.so | |
944 | %{modulesdir}/coders/vicar.la | |
945 | %attr(755,root,root) %{modulesdir}/coders/vid.so | |
946 | %{modulesdir}/coders/vid.la | |
947 | %attr(755,root,root) %{modulesdir}/coders/viff.so | |
948 | %{modulesdir}/coders/viff.la | |
324c5093 AM |
949 | %attr(755,root,root) %{modulesdir}/coders/vips.so |
950 | %{modulesdir}/coders/vips.la | |
4c6476b7 JB |
951 | %attr(755,root,root) %{modulesdir}/coders/wbmp.so |
952 | %{modulesdir}/coders/wbmp.la | |
953 | %attr(755,root,root) %{modulesdir}/coders/wpg.so | |
954 | %{modulesdir}/coders/wpg.la | |
955 | %attr(755,root,root) %{modulesdir}/coders/xbm.so | |
956 | %{modulesdir}/coders/xbm.la | |
957 | %attr(755,root,root) %{modulesdir}/coders/xcf.so | |
958 | %{modulesdir}/coders/xcf.la | |
959 | %attr(755,root,root) %{modulesdir}/coders/xc.so | |
960 | %{modulesdir}/coders/xc.la | |
961 | %attr(755,root,root) %{modulesdir}/coders/xpm.so | |
962 | %{modulesdir}/coders/xpm.la | |
b2000ba5 | 963 | %attr(755,root,root) %{modulesdir}/coders/xps.so |
964 | %{modulesdir}/coders/xps.la | |
4c6476b7 JB |
965 | %attr(755,root,root) %{modulesdir}/coders/x.so |
966 | %{modulesdir}/coders/x.la | |
322bf074 AM |
967 | %attr(755,root,root) %{modulesdir}/coders/xtrn.so |
968 | %{modulesdir}/coders/xtrn.la | |
4c6476b7 JB |
969 | %attr(755,root,root) %{modulesdir}/coders/xwd.so |
970 | %{modulesdir}/coders/xwd.la | |
79b3aeb7 | 971 | %attr(755,root,root) %{modulesdir}/coders/ycbcr.so |
972 | %{modulesdir}/coders/ycbcr.la | |
4c6476b7 JB |
973 | %attr(755,root,root) %{modulesdir}/coders/yuv.so |
974 | %{modulesdir}/coders/yuv.la | |
975 | ||
976 | %attr(755,root,root) %{modulesdir}/filters/analyze.so | |
977 | %{modulesdir}/filters/analyze.la | |
276a4e12 | 978 | |
8507ae9c | 979 | %attr(755,root,root) %{_bindir}/animate |
d7628cd8 | 980 | %attr(755,root,root) %{_bindir}/compare |
34ffabb4 | 981 | %attr(755,root,root) %{_bindir}/composite |
160210a7 | 982 | %attr(755,root,root) %{_bindir}/conjure |
2a365d9e | 983 | %attr(755,root,root) %{_bindir}/convert |
8507ae9c | 984 | %attr(755,root,root) %{_bindir}/display |
985 | %attr(755,root,root) %{_bindir}/identify | |
986 | %attr(755,root,root) %{_bindir}/import | |
6bae145e AM |
987 | %attr(755,root,root) %{_bindir}/magick |
988 | %attr(755,root,root) %{_bindir}/magick-script | |
8507ae9c | 989 | %attr(755,root,root) %{_bindir}/mogrify |
990 | %attr(755,root,root) %{_bindir}/montage | |
11fc5e8d JB |
991 | %attr(755,root,root) %{_bindir}/stream |
992 | ||
993 | %{_mandir}/man1/ImageMagick.1* | |
994 | %{_mandir}/man1/animate.1* | |
995 | %{_mandir}/man1/compare.1* | |
996 | %{_mandir}/man1/composite.1* | |
997 | %{_mandir}/man1/convert.1* | |
998 | %{_mandir}/man1/conjure.1* | |
999 | %{_mandir}/man1/display.1* | |
1000 | %{_mandir}/man1/identify.1* | |
1001 | %{_mandir}/man1/import.1* | |
6bae145e AM |
1002 | %{_mandir}/man1/magick.1* |
1003 | %{_mandir}/man1/magick-script.1* | |
11fc5e8d JB |
1004 | %{_mandir}/man1/mogrify.1* |
1005 | %{_mandir}/man1/montage.1* | |
1006 | %{_mandir}/man1/stream.1* | |
130eb51f | 1007 | |
0bf3e90c JB |
1008 | %files doc |
1009 | %defattr(644,root,root,755) | |
b4c8d5af | 1010 | %doc %{_docdir}/%{name}-doc-%{version} |
0bf3e90c | 1011 | |
d7628cd8 JB |
1012 | %files libs |
1013 | %defattr(644,root,root,755) | |
4dc23fed | 1014 | %doc ChangeLog LICENSE AUTHORS.txt |
ffb4e719 | 1015 | %attr(755,root,root) %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so.*.*.* |
152b7a2e | 1016 | %attr(755,root,root) %ghost %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so.5 |
ffb4e719 | 1017 | %attr(755,root,root) %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so.*.*.* |
152b7a2e | 1018 | %attr(755,root,root) %ghost %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so.5 |
42440c78 | 1019 | %dir %{_libdir}/ImageMagick-%{ver} |
8ee30ebe JB |
1020 | %dir %{_libdir}/ImageMagick-%{ver}/config-%{abisuf} |
1021 | %{_libdir}/ImageMagick-%{ver}/config-%{abisuf}/configure.xml | |
d7628cd8 | 1022 | |
9f7fec77 ER |
1023 | %files coder-caption |
1024 | %defattr(644,root,root,755) | |
9f7fec77 ER |
1025 | %attr(755,root,root) %{modulesdir}/coders/caption.so |
1026 | %{modulesdir}/coders/caption.la | |
1027 | ||
3e323b10 | 1028 | %if %{with djvu} |
c59dd847 | 1029 | %files coder-djvu |
3e323b10 JB |
1030 | %defattr(644,root,root,755) |
1031 | # R: djvulibre | |
1032 | %attr(755,root,root) %{modulesdir}/coders/djvu.so | |
1033 | %{modulesdir}/coders/djvu.la | |
1034 | %endif | |
1035 | ||
09657334 | 1036 | %if %{with graphviz} |
d7628cd8 JB |
1037 | %files coder-dot |
1038 | %defattr(644,root,root,755) | |
a9ec374b | 1039 | # R: graphviz, gd |
d7628cd8 JB |
1040 | %attr(755,root,root) %{modulesdir}/coders/dot.so |
1041 | %{modulesdir}/coders/dot.la | |
09657334 | 1042 | %endif |
d7628cd8 | 1043 | |
e3f9f772 JR |
1044 | %if %{with exr} |
1045 | %files coder-exr | |
1046 | %defattr(644,root,root,755) | |
1047 | # R: OpenEXR | |
1048 | %attr(755,root,root) %{modulesdir}/coders/exr.so | |
1049 | %{modulesdir}/coders/exr.la | |
1050 | %endif | |
1051 | ||
39dd2729 JB |
1052 | %files coder-flif |
1053 | %defattr(644,root,root,755) | |
1054 | # R: flif | |
1055 | %attr(755,root,root) %{modulesdir}/coders/flif.so | |
1056 | %{modulesdir}/coders/flif.la | |
1057 | ||
6219ce3d | 1058 | %if %{with fpx} |
1c3eeb6b | 1059 | %files coder-fpx |
1c3eeb6b | 1060 | %defattr(644,root,root,755) |
cd57a8f7 | 1061 | # R: fpx |
4c6476b7 JB |
1062 | %attr(755,root,root) %{modulesdir}/coders/fpx.so |
1063 | %{modulesdir}/coders/fpx.la | |
cd57a8f7 | 1064 | %endif |
1c3eeb6b | 1065 | |
160210a7 | 1066 | %files coder-jbig |
1c3eeb6b | 1067 | %defattr(644,root,root,755) |
cd57a8f7 | 1068 | # R: jbigkit (libjbig.so) |
4c6476b7 JB |
1069 | %attr(755,root,root) %{modulesdir}/coders/jbig.so |
1070 | %{modulesdir}/coders/jbig.la | |
160210a7 AF |
1071 | |
1072 | %files coder-jpeg | |
1c3eeb6b | 1073 | %defattr(644,root,root,755) |
cd57a8f7 | 1074 | # R: libjpeg |
4c6476b7 JB |
1075 | %attr(755,root,root) %{modulesdir}/coders/jpeg.so |
1076 | %{modulesdir}/coders/jpeg.la | |
160210a7 | 1077 | |
8a335aba | 1078 | %if %{with openjpeg} |
1c3eeb6b | 1079 | %files coder-jpeg2 |
1c3eeb6b | 1080 | %defattr(644,root,root,755) |
8a335aba | 1081 | # R: openjpeg2, libjpeg |
4c6476b7 JB |
1082 | %attr(755,root,root) %{modulesdir}/coders/jp2.so |
1083 | %{modulesdir}/coders/jp2.la | |
cd57a8f7 | 1084 | %endif |
1c3eeb6b | 1085 | |
160210a7 | 1086 | %files coder-miff |
1c3eeb6b | 1087 | %defattr(644,root,root,755) |
cd57a8f7 | 1088 | # R: libjpeg, zlib, libbz2 |
4c6476b7 JB |
1089 | %attr(755,root,root) %{modulesdir}/coders/miff.so |
1090 | %{modulesdir}/coders/miff.la | |
160210a7 | 1091 | |
160210a7 | 1092 | %files coder-mpr |
1c3eeb6b | 1093 | %defattr(644,root,root,755) |
cd57a8f7 | 1094 | # R: libxml2 |
4c6476b7 JB |
1095 | %attr(755,root,root) %{modulesdir}/coders/mpr.so |
1096 | %{modulesdir}/coders/mpr.la | |
1097 | %attr(755,root,root) %{modulesdir}/coders/msl.so | |
1098 | %{modulesdir}/coders/msl.la | |
160210a7 | 1099 | |
8c3a04d0 JB |
1100 | %files coder-pango |
1101 | %defattr(644,root,root,755) | |
1102 | # R: cairo, pango | |
1103 | %attr(755,root,root) %{modulesdir}/coders/pango.so | |
1104 | %{modulesdir}/coders/pango.la | |
1105 | ||
160210a7 | 1106 | %files coder-pdf |
1c3eeb6b | 1107 | %defattr(644,root,root,755) |
cd57a8f7 | 1108 | # R: libtiff, libjpeg |
4c6476b7 JB |
1109 | %attr(755,root,root) %{modulesdir}/coders/pdf.so |
1110 | %{modulesdir}/coders/pdf.la | |
160210a7 AF |
1111 | |
1112 | %files coder-png | |
1c3eeb6b | 1113 | %defattr(644,root,root,755) |
cd57a8f7 | 1114 | # R: libpng |
4c6476b7 JB |
1115 | %attr(755,root,root) %{modulesdir}/coders/png.so |
1116 | %{modulesdir}/coders/png.la | |
160210a7 AF |
1117 | |
1118 | %files coder-ps2 | |
1c3eeb6b | 1119 | %defattr(644,root,root,755) |
cd57a8f7 | 1120 | # R: libtiff, libjpeg |
4c6476b7 JB |
1121 | %attr(755,root,root) %{modulesdir}/coders/ps2.so |
1122 | %{modulesdir}/coders/ps2.la | |
1123 | %attr(755,root,root) %{modulesdir}/coders/ps3.so | |
1124 | %{modulesdir}/coders/ps3.la | |
160210a7 AF |
1125 | |
1126 | %files coder-svg | |
1c3eeb6b | 1127 | %defattr(644,root,root,755) |
0850bbc5 | 1128 | # R: libxml2, librsvg, %{?with_autotrace:autotrace} |
4c6476b7 JB |
1129 | %attr(755,root,root) %{modulesdir}/coders/svg.so |
1130 | %{modulesdir}/coders/svg.la | |
160210a7 AF |
1131 | |
1132 | %files coder-tiff | |
1c3eeb6b | 1133 | %defattr(644,root,root,755) |
cd57a8f7 | 1134 | # R: libtiff, libjpeg |
4c6476b7 JB |
1135 | %attr(755,root,root) %{modulesdir}/coders/tiff.so |
1136 | %{modulesdir}/coders/tiff.la | |
160210a7 AF |
1137 | |
1138 | %files coder-url | |
1c3eeb6b | 1139 | %defattr(644,root,root,755) |
cd57a8f7 | 1140 | # R: libxml2 |
4c6476b7 JB |
1141 | %attr(755,root,root) %{modulesdir}/coders/url.so |
1142 | %{modulesdir}/coders/url.la | |
160210a7 | 1143 | |
7e8a407b JB |
1144 | %files coder-webp |
1145 | %defattr(644,root,root,755) | |
1146 | # R: libwebp | |
1147 | %attr(755,root,root) %{modulesdir}/coders/webp.so | |
1148 | %{modulesdir}/coders/webp.la | |
1149 | ||
8299684a | 1150 | %if %{with wmf} |
160210a7 | 1151 | %files coder-wmf |
1c3eeb6b | 1152 | %defattr(644,root,root,755) |
cd57a8f7 | 1153 | # R: libwmf, expat, libjpeg, libpng |
4c6476b7 JB |
1154 | %attr(755,root,root) %{modulesdir}/coders/wmf.so |
1155 | %{modulesdir}/coders/wmf.la | |
8299684a | 1156 | %endif |
160210a7 | 1157 | |
130eb51f | 1158 | %files devel |
276a4e12 | 1159 | %defattr(644,root,root,755) |
f5206ff1 | 1160 | %attr(755,root,root) %{_bindir}/MagickCore-config |
1161 | %attr(755,root,root) %{_bindir}/MagickWand-config | |
ffb4e719 ER |
1162 | %attr(755,root,root) %{_libdir}/libMagickCore-%{mver}.%{abisuf}.so |
1163 | %attr(755,root,root) %{_libdir}/libMagickWand-%{mver}.%{abisuf}.so | |
1164 | %dir %{_includedir}/%{pname} | |
6bae145e AM |
1165 | %{_includedir}/%{pname}/MagickCore |
1166 | %{_includedir}/%{pname}/MagickWand | |
ffb4e719 | 1167 | %{_includedir}/%{pname}/private |
5f2448b2 | 1168 | %{_pkgconfigdir}/ImageMagick-%{mver}.%{abisuf}.pc |
4c6476b7 | 1169 | %{_pkgconfigdir}/ImageMagick.pc |
ffb4e719 | 1170 | %{_pkgconfigdir}/MagickCore-%{mver}.%{abisuf}.pc |
f5206ff1 | 1171 | %{_pkgconfigdir}/MagickCore.pc |
ffb4e719 | 1172 | %{_pkgconfigdir}/MagickWand-%{mver}.%{abisuf}.pc |
f5206ff1 | 1173 | %{_pkgconfigdir}/MagickWand.pc |
2a365d9e | 1174 | %{_mandir}/man1/MagickCore-config.1* |
1175 | %{_mandir}/man1/MagickWand-config.1* | |
647166ab | 1176 | |
130eb51f | 1177 | %files static |
d8a96ea8 | 1178 | %defattr(644,root,root,755) |
ffb4e719 ER |
1179 | %{_libdir}/libMagickCore-%{mver}.%{abisuf}.a |
1180 | %{_libdir}/libMagickWand-%{mver}.%{abisuf}.a | |
130eb51f | 1181 | |
b4c8d5af | 1182 | %files -n perl-%{name} |
276a4e12 | 1183 | %defattr(644,root,root,755) |
ecc9da3d | 1184 | %{perl_vendorarch}/Image/Magick.pm |
8ee30ebe JB |
1185 | %dir %{perl_vendorarch}/Image/Magick |
1186 | %{perl_vendorarch}/Image/Magick/%{abisuf}.pm | |
ac15b7bf | 1187 | %dir %{perl_vendorarch}/auto/Image/Magick |
8ee30ebe JB |
1188 | %dir %{perl_vendorarch}/auto/Image/Magick/%{abisuf} |
1189 | %{perl_vendorarch}/auto/Image/Magick/%{abisuf}/autosplit.ix | |
8ee30ebe | 1190 | %attr(755,root,root) %{perl_vendorarch}/auto/Image/Magick/%{abisuf}/%{abisuf}.so |
ecc9da3d | 1191 | %{_mandir}/man3/Image::Magick.3pm* |
8ee30ebe | 1192 | %{_mandir}/man3/Image::Magick::%{abisuf}.3pm* |
ecc9da3d | 1193 | %{_examplesdir}/%{name}-perl-%{version} |
9b4fe82b | 1194 | |
6219ce3d | 1195 | %if %{with cxx} |
9b4fe82b | 1196 | %files c++ |
1197 | %defattr(644,root,root,755) | |
ffb4e719 | 1198 | %attr(755,root,root) %{_libdir}/libMagick++-%{mver}.%{abisuf}.so.*.*.* |
152b7a2e | 1199 | %attr(755,root,root) %ghost %{_libdir}/libMagick++-%{mver}.%{abisuf}.so.4 |
9b4fe82b | 1200 | |
1201 | %files c++-devel | |
1202 | %defattr(644,root,root,755) | |
1203 | %attr(755,root,root) %{_bindir}/Magick++-config | |
ffb4e719 ER |
1204 | %attr(755,root,root) %{_libdir}/libMagick++-%{mver}.%{abisuf}.so |
1205 | %{_includedir}/%{pname}/Magick++ | |
1206 | %{_includedir}/%{pname}/Magick++.h | |
ffb4e719 | 1207 | %{_pkgconfigdir}/Magick++-%{mver}.%{abisuf}.pc |
f5206ff1 | 1208 | %{_pkgconfigdir}/Magick++.pc |
647166ab | 1209 | %{_mandir}/man1/Magick++-config.1* |
9b4fe82b | 1210 | |
1211 | %files c++-static | |
1212 | %defattr(644,root,root,755) | |
ffb4e719 | 1213 | %{_libdir}/libMagick++-%{mver}.%{abisuf}.a |
160210a7 | 1214 | %endif |