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 URL: http://www.simplesystems.org/ImageMagick/
19 BuildRequires: perl => 5.6
20 BuildRequires: rpm-perlprov >= 3.0.3-18
21 BuildRequires: XFree86-devel
22 BuildRequires: libjpeg-devel
23 BuildRequires: libtiff-devel
24 BuildRequires: libpng >= 1.0.8
25 BuildRequires: libstdc++-devel
26 BuildRequires: zlib-devel
27 BuildRequires: bzip2-devel >= 1.0.1
28 BuildRequires: freetype-devel
29 Requires: %{name}-libs = %{version}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _prefix /usr/X11R6
33 %define _mandir %{_prefix}/man
34 %define _includedir %{_prefix}/include/X11
35 %define _perlmandir /usr/share/man
38 ImageMagick is an image display, conversion, and manipulation tool. It
39 runs under X windows. It is very powerful in terms of it's ability to
40 allow the user to edit images. It can handle many different formats as
44 ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und
45 manipulation, -das unter X-Windows läuft. Es ist enorm leitungsfähig
46 in Bezug auf die Grafikmanipulationsfunktionen, die es dem Anwender
47 bietet, und auf die Vielfalt der unterstützten Formate.
50 ImageMagick est un outil d'affichage, de conversion et de manipulation
51 d'images. Il tourne sous X Window et est très puissant en termes de
52 capacité d'édition des images. Il peut aussi gérer de nombreux formats
56 ImageMagic jest narzêdziem do manipulacji, konwersji i wy¶wietlania. W
57 sk³ad pakietu wchodz± zarówno narzêdzia X Window jak i do u¿ywania z
58 linii poleceñ umo¿liwiaj±ce edycjê plików graficznych. Narzêdzia z
59 pakietu ImageMagic potrafi± obs³u¿yæ wiele ró¿ncyh formatów
63 ImageMagick bir resim gösterme, çevirme ve deðiþiklik yapma
64 programýdýr. X Window pencereleme sistemi altýnda çalýþýr. Kullanýcýya
65 resimler üzerinde deðiþiklik yapma açýsýndan pek çok olanak sunar. Bir
66 çok resim biçimini rahatlýkla kullanabilir.
69 Summary: Libraries and header files for ImageMagick development
70 Summary(pl): Biblioteki i pliki nag³ówkowe dla ImageMagick'a
71 Group: X11/Development/Libraries
72 Group(de): X11/Entwicklung/Libraries
73 Group(pl): X11/Programowanie/Biblioteki
74 Requires: %{name} = %{version}
77 This is the ImageMagick development package. It includes the static
78 libraries and header files for use in developing your own applications
79 that make use of the ImageMagick code and/or APIs.
81 %description -l de devel
82 Dies ist das ImageMagick-Entwicklerpaket. Es enthält die statischen
83 Libraries und Header-Dateien zum Entwickeln von Anwendungen, die
84 ImageMagick-Code und/oder -APIs nutzen.
86 %description -l fr devel
87 Paquetage de développement ImageMagick. Contient les bibliothèques
88 statiques et les en-têtes utilisés pour créer vos propres applications
89 utilisant le code d'ImageMagick et/ou ses APIs.
91 %description -l pl devel
92 Pakiet ten zawieraja pliki potrzebne przy kompilowaniu programów
93 wykorzystuj±cych blibliotekê ImageMagick takie jak pliki nag³ówkowe,
94 biblioteki statyczne i dokumentacjê niezbêdn± przy pisaniu w³asnych
95 programów z wykorzystaniem API jakie udostêpnia ImageMagick.
97 %description -l tr devel
98 Bu paket, ImageMagick uygulama arayüzünü kullanan programlar
99 geliþtirmek için gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
102 Summary: ImageMagick static libraries
103 Summary(pl): Biblioteki statyczne ImageMagick
104 Group: X11/Development/Libraries
105 Group(de): X11/Entwicklung/Libraries
106 Group(pl): X11/Programowanie/Biblioteki
107 Requires: %{name}-devel = %{version}
110 ImageMagick static libraries.
112 %description -l pl devel
113 Biblioteki statyczne ImageMagick.
116 Summary: libraries and modules for access to ImageMagick from perl
117 Summary(pl): Biblioteki i modu³y perl dla ImageMagick'a
118 Group: Development/Languages/Perl
119 Group(de): Entwicklung/Sprachen/Perl
120 Group(pl): Programowanie/Jêzyki/Perl
121 Requires: %{name}-libs = %{version}
122 Requires: %{perl_sitearch}
126 This is the ImageMagick perl support package. It perl modules and
127 support files for access to ImageMagick library from perl without
128 unuseful forking or such.
130 %description -l pl perl
131 Biblioteki i modu³y umo¿liwiaj±ce korzystanie z ImageMagick'a z
135 Summary: ImageMagick libraries
136 Summary(pl): Biblioteki ImageMagick
138 Group(de): X11/Libraries
139 Group(pl): X11/Biblioteki
142 ImageMagick libraries.
144 %description -l pl libs
145 Biblioteki ImageMagick.
148 Summary: ImageMagick Magick++ library
150 Group(de): X11/Libraries
151 Group(pl): X11/Biblioteki
152 Requires: %{name}-libs = %{version}
155 This package contains the Magick++ library, a C++ binding to the
156 ImageMagick graphics manipulation library.
158 Install ImageMagick-c++ if you want to use any applications that use
162 Summary: C++ bindings for the ImageMagick library
163 Group: X11/Development/Libraries
164 Group(de): X11/Entwicklung/Libraries
165 Group(pl): X11/Programowanie/Biblioteki
166 Requires: %{name}-c++ = %{version}
167 Requires: %{name}-devel = %{version}
169 %description c++-devel
170 ImageMagick-devel contains the static libraries and header files
171 you'll need to develop ImageMagick applications using the Magick++ C++
172 bindings. ImageMagick is an image manipulation program.
174 If you want to create applications that will use Magick++ code or
175 APIs, you'll need to install ImageMagick-c++-devel, ImageMagick-devel
176 and ImageMagick. You don't need to install it if you just want to use
177 ImageMagick, or if you want to develop/compile applications using the
178 ImageMagick C interface, however.
181 Summary: C++ bindings for the ImageMagick - static library
182 Group: X11/Development/Libraries
183 Group(de): X11/Entwicklung/Libraries
184 Group(pl): X11/Programowanie/Biblioteki
185 Requires: %{name}-c++-devel = %{version}
186 Requires: %{name}-devel = %{version}
188 %description c++-static
189 C++ bindings for the ImageMagick - static library.
197 LDFLAGS="%{!?debug: -s}" ; export LDFLAGS
198 CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"; export CFLAGS
199 CXXFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"; export CXXFLAGS
201 --prefix=%{_prefix} \
202 --exec-prefix=%{_exec_prefix} \
203 --bindir=%{_bindir} \
204 --sbindir=%{_sbindir} \
205 --sysconfdir=%{_sysconfdir} \
206 --datadir=%{_datadir} \
207 --includedir=%{_includedir} \
208 --libdir=%{_libdir} \
209 --libexecdir=%{_libexecdir} \
210 --localstatedir=%{_localstatedir} \
211 --sharedstatedir=%{_sharedstatedir} \
212 --mandir=%{_mandir} \
215 --enable-16bit-pixel \
220 --with-magick_plus_plus
223 %{__make} -C Magick++
226 rm -rf $RPM_BUILD_ROOT
227 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl
230 DESTDIR=$RPM_BUILD_ROOT
231 %{__make} -C Magick++ \
232 DESTDIR=$RPM_BUILD_ROOT
234 install PerlMagick/demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-perl
238 %post libs -p /sbin/ldconfig
239 %postun libs -p /sbin/ldconfig
241 %post c++ -p /sbin/ldconfig
242 %postun c++ -p /sbin/ldconfig
245 rm -rf $RPM_BUILD_ROOT
248 %defattr(644,root,root,755)
249 %attr(755,root,root) %{_libdir}/lib*.so.*.*
252 %defattr(644,root,root,755)
253 %{_datadir}/ImageMagick
255 %attr(755,root,root) %{_bindir}/animate
256 %attr(755,root,root) %{_bindir}/combine
257 %attr(755,root,root) %{_bindir}/convert
258 %attr(755,root,root) %{_bindir}/display
259 %attr(755,root,root) %{_bindir}/identify
260 %attr(755,root,root) %{_bindir}/import
261 %attr(755,root,root) %{_bindir}/mogrify
262 %attr(755,root,root) %{_bindir}/montage
264 %{_mandir}/man[145]/*
267 %defattr(644,root,root,755)
268 %doc www ImageMagick.html README.txt.gz
270 %attr(755,root,root) %{_bindir}/Magick-config
271 %attr(755,root,root) %{_libdir}/lib*.so
272 %attr(755,root,root) %{_libdir}/lib*.la
273 %{_includedir}/magick
276 %defattr(644,root,root,755)
280 %defattr(644,root,root,755)
281 %{perl_sitearch}/Image
282 %dir %{perl_sitearch}/auto/Image
283 %dir %{perl_sitearch}/auto/Image/Magick
284 %{perl_sitearch}/auto/Image/Magick/autosplit.ix
285 %{perl_sitearch}/auto/Image/Magick/Magick.bs
286 %attr(755,root,root) %{perl_sitearch}/auto/Image/Magick/Magick.so
287 %{_perlmandir}/man3/Image::Magick.*
288 %{_examplesdir}/%{name}-perl
291 %defattr(644,root,root,755)
292 %attr(755,root,root) %{_libdir}/libMagick++.so.*.*
295 %defattr(644,root,root,755)
296 %attr(755,root,root) %{_bindir}/Magick++-config
297 %attr(755,root,root) %{_libdir}/libMagick++.la
298 %attr(755,root,root) %{_libdir}/libMagick++.so
299 %{_prefix}/include/Magick++
300 %{_prefix}/include/Magick++.h
303 %defattr(644,root,root,755)