]> git.pld-linux.org Git - packages/gimp.git/blob - gimp.spec
- s-/usr/bin-%{_bindir}-
[packages/gimp.git] / gimp.spec
1 Summary:        The GNU Image Manipulation Program
2 Summary(fr):    Le programme de manipulation d'images de GNU.
3 Summary(de):    Das GNU-Bildbearbeitungs-Programm
4 Summary(pl):    GNU program do manipulacji formatami graficznymi (GIMP)
5 Summary(tr):    Çizim, boyama ve görüntü iþleme programý
6 Name:           gimp
7 Version:        1.1.4
8 Release:        1
9 Copyright:      GPL
10 Group:          X11/Applications/Graphics
11 Group(pl):      X11/Aplikacje/Grafika
12 Source0:        ftp://ftp.gimp.org/pub/gimp/unstable/v1.1/%{name}-%{version}.tar.bz2
13 Source1:        gimp.wmconfig
14 Patch0:         gimp-perl.patch
15 Patch1:         gimp-DESTDIR.patch
16 URL:            http://www.gimp.org/
17 Icon:           gimp.xpm
18 Requires:       gtk+ = 1.2.1
19 Requires:       glib = 1.2.1
20 Requires:       perl >= 5.005
21 BuildRoot:      /tmp/%{name}-%{version}-root
22 Obsoletes:      gimp-data-min
23 Obsoletes:      gimp-libgimp
24
25 %description
26 The GIMP is an image manipulation program suitable for photo retouching,
27 image composition and image authoring.  Many people find it extremely useful
28 in creating logos and other graphics for web pages.  The GIMP has many of the
29 tools and filters you would expect to find in similar commercial offerings,
30 and some interesting extras as well.
31
32 The GIMP provides a large image manipulation toolbox, including channel
33 operations and layers, effects, sub-pixel imaging and anti-aliasing,
34 and conversions, all with multi-level undo.
35
36 This version of The GIMP includes a scripting facility, but many of the
37 included scripts rely on fonts that we cannot distribute.  The GIMP ftp
38 site has a package of fonts that you can install by yourself, which
39 includes all the fonts needed to run the included scripts.  Some of the
40 fonts have unusual licensing requirements; all the licenses are documented
41 in the package. Get ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz
42 and ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you are so
43 inclined. Alternatively, choose fonts which exist on your system before
44 running the scripts.
45
46 %description -l pl
47 Program Gimp jest przeznaczony do obróbki i tworzenia plików w ró¿nych
48 formatach graficznych. Dziêki niemu bêdziesz móg³ stworzyæ grafikê dla 
49 stron WWW, przerobiæ zdjêcia, czy stworzyæ w³asne logo.
50
51 %package devel
52 Summary:        GIMP plugin and extension development kit
53 Summary(fr):    Plugin GIMP et kit de développement d'extensions
54 Summary(de):    GIMP-Plugin und Extension Development Kit
55 Summary(pl):    Dodatkowe moduly i rozszerzenia dla Gimp
56 Summary(tr):    GIMP plugin ve uzantý geliþtirme araçlarý
57 Group:          X11/Developmet/Libraries
58 Group(pl):      X11/Programowanie/Biblioteki
59 Copyright:      LGPL
60 Requires:       %{name} = %{version}
61 Requires:       gtk+-devel = 1.2.1
62
63 %description devel
64 Header files for writing GIMP plugins and extensions.
65
66 %description -l de devel
67 Header-Dateien zum Schreiben von GIMP-Plugins und -Erweiterungen
68
69 %descriptions -l pl devel
70 Pliki nag³ówowe dla GIMP.
71
72 %package static
73 Summary:        GIMP static libraries
74 Summary(pl):    Biblioteki statyczne do GIMPa
75 Group:          X11/Developmet/Libraries
76 Group(pl):      X11/Programowanie/Biblioteki
77 Requires:       %{name}-devel = %{version}
78
79 %description static
80 GIMP static libraries
81
82 %description -l pl static
83 Biblioteki statyczne do GIMPa
84
85 %prep
86 %setup -q
87 %patch0 -p1
88 %patch1 -p1
89
90 %build
91 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
92 ./configure %{_target} \
93         --prefix=/usr/X11R6 \
94         --without-included-gettext \
95         --disable-perl \
96         --with-xdelta
97 make
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT/{etc/X11/wmconfig,usr/share/aclocal} \
102         $RPM_BUILD_ROOT/usr/X11R6/share/icons \
103         $RPM_BUILD_ROOT%{_libdir}/perl5/5.00502/$RPM_ARCH-linux-thread
104
105 make install \
106         prefix=$RPM_BUILD_ROOT/usr/X11R6 \
107         INSTALLMAN3DIR=/tmp/gimp-1.1.4-root%{_mandir}/man3 \
108         INSTALLMAN1DIR=/tmp/gimp-1.1.4-root%{_mandir}/man1 \
109         PREFIX=/tmp/gimp-1.1.4-root/usr \
110         m4datadir=$RPM_BUILD_ROOT%{_datadir}/aclocal
111
112 install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/gimp
113
114 strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
115
116 gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man*/* \
117         ChangeLog NEWS README docs/{*.txt,*.eps} \
118 #       $RPM_BUILD_ROOT%{_mandir}/man*/*
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %files
127 %defattr(644,root,root,755)
128 %doc {ChangeLog,NEWS,README,docs/*,docs/*.eps}.gz
129
130 /etc/X11/wmconfig/gimp
131
132 %attr(755,root,root) /usr/X11R6/bin/gimp
133 #%attr(755,root,root) %{_bindir}/*
134
135 /usr/X11R6/man/man1/gimp.1*
136 /usr/X11R6/man/man5/gimprc.5*
137 #%{_mandir}/man1/*
138
139 %attr(755,root,root) /usr/X11R6/lib/lib*.so.*
140
141 %attr(755,root,root,755) /usr/X11R6/lib/gimp
142
143 %dir /usr/X11R6/share/gimp
144 /usr/X11R6/share/gimp/brushes
145 /usr/X11R6/share/gimp/gfig
146 /usr/X11R6/share/gimp/gradients
147 /usr/X11R6/share/gimp/palettes
148 /usr/X11R6/share/gimp/patterns
149 /usr/X11R6/share/gimp/scripts
150 /usr/X11R6/share/gimp/*.ppm
151
152 %config %verify(not md5 mtime) /usr/X11R6/share/gimp/gimprc*
153 %config /usr/X11R6/share/gimp/gtkrc*
154 %config /usr/X11R6/share/gimp/ps-menurc
155
156 /usr/X11R6/share/gimp/gimp_tips.txt
157
158 %attr(755,root,root) /usr/X11R6/share/gimp/user_install
159
160 #%attr(-,root,root,755) %{_libdir}/perl5/site_perl/*
161
162 %lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/gimp.mo
163 %lang(fi) /usr/X11R6/share/locale/fi/LC_MESSAGES/gimp.mo
164 %lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/gimp.mo
165 %lang(hu) /usr/X11R6/share/locale/hu/LC_MESSAGES/gimp.mo
166 %lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/gimp.mo
167 %lang(ja) /usr/X11R6/share/locale/ja/LC_MESSAGES/gimp.mo
168 %lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/gimp.mo
169 %lang(sv) /usr/X11R6/share/locale/sv/LC_MESSAGES/gimp.mo
170
171 %files devel
172 %defattr(644,root,root,755)
173 %attr(755,root,root) /usr/X11R6/lib/lib*.so
174 %attr(755,root,root) /usr/X11R6/bin/gimptool
175
176 /usr/X11R6/include/*
177 %{_datadir}/aclocal/*
178
179 /usr/X11R6/man/man1/gimptool.1.*
180 /usr/X11R6/man/man3/*
181 #%{_mandir}/man3/*
182
183 %files static
184 %attr(644,root,root) /usr/X11R6/lib/lib*.a
185
186 %changelog
187 * Mon Mar 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
188   [1.1.3-1]
189 - removed man group from man pages,
190 - gzipping %doc,
191
192 * Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
193   [1.1.2-1d]
194 - updated to 1.1.2,
195 - compresed man documentation,
196 - hashed /etc/X11/* .
197
198 * Wed Oct 14 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
199   [981216-1d]
200 - build against Tornado,
201 - build against gtk+-1.1.7+
202 - fixed files permissions,
203 - fixed shared libraries permissions,
204 - translation modified for pl,
205 - minor modifications of the spec file.
206
207 * Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
208   [1.1.0-0.980921]
209 - many siplifications an updates in %install and %files
210 - updates Requires lists,
211 - added more Requires rules to devel and static subpackages,
212 - changed prefix to /usr/X11R6.
213
214 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
215   [1.0.0-2]
216 - added static subpackage,
217 - "Prereq: /sbin/install-info" moved to devel.
218 - added fr, fr, tr translation from RH spec.
219 - recompiled gimp against gtk+ 1.1.1 and latest libjpeg, libpng and xdelta.
220
221 * Sun Jun  7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
222   [1.0.0-1]
223 - removed libgimp subpackage,
224 - added icons,
225 - added missing patterns to main package,
226 - added gimptool script with man page to devel,
227 - added man3 pages to devel.
228
229 * Mon May 11 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
230   [0.99.29-2]
231 - added moving $RPM_BUILD_ROOT/usr/lib/gimp/0.99/plug-ins/lib*.a to
232   $RPM_BUILD_ROOT/usr/lib (moved to devel subpackage) because files lib*.a
233   are not plugins.
234
235 * Wed May  5 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
236   [0.99.29-1]
237 - changed Requires for gimp, now gimp require gtk+ >= 1.0.1,
238 - added using %{SOURCE#} nacros in %install,
239 - %%{version} macro instead %%{PACKAGE_VERSION},
240 - added using %%{name} macro in Buildroot, in Requires in gimplib and in
241   Source fields,
242 - added -q parameter (quiet) for %setup macro.
243
244 * Wed Apr 28 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>                   
245   [0.99.28-2]
246 - added removing libmegawidget.a from plugins directory (this not plugin but
247   static library required on compile time fuse plugin from unstable plugins
248   wihtch curenly not compile),
249
250 * Wed Mar 24 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
251   [0.99.28-1]
252 - Source is now in bz2 format,
253 - Buildroot changed to /tmp/gimp-%%{PACKAGE_VERSION}-root,
254 - replaced "mkdir -p" with "install -d" in %install,
255 - added gimp-ATEXIT.diff patch wit dirty fix not finding ATEXIT macro from
256   gtk+ (is it gtk+ bug ?),
257 - removed INSTALL from %doc,
258 - removed COPYING from %doc (copyright info in package herader),
259 - added "Requires: libgimp = %%{PACKAGE_VERSION}" for main and devel packages,
260 - changed main package Copyright to GPL and to LGPL in libgimp and devel,
261 - added %config files (in future with using rpm 2.5.x modifing on install
262   %time in post gimprc allow install gimp package as relocatable),
263 - /usr/lib/lib*.so moved from libgimp to devel,
264 - added striping plug-ins and shared libs,
265 - added %defattr, %attr macros in %files (allows building package from
266   non-root account and determine real permission); %defattr requires rpm
267   >= 2.4.99.
268
269 * Sat Mar 21 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
270 - No longer requires xdelta, that was a bug on my part
271 - spec cleanup, changed libgimp copyright, can now be
272   built by non-root users, removed some lines in the description
273
274 * Fri Mar 20 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
275 - upgraded to 0.99.22
276
277 * Sun Mar 15 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
278 - upgraded to 0.99.21
279
280 * Thu Mar 12 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
281 - Upgraded to 0.99.20
282
283 * Mon Mar 09 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
284 - Recompiled with gtk+ 0.99.5
285 - Now requires gtk+ >= 0.99.5 instead of gtk+ 0.99.4
286
287 * Mon Mar 02 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
288 - Upgraded to 0.99.19
289 - gave up requiring gtk+ >= a specific version.
290   = is better suited to the totally unstable API of gtk+.
291 - Obsoleted gimp-data-min, as it is now part of gimp.
292 - Removed some old changelog entries
293
294 * Tue Jan 27 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
295 - It doesn't seem to work with glibc 2.0.5. So I added
296   a requirement for glibc 2.0.6 or higher. This is an
297   errata item for RH5, and so should be installed anyway.
298
299 * Mon Jan 26 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
300 - Upgraded to 0.99.18
301 - removed the hacks necesarry for compiling 0.99.17
302
303 * Wed Jan 07 1998 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
304 - Updated to 0.99.17
305 - use an old aclocal.m4, since the new one breaks building
306   libs
307
308 * Mon Dec 15 1997 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
309 - Updated to 0.99.16
310
311 * Sat Nov 29 1997 Trond Eivind Glomsrød <teg@pvv.ntnu.no>
312 - Updated to 0.99.15
313 - Now uses RPM_OPT_FLAGS
314
315 * Thu Oct 30 1997 Michael K. Johnson <johnsonm@redhat.com>
316 - fixed wmconfig
This page took 0.047259 seconds and 4 git commands to generate.