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