]> git.pld-linux.org Git - packages/ImageMagick.git/blob - ImageMagick.spec
- added %defattr (by Wojtek)
[packages/ImageMagick.git] / ImageMagick.spec
1 Summary:        Image display, conversion, and manipulation under X
2 Summary(de):    Darstellen, Konvertieren und Bearbeiten von Grafiken unter X
3 Summary(fr):    Visualisation, conversion, et manipulation d'images sous X.
4 Summary(pl):    Narzêdzie do wy¶wietlania, konwersji i manipulacji grafikami
5 Summary(tr):    X altýnda resim gösterme, çevirme ve deðiþiklik yapma
6 Name:           ImageMagick
7 Version:        4.1.8
8 Release:        1d
9 Copyright:      freeware
10 Group:          X11/Applications/Graphics
11 Group(pl):      X11/Aplikacje/Grafika
12 #########       ftp://ftp.wizards.dupont.com/pub/ImageMagick
13 Source:         %{name}-%{version}.tar.gz
14 URL:            http://www.wizards.dupont.com/cristy/ImageMagick.html
15 Requires:       freetype = 1.2
16 Requires:       libtiff
17 Requires:       libpng
18 Requires:       libjpeg
19 Requires:       XFree86-libs
20 Buildroot:      /tmp/%{name}-%{version}-root
21
22 %description
23 ImageMagick is an image display, conversion, and manipulation tool. It runs
24 under X windows. It is very powerful in terms of it's ability to allow the
25 user to edit images.  It can handle many different formats as well.
26
27 %description -l de
28 ImageMagick ist ein Tool zur Bildanzeige, -konvertierung und manipulation,
29 -das unter X-Windows läuft. Es ist enorm leitungsfähig in Bezug auf die
30 Grafikmanipulationsfunktionen, die es dem Anwender bietet, und auf die
31 Vielfalt der unterstützten Formate.
32
33 %description -l fr
34 ImageMagick est un outil d'affichage, de conversion et de manipulation
35 d'images. Il tourne sous X Window et est très puissant en termes de capacité
36 d'édition des images. Il peut aussi gérer de nombreux formats différents.
37
38 %description -l pl
39 ImageMagic jest narzêdziem do manipulacji, konwersji i wy¶wietlania. W sk³ad
40 pakietu wchodz± zarówno narzêdzia X Window jak i do u¿ywania z linii poleceñ
41 umozliwiaj±ce edicjê plików graficznych. Narzêdzia z pakietu ImageMagic
42 potrafi± obs³u¿yæ wiele ró¿ncyh formatów graficznych.
43
44 %description -l tr
45 ImageMagick bir resim gösterme, çevirme ve deðiþiklik yapma programýdýr. X
46 Window pencereleme sistemi altýnda çalýþýr. Kullanýcýya resimler üzerinde
47 deðiþiklik yapma açýsýndan pek çok olanak sunar. Bir çok resim biçimini
48 rahatlýkla kullanabilir.
49
50 %package        devel
51 Summary:        Libraries and header files for ImageMagick development
52 Summary(pl):    Biblioteki i pliki nag³ówkowe dla ImageMagick'a
53 Group:          X11/Libraries/Development
54 Group(pl):      X11/Biblioteki/Programowanie
55 Requires:       %{name} = %{version}
56
57 %description devel
58 This is the ImageMagick development package.  It includes the static
59 libraries and header files for use in developing your own applications that
60 make use of the ImageMagick code and/or APIs.
61
62 %description -l de devel
63 Dies ist das ImageMagick-Entwicklerpaket. Es enthält die statischen
64 Libraries und Header-Dateien zum Entwickeln von Anwendungen, die
65 ImageMagick-Code und/oder -APIs nutzen.
66
67 %description -l fr devel
68 Paquetage de développement ImageMagick. Contient les bibliothèques statiques
69 et les en-têtes utilisés pour créer vos propres applications utilisant le
70 code d'ImageMagick et/ou ses APIs.
71
72 %description -l pl devel
73 Pakiet ten zawieraj±cy pliki potrzebne przy kompilowaniu programów
74 wykorzystuj±cyh blibbliotekê ImageMagick takie ja pliki nag³ówkowe,
75 biblioteki statyczne i dokumentacjê niezbêdn± przy pisaniu w³asnych
76 programów z wykorzystaniem API jakie udostêpnia ImageMagick.
77
78 %description -l tr devel
79 Bu paket, ImageMagick uygulama arayüzünü kullanan programlar geliþtirmek
80 için gereken baþlýk dosyalarýný ve kitaplýklarý içerir.
81
82 %package        static
83 Summary:        ImageMagick static libraries
84 Summary(pl):    Biblioteki statyczne ImageMagick
85 Group:          X11/Libraries/Development
86 Group(pl):      X11/Biblioteki/Programowanie
87 Requires:       %{name}-devel = %{version}
88
89 %description static
90 ImageMagick static libraries.
91
92 %description -l pl devel
93 ImageMagick static libraries.
94
95 %package        perl
96 Summary:        libraries and modules for access to ImageMagick from perl
97 Summary(pl):    Biblioteki i modu³y perl dla ImageMagick'a
98 Group:          Development/Libraries/Perl
99 Group(pl):      Programowanie/Biblioteki/Perl
100 Requires:       %{name} = %{version}
101 Requires:       perl >= 5.005
102
103 %description perl
104 This is the ImageMagick perl support package.  It perl modules and support
105 files for access to ImageMagick library from perl without unuseful forking
106 or such.
107
108 %description -l pl perl
109 Biblioteki i modu³y umo¿liwiaj±ce korzystanie z ImageMagick'a z poziomu
110 perla. 
111
112 %prep
113 %setup -q
114
115 %build
116 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
117 ./configure \
118         --prefix=/usr \
119         --libdir=/usr/X11R6/lib \
120         --datadir=/usr/X11R6/share \
121         --includedir=/usr/X11R6/include/X11/magick \
122         --enable-shared \
123         --enable-lzw \
124         --enable-16bit-pixel \
125         --with-perl \
126         --with-ttf \
127         --with-x
128 make 
129
130 %install
131 rm -fr $RPM_BUILD_ROOT
132 install -d $RPM_BUILD_ROOT/usr/lib/perl5/%{buildarch}-linux/5.00404/
133 make install \
134         prefix=$RPM_BUILD_ROOT/usr \
135         PREFIX=$RPM_BUILD_ROOT/usr \
136         datadir=$RPM_BUILD_ROOT/usr/X11R6/share \
137         libdir=$RPM_BUILD_ROOT/usr/X11R6/lib \
138         includedir=$RPM_BUILD_ROOT/usr/X11R6/include/X11/magick \
139         INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/man/man3
140
141 chmod 755 $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*
142 strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
143 strip --strip-debug $RPM_BUILD_ROOT/usr/lib/perl5/site_perl/*/*/auto/Image/Magick/Magick.so
144
145 gzip -9nf $RPM_BUILD_ROOT/usr/man/man{1,3,4,5}/*
146
147 %post   -p /sbin/ldconfig
148 %postun -p /sbin/ldconfig
149
150 %clean
151 rm -rf $RPM_BUILD_ROOT
152
153 %files
154 %defattr(644,root,root,755)
155 %attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
156
157 /usr/X11R6/share/ImageMagick
158
159 %attr(755,root,root) /usr/bin/animate
160 %attr(755,root,root) /usr/bin/combine
161 %attr(755,root,root) /usr/bin/convert
162 %attr(755,root,root) /usr/bin/display
163 %attr(755,root,root) /usr/bin/identify
164 %attr(755,root,root) /usr/bin/import
165 %attr(755,root,root) /usr/bin/mogrify
166 %attr(755,root,root) /usr/bin/montage
167 %attr(755,root,root) /usr/bin/xtp
168
169 %attr(644,root, man) /usr/man/man[145]/*
170
171 %files devel
172 %defattr(644,root,root,755)
173 %doc www ImageMagick.html README.txt
174
175 %attr(755,root,root) /usr/bin/Magick-config
176 %attr(755,root,root) /usr/X11R6/lib/lib*.so
177
178 %dir /usr/X11R6/include/X11/magick
179 /usr/X11R6/include/X11/magick/*.h
180
181 %files static
182 %defattr(644,root,root,755)
183 /usr/X11R6/lib/lib*.a
184
185 %files perl
186 %defattr(644,root,root,755)
187 /usr/lib/perl5/site_perl/*/*/Image
188 %dir /usr/lib/perl5/site_perl/*/*/auto/Image
189 %dir /usr/lib/perl5/site_perl/*/*/auto/Image/Magick
190 /usr/lib/perl5/site_perl/*/*/auto/Image/Magick/autosplit.ix
191 /usr/lib/perl5/site_perl/*/*/auto/Image/Magick/Magick.bs
192 %attr(755,root,root) /usr/lib/perl5/site_perl/*/*/auto/Image/Magick/Magick.so
193 %attr(644,root, man) /usr/man/man3/Image::Magick.3.gz
194
195 %changelog
196 * Sun Jan 24 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
197   [4.1.8-1d]
198 - added Group(pl),
199 - fixed permission on lib*.so* files (must be 755),
200 - changed Requires for freetype (= 1.2),
201 - many fixes im pl translations.
202
203 * Sat Dec  7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
204   [4.1.5-1]
205 - added gzipping man pages,
206 - /usr/bin/Magick-config moved to devel,
207 - added /usr/X11R6/share/ImageMagick/delegates.mgk file to main,
208 - more man pages on levels 3, 4 and 5,
209 - added LDFLAGS="-s" in ./configure enviroment.
210
211 * Sun Nov  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
212   [4.1.3-2]
213 - simplification in perl subpackage,
214 - man pages in perl subpackage moved to /usr/man/man3,
215 - build against perl 5.005 (added also "Requires: perl >= 5.005" in perl).
216
217 * Sat Aug  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
218   [4.0.8-1]
219 - added rest pl translations in subpackages,
220 - added static subpackage.
221
222 * Fri Jul 17 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
223   [4.0.7-2]
224 - added pl translation,
225 - build against GNU libc-2.1.
226
227 * Sun Jun 14 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
228   [4.0.7-1]
229 - added Khimenko Victor <khim@sch57.msk.ru> style modyfication for making
230   separated subpackage perl stuff and all my old modyfication which was
231   prepared and uploaded to contrib before RH 5.1,
232 - added "Requires: freetype >= 1.1" for main package.
233
234 * Wed Jun 10 1998 Prospector System <bugs@redhat.com>
235 - translations modified for de, fr
236
237 * Thu May 07 1998 Prospector System <bugs@redhat.com>
238 - translations modified for de, fr, tr
239
240 * Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
241 - updated to 4.0.5
242
243 * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
244 - updated to 4.0.4
245 - added BuildRoot
246
247 * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
248 - updated from 3.8.3 to 3.9.1
249 - removed PNG patch (appears to be fixed)
250
251 * Wed Oct 15 1997 Erik Troan <ewt@redhat.com>
252 - build against new libpng
253
254 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
255 - built against glibc
256
257 * Thu Mar 20 1997 Michael Fulbright <msf@redhat.com>
258 - updated to version 3.8.3.
259 - updated source and url tags.
This page took 0.055376 seconds and 4 git commands to generate.