1 %include /usr/lib/rpm/macros.perl
2 Summary: Image display, conversion, and manipulation under X
3 Summary(de): Darstellen, Konvertieren und Bearbeiten von Grafiken unter X
4 Summary(fr): Visualisation, conversion, et manipulation d'images sous X
5 Summary(pl): Narzêdzie do wy¶wietlania, konwersji i manipulacji grafikami
6 Summary(tr): X altýnda resim gösterme, çevirme ve deðiþiklik yapma
12 Group: X11/Applications/Graphics
13 Group(de): X11/Applikationen/Grafik
14 Group(pl): X11/Aplikacje/Grafika
15 Group(pt): X11/Aplicações/Gráficos
16 Source0: ftp://ftp.simplesystems.org/pub/ImageMagick/%{name}-%{version}.tar.gz
17 Patch0: %{name}-libpath.patch
18 Patch1: %{name}-perlpaths.patch
19 Patch2: %{name}-DESTDIR.patch
20 Patch3: %{name}-amfix.patch
21 Patch4: %{name}-libwmf.patch
22 URL: http://www.imagemagick.org/
23 BuildRequires: rpm-perlprov >= 3.0.3-18
24 BuildRequires: bzip2-devel >= 1.0.1
25 BuildRequires: freetype-devel >= 2.0.2-2
26 BuildRequires: jbigkit-devel
27 BuildRequires: libjpeg-devel
28 BuildRequires: libplot-devel
29 BuildRequires: libpng >= 1.0.8
30 BuildRequires: libstdc++-devel
31 BuildRequires: libtiff-devel
32 BuildRequires: libtool
33 BuildRequires: libwmf-devel >= 0.2.0
34 BuildRequires: libxml2-devel >= 2.0
35 BuildRequires: mpeg2dec-devel
36 BuildRequires: perl-devel >= 5.6.1
37 BuildRequires: XFree86-devel
38 BuildRequires: XFree86-DPS-devel
39 #BuildRequires: fpx-devel
40 #BuildRequires: hdf5-devel
41 #BuildRequires: jasper-devel
42 #BuildRequires: lcms-devel
43 BuildRequires: autoconf
44 BuildRequires: automake >= 1.4d
45 Requires: %{name}-libs = %{version}
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 %define _prefix /usr/X11R6
49 %define _mandir %{_prefix}/man
50 %define _includedir %{_prefix}/include/X11
51 %define _perlmandir /usr/share/man
54 ImageMagick is an image display, conversion, and manipulation tool. It
55 runs under X windows. It is very powerful in terms of it's ability to
56 allow the user to edit images. It can handle many different formats as
60 ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und
61 manipulation, -das unter X-Windows läuft. Es ist enorm leitungsfähig
62 in Bezug auf die Grafikmanipulationsfunktionen, die es dem Anwender
63 bietet, und auf die Vielfalt der unterstützten Formate.
66 ImageMagick est un outil d'affichage, de conversion et de manipulation
67 d'images. Il tourne sous X Window et est très puissant en termes de
68 capacité d'édition des images. Il peut aussi gérer de nombreux formats
72 ImageMagick jest narzêdziem do manipulacji, konwersji i wy¶wietlania.
73 W sk³ad pakietu wchodz± zarówno narzêdzia X Window jak i do u¿ywania z
74 linii poleceñ umo¿liwiaj±ce edycjê plików graficznych. Narzêdzia z
75 pakietu ImageMagick potrafi± obs³u¿yæ wiele ró¿nych formatów
79 ImageMagick bir resim gösterme, çevirme ve deðiþiklik yapma
80 programýdýr. X Window pencereleme sistemi altýnda çalýþýr. Kullanýcýya
81 resimler üzerinde deðiþiklik yapma açýsýndan pek çok olanak sunar. Bir
82 çok resim biçimini rahatlýkla kullanabilir.
85 Summary: Libraries and header files for ImageMagick development
86 Summary(pl): Biblioteki i pliki nag³ówkowe dla ImageMagick
87 Group: X11/Development/Libraries
88 Group(de): X11/Entwicklung/Libraries
89 Group(es): X11/Desarrollo/Bibliotecas
90 Group(fr): X11/Development/Librairies
91 Group(pl): X11/Programowanie/Biblioteki
92 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
93 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
94 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
95 Requires: %{name} = %{version}
96 Requires: jbigkit-devel
99 This is the ImageMagick development package. It includes header files
100 for use in developing your own applications that make use of the
101 ImageMagick code and/or APIs.
103 %description -l de devel
104 Dies ist das ImageMagick-Entwicklerpaket. Es enthält Header-Dateien
105 zum Entwickeln von Anwendungen, die ImageMagick-Code und/oder -APIs
108 %description -l fr devel
109 Paquetage de développement ImageMagick. Contient les bibliothèques
110 statiques et les en-têtes utilisés pour créer vos propres applications
111 utilisant le code d'ImageMagick et/ou ses APIs.
113 %description -l pl devel
114 Pakiet ten zawieraja pliki potrzebne przy kompilowaniu programów
115 wykorzystuj±cych blibliotekê ImageMagick takie jak pliki nag³ówkowe i
116 dokumentacjê niezbêdn± przy pisaniu w³asnych programów z
117 wykorzystaniem API jakie udostêpnia ImageMagick.
119 %description -l tr devel
120 Bu paket, ImageMagick uygulama arayüzünü kullanan programlar
121 geliþtirmek için gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
124 Summary: ImageMagick static libraries
125 Summary(pl): Biblioteki statyczne ImageMagick
126 Group: X11/Development/Libraries
127 Group(de): X11/Entwicklung/Libraries
128 Group(es): X11/Desarrollo/Bibliotecas
129 Group(fr): X11/Development/Librairies
130 Group(pl): X11/Programowanie/Biblioteki
131 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
132 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
133 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
134 Requires: %{name}-devel = %{version}
137 ImageMagick static libraries.
139 %description -l pl static
140 Biblioteki statyczne ImageMagick.
143 Summary: Libraries and modules for access to ImageMagick from perl
144 Summary(pl): Biblioteki i modu³y perla dla ImageMagick
145 Group: Development/Languages/Perl
146 Group(de): Entwicklung/Sprachen/Perl
147 Group(pl): Programowanie/Jêzyki/Perl
148 Requires: %{name}-libs = %{version}
151 This is the ImageMagick perl support package. It perl modules and
152 support files for access to ImageMagick library from perl without
153 unuseful forking or such.
155 %description -l pl perl
156 Biblioteki i modu³y umo¿liwiaj±ce korzystanie z ImageMagick z poziomu
160 Summary: ImageMagick libraries
161 Summary(pl): Biblioteki ImageMagick
163 Group(de): X11/Libraries
164 Group(es): X11/Bibliotecas
165 Group(fr): X11/Librairies
166 Group(pl): X11/Biblioteki
167 Group(pt_BR): X11/Bibliotecas
168 Group(ru): X11/âÉÂÌÉÏÔÅËÉ
169 Group(uk): X11/â¦Â̦ÏÔÅËÉ
172 ImageMagick libraries.
174 %description -l pl libs
175 Biblioteki ImageMagick.
178 Summary: ImageMagick Magick++ library
179 Summary(pl): Biblioteka Magick++
181 Group(de): X11/Libraries
182 Group(es): X11/Bibliotecas
183 Group(fr): X11/Librairies
184 Group(pl): X11/Biblioteki
185 Group(pt_BR): X11/Bibliotecas
186 Group(ru): X11/âÉÂÌÉÏÔÅËÉ
187 Group(uk): X11/â¦Â̦ÏÔÅËÉ
188 Requires: %{name}-libs = %{version}
191 This package contains the Magick++ library, a C++ binding to the
192 ImageMagick graphics manipulation library.
194 Install ImageMagick-c++ if you want to use any applications that use
197 %description -l pl c++
198 Pakiet zawiera bibliotekê Magick++ - interfejs w C++ do biblioteki
199 ImageMagick. Jest potrzebny do uruchamiania programów korzystaj±cych z
203 Summary: C++ bindings for the ImageMagick library
204 Summary(pl): Pliki nag³ówkowe z interfejsem C++ do ImageMagick
205 Group: X11/Development/Libraries
206 Group(de): X11/Entwicklung/Libraries
207 Group(es): X11/Desarrollo/Bibliotecas
208 Group(fr): X11/Development/Librairies
209 Group(pl): X11/Programowanie/Biblioteki
210 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
211 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
212 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
213 Requires: %{name}-c++ = %{version}
214 Requires: %{name}-devel = %{version}
216 %description c++-devel
217 ImageMagick-c++-devel contains header files you'll need to develop
218 ImageMagick applications using the Magick++ C++ bindings. ImageMagick
219 is an image manipulation program.
221 If you want to create applications that will use Magick++ code or
222 APIs, you'll need to install ImageMagick-c++-devel, ImageMagick-devel
223 and ImageMagick. You don't need to install it if you just want to use
224 ImageMagick, or if you want to develop/compile applications using the
225 ImageMagick C interface, however.
227 %description -l pl c++-devel
228 Pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania programów
229 korzystaj±cych z Magick++.
232 Summary: C++ bindings for the ImageMagick - static library
233 Summary(pl): Interfejs C++ do ImageMagick - biblioteka statyczna
234 Group: X11/Development/Libraries
235 Group(de): X11/Entwicklung/Libraries
236 Group(es): X11/Desarrollo/Bibliotecas
237 Group(fr): X11/Development/Librairies
238 Group(pl): X11/Programowanie/Biblioteki
239 Group(pt_BR): X11/Desenvolvimento/Bibliotecas
240 Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
241 Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
242 Requires: %{name}-c++-devel = %{version}
243 Requires: %{name}-devel = %{version}
245 %description c++-static
246 C++ bindings for the ImageMagick - static library.
248 %description -l pl c++-static
249 Biblioteka Magick++ w wersji statycznej.
259 # fix lcms.h include path
260 perl -pi -e 's@lcms/lcms\.h@lcms.h@' magick/transform.c
261 perl -pi -e 's@lcms/lcms\.h@lcms.h@' configure.ac
264 libtoolize --copy --force
271 --enable-16bit-pixel \
277 --with-magick_plus_plus
280 %{__make} -C Magick++
283 rm -rf $RPM_BUILD_ROOT
284 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl
287 DESTDIR=$RPM_BUILD_ROOT
289 install PerlMagick/demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl
294 rm -rf $RPM_BUILD_ROOT
296 %post libs -p /sbin/ldconfig
297 %postun libs -p /sbin/ldconfig
299 %post c++ -p /sbin/ldconfig
300 %postun c++ -p /sbin/ldconfig
303 %defattr(644,root,root,755)
304 %attr(755,root,root) %{_libdir}/libMagick.so.*.*
307 %defattr(644,root,root,755)
308 %dir %{_datadir}/ImageMagick
309 %{_datadir}/ImageMagick/*.mgk
310 %dir %{_libdir}/ImageMagick
311 %{_libdir}/ImageMagick/*.mgk
313 %attr(755,root,root) %{_bindir}/animate
314 #%attr(755,root,root) %{_bindir}/cgimagick
315 %attr(755,root,root) %{_bindir}/composite
316 %attr(755,root,root) %{_bindir}/convert
317 %attr(755,root,root) %{_bindir}/display
318 %attr(755,root,root) %{_bindir}/identify
319 %attr(755,root,root) %{_bindir}/import
320 #%attr(755,root,root) %{_bindir}/iptcutil
321 %attr(755,root,root) %{_bindir}/mogrify
322 %attr(755,root,root) %{_bindir}/montage
324 %{_mandir}/man1/[Iacdim]*
327 %defattr(644,root,root,755)
328 %doc images www ImageMagick.html README.txt.gz
330 %attr(755,root,root) %{_bindir}/Magick-config
331 %attr(755,root,root) %{_libdir}/libMagick.so
332 %attr(755,root,root) %{_libdir}/libMagick.la
333 %{_includedir}/magick
336 %{_mandir}/man1/Magick-config.1*
339 %defattr(644,root,root,755)
340 %{_libdir}/libMagick.a
343 %defattr(644,root,root,755)
344 %{perl_sitearch}/Image
345 %dir %{perl_sitearch}/auto/Image
346 %dir %{perl_sitearch}/auto/Image/Magick
347 %{perl_sitearch}/auto/Image/Magick/autosplit.ix
348 %{perl_sitearch}/auto/Image/Magick/Magick.bs
349 %attr(755,root,root) %{perl_sitearch}/auto/Image/Magick/Magick.so
350 %{_perlmandir}/man3/Image::Magick.*
351 %{_examplesdir}/%{name}-perl
354 %defattr(644,root,root,755)
355 %attr(755,root,root) %{_libdir}/libMagick++.so.*.*
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_bindir}/Magick++-config
360 %attr(755,root,root) %{_libdir}/libMagick++.la
361 %attr(755,root,root) %{_libdir}/libMagick++.so
362 %{_prefix}/include/Magick++
363 %{_prefix}/include/Magick++.h
364 %{_mandir}/man1/Magick++-config.1*
367 %defattr(644,root,root,755)
368 %{_libdir}/libMagick++.a