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