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