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 Source0: ftp://ftp.simplesystems.org/pub/ImageMagick/%{name}-%{version}.tar.gz
16 Patch0: %{name}-libpath.patch
17 Patch1: %{name}-perlpaths.patch
18 Patch2: %{name}-delegates-destdir.patch
19 URL: http://www.imagemagick.org/
20 BuildRequires: perl => 5.6
21 BuildRequires: rpm-perlprov >= 3.0.3-18
22 BuildRequires: XFree86-devel
23 BuildRequires: XFree86-DPS-devel
24 BuildRequires: libjpeg-devel
25 BuildRequires: libtiff-devel
26 BuildRequires: libpng >= 1.0.8
27 BuildRequires: libstdc++-devel
28 BuildRequires: zlib-devel
29 BuildRequires: bzip2-devel >= 1.0.1
30 BuildRequires: freetype-devel >= 2.0.2-2
31 BuildRequires: libwmf-devel
32 #BuildRequires: libxml2-devel >= 2.0
33 #BuildRequires: lcms-devel
34 #BuildRequires: fpx-devel
35 #BuildRequires: hdf-devel
36 #BuildRequires: jbigkit-devel
37 BuildRequires: autoconf
38 BuildRequires: automake
39 Requires: %{name}-libs = %{version}
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define _prefix /usr/X11R6
43 %define _mandir %{_prefix}/man
44 %define _includedir %{_prefix}/include/X11
45 %define _perlmandir /usr/share/man
48 ImageMagick is an image display, conversion, and manipulation tool. It
49 runs under X windows. It is very powerful in terms of it's ability to
50 allow the user to edit images. It can handle many different formats as
54 ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und
55 manipulation, -das unter X-Windows läuft. Es ist enorm leitungsfähig
56 in Bezug auf die Grafikmanipulationsfunktionen, die es dem Anwender
57 bietet, und auf die Vielfalt der unterstützten Formate.
60 ImageMagick est un outil d'affichage, de conversion et de manipulation
61 d'images. Il tourne sous X Window et est très puissant en termes de
62 capacité d'édition des images. Il peut aussi gérer de nombreux formats
66 ImageMagick jest narzêdziem do manipulacji, konwersji i wy¶wietlania. W
67 sk³ad pakietu wchodz± zarówno narzêdzia X Window jak i do u¿ywania z
68 linii poleceñ umo¿liwiaj±ce edycjê plików graficznych. Narzêdzia z
69 pakietu ImageMagick potrafi± obs³u¿yæ wiele ró¿nych formatów
73 ImageMagick bir resim gösterme, çevirme ve deðiþiklik yapma
74 programýdýr. X Window pencereleme sistemi altýnda çalýþýr. Kullanýcýya
75 resimler üzerinde deðiþiklik yapma açýsýndan pek çok olanak sunar. Bir
76 çok resim biçimini rahatlýkla kullanabilir.
79 Summary: Libraries and header files for ImageMagick development
80 Summary(pl): Biblioteki i pliki nag³ówkowe dla ImageMagick
81 Group: X11/Development/Libraries
82 Group(de): X11/Entwicklung/Libraries
83 Group(pl): X11/Programowanie/Biblioteki
84 Requires: %{name} = %{version}
87 This is the ImageMagick development package. It includes header files
88 for use in developing your own applications that make use of the
89 ImageMagick code and/or APIs.
91 %description -l de devel
92 Dies ist das ImageMagick-Entwicklerpaket. Es enthält Header-Dateien zum
93 Entwickeln von Anwendungen, die ImageMagick-Code und/oder -APIs nutzen.
95 %description -l fr devel
96 Paquetage de développement ImageMagick. Contient les bibliothèques
97 statiques et les en-têtes utilisés pour créer vos propres applications
98 utilisant le code d'ImageMagick et/ou ses APIs.
100 %description -l pl devel
101 Pakiet ten zawieraja pliki potrzebne przy kompilowaniu programów
102 wykorzystuj±cych blibliotekê ImageMagick takie jak pliki nag³ówkowe
103 i dokumentacjê niezbêdn± przy pisaniu w³asnych programów
104 z wykorzystaniem API jakie udostêpnia ImageMagick.
106 %description -l tr devel
107 Bu paket, ImageMagick uygulama arayüzünü kullanan programlar
108 geliþtirmek için gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
111 Summary: ImageMagick static libraries
112 Summary(pl): Biblioteki statyczne ImageMagick
113 Group: X11/Development/Libraries
114 Group(de): X11/Entwicklung/Libraries
115 Group(pl): X11/Programowanie/Biblioteki
116 Requires: %{name}-devel = %{version}
119 ImageMagick static libraries.
121 %description -l pl devel
122 Biblioteki statyczne ImageMagick.
125 Summary: libraries and modules for access to ImageMagick from perl
126 Summary(pl): Biblioteki i modu³y perl dla ImageMagick
127 Group: Development/Languages/Perl
128 Group(de): Entwicklung/Sprachen/Perl
129 Group(pl): Programowanie/Jêzyki/Perl
130 Requires: %{name}-libs = %{version}
131 Requires: %{perl_sitearch}
135 This is the ImageMagick perl support package. It perl modules and
136 support files for access to ImageMagick library from perl without
137 unuseful forking or such.
139 %description -l pl perl
140 Biblioteki i modu³y umo¿liwiaj±ce korzystanie z ImageMagick z
144 Summary: ImageMagick libraries
145 Summary(pl): Biblioteki ImageMagick
147 Group(de): X11/Libraries
148 Group(pl): X11/Biblioteki
151 ImageMagick libraries.
153 %description -l pl libs
154 Biblioteki ImageMagick.
157 Summary: ImageMagick Magick++ library
158 Summary(pl): Biblioteka Magick++
160 Group(de): X11/Libraries
161 Group(pl): X11/Biblioteki
162 Requires: %{name}-libs = %{version}
165 This package contains the Magick++ library, a C++ binding to the
166 ImageMagick graphics manipulation library.
168 Install ImageMagick-c++ if you want to use any applications that use
171 %description -l pl c++
172 Pakiet zawiera bibliotekê Magick++ - interfejs w C++ do biblioteki
173 ImageMagick. Jest potrzebny do uruchamiania programów korzystaj±cych
177 Summary: C++ bindings for the ImageMagick library
178 Summary(pl): Pliki nag³ówkowe z interfejsem C++ do ImageMagick
179 Group: X11/Development/Libraries
180 Group(de): X11/Entwicklung/Libraries
181 Group(pl): X11/Programowanie/Biblioteki
182 Requires: %{name}-c++ = %{version}
183 Requires: %{name}-devel = %{version}
185 %description c++-devel
186 ImageMagick-c++-devel contains header files you'll need to develop
187 ImageMagick applications using the Magick++ C++ bindings. ImageMagick
188 is an image manipulation program.
190 If you want to create applications that will use Magick++ code or
191 APIs, you'll need to install ImageMagick-c++-devel, ImageMagick-devel
192 and ImageMagick. You don't need to install it if you just want to use
193 ImageMagick, or if you want to develop/compile applications using the
194 ImageMagick C interface, however.
196 %description -l pl c++-devel
197 Pakiet zawiera pliki nag³ówkowe potrzebne do kompilowania programów
198 korzystaj±cych z Magick++.
201 Summary: C++ bindings for the ImageMagick - static library
202 Summary(pl): Interfejs C++ do ImageMagick - biblioteka statyczna
203 Group: X11/Development/Libraries
204 Group(de): X11/Entwicklung/Libraries
205 Group(pl): X11/Programowanie/Biblioteki
206 Requires: %{name}-c++-devel = %{version}
207 Requires: %{name}-devel = %{version}
209 %description c++-static
210 C++ bindings for the ImageMagick - static library.
212 %description -l pl c++-static
213 Biblioteka Magick++ w wersji statycznej.
222 perl -pi -e 's@htmlc\.@html.c@' coders/Makefile.am
223 # fix lcms.h include path
224 perl -pi -e 's@lcms/lcms\.h@lcms.h@' magick/transform.c
233 --enable-16bit-pixel \
238 --with-magick_plus_plus
241 %{__make} -C Magick++
244 rm -rf $RPM_BUILD_ROOT
245 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl
248 DESTDIR=$RPM_BUILD_ROOT
250 install PerlMagick/demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl
254 %post libs -p /sbin/ldconfig
255 %postun libs -p /sbin/ldconfig
257 %post c++ -p /sbin/ldconfig
258 %postun c++ -p /sbin/ldconfig
261 rm -rf $RPM_BUILD_ROOT
264 %defattr(644,root,root,755)
265 %attr(755,root,root) %{_libdir}/libMagick.so.*.*
268 %defattr(644,root,root,755)
269 %dir %{_datadir}/ImageMagick
270 %{_datadir}/ImageMagick/*.mgk
271 %dir %{_libdir}/ImageMagick
272 %{_libdir}/ImageMagick/*.mgk
274 %attr(755,root,root) %{_bindir}/animate
275 %attr(755,root,root) %{_bindir}/combine
276 %attr(755,root,root) %{_bindir}/convert
277 %attr(755,root,root) %{_bindir}/display
278 %attr(755,root,root) %{_bindir}/identify
279 %attr(755,root,root) %{_bindir}/import
280 %attr(755,root,root) %{_bindir}/mogrify
281 %attr(755,root,root) %{_bindir}/montage
283 %{_mandir}/man1/[Iacdim]*
286 %defattr(644,root,root,755)
287 %doc images www ImageMagick.html README.txt.gz
289 %attr(755,root,root) %{_bindir}/Magick-config
290 %attr(755,root,root) %{_libdir}/libMagick.so
291 %attr(755,root,root) %{_libdir}/libMagick.la
292 %{_includedir}/magick
295 %{_mandir}/man1/Magick-config.1*
298 %defattr(644,root,root,755)
299 %{_libdir}/libMagick.a
302 %defattr(644,root,root,755)
303 %{perl_sitearch}/Image
304 %dir %{perl_sitearch}/auto/Image
305 %dir %{perl_sitearch}/auto/Image/Magick
306 %{perl_sitearch}/auto/Image/Magick/autosplit.ix
307 %{perl_sitearch}/auto/Image/Magick/Magick.bs
308 %attr(755,root,root) %{perl_sitearch}/auto/Image/Magick/Magick.so
309 %{_perlmandir}/man3/Image::Magick.*
310 %{_examplesdir}/%{name}-perl
313 %defattr(644,root,root,755)
314 %attr(755,root,root) %{_libdir}/libMagick++.so.*.*
317 %defattr(644,root,root,755)
318 %attr(755,root,root) %{_bindir}/Magick++-config
319 %attr(755,root,root) %{_libdir}/libMagick++.la
320 %attr(755,root,root) %{_libdir}/libMagick++.so
321 %{_prefix}/include/Magick++
322 %{_prefix}/include/Magick++.h
323 %{_mandir}/man1/Magick++-config.1*
326 %defattr(644,root,root,755)
327 %{_libdir}/libMagick++.a