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