]> git.pld-linux.org Git - packages/gimp.git/blob - gimp.spec
- added missing %{perl_sitearch}/Gimp.pm in %files.
[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.6
8 Release:        2
9 Copyright:      GPL
10 Group:          X11/Applications/Graphics
11 Group(pl):      X11/Aplikacje/Grafika
12 Source:         ftp://ftp.gimp.org/pub/gimp/unstable/v%{version}/%{name}-%{version}.tar.bz2
13 URL:            http://www.gimp.org/
14 BuildPrereq:    gtk+-devel >= 1.2.0
15 BuildPrereq:    glib-devel >= 1.2.0
16 BuildPrereq:    perl
17 BuildPrereq:    XFree86-devel
18 BuildPrereq:    libtiff-devel
19 BuildPrereq:    libjpeg-devel
20 BuildPrereq:    libpng-devel
21 BuildPrereq:    libungif-devel
22 BuildPrereq:    xpm-devel
23 BuildPrereq:    zlib-devel
24 %requires_eq    perl
25 Requires:       %{perl_sitearch}
26 BuildRoot:      /tmp/%{name}-%{version}-root
27 Obsoletes:      gimp-data-min
28 Obsoletes:      gimp-libgimp
29
30 %define _prefix /usr/X11R6
31 %define _mandir %{_prefix}/man
32
33 %description
34 The GIMP is an image manipulation program suitable for photo retouching,
35 image composition and image authoring.  Many people find it extremely useful
36 in creating logos and other graphics for web pages.  The GIMP has many of the
37 tools and filters you would expect to find in similar commercial offerings,
38 and some interesting extras as well.
39
40 The GIMP provides a large image manipulation toolbox, including channel
41 operations and layers, effects, sub-pixel imaging and anti-aliasing,
42 and conversions, all with multi-level undo.
43
44 This version of The GIMP includes a scripting facility, but many of the
45 included scripts rely on fonts that we cannot distribute.  The GIMP ftp
46 site has a package of fonts that you can install by yourself, which
47 includes all the fonts needed to run the included scripts.  Some of the
48 fonts have unusual licensing requirements; all the licenses are documented
49 in the package. Get ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz
50 and ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you are so
51 inclined. Alternatively, choose fonts which exist on your system before
52 running the scripts.
53
54 %description -l pl
55 Program Gimp jest przeznaczony do obróbki i tworzenia plików w ró¿nych
56 formatach graficznych. Dziêki niemu bêdziesz móg³ stworzyæ grafikê dla 
57 stron WWW, przerobiæ zdjêcia, czy stworzyæ w³asne logo.
58
59 %package devel
60 Summary:        GIMP plugin and extension development kit
61 Summary(fr):    Plugin GIMP et kit de développement d'extensions
62 Summary(de):    GIMP-Plugin und Extension Development Kit
63 Summary(pl):    Dodatkowe moduly i rozszerzenia dla Gimp
64 Summary(tr):    GIMP plugin ve uzantý geliþtirme araçlarý
65 Group:          X11/Applications/Graphics
66 Group(pl):      X11/Aplikacje/Grafika
67 Copyright:      LGPL
68 Requires:       %{name} = %{version}
69 Requires:       gtk+-devel >= 1.2.0
70
71 %description devel
72 Header files for writing GIMP plugins and extensions.
73
74 %description -l de devel
75 Header-Dateien zum Schreiben von GIMP-Plugins und -Erweiterungen
76
77 %descriptions -l pl devel
78 Pliki nag³ówkowe dla GIMP.
79
80 %package static
81 Summary:        GIMP static libraries
82 Summary(pl):    Biblioteki statyczne do GIMPa
83 Group:          Libraries
84 Requires:       %{name}-devel = %{version}
85
86 %description static
87 GIMP static libraries.
88
89 %description -l pl static
90 Biblioteki statyczne do GIMPa.
91
92 %prep
93 %setup -q
94
95 %build
96 CFLAGS="$RPM_OPT_FLAGS -Wall" \
97 LDFLAGS="-s" \
98 ./configure %{_target_platform} \
99         --prefix=%{_prefix} \
100         --without-included-gettext \
101         --without-xdelta 
102 make
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT/{etc/X11,usr/share/aclocal} \
107         $RPM_BUILD_ROOT%{_datadir}/icons \
108         $RPM_BUILD_ROOT%{perl_sitearch} \
109         $RPM_BUILD_ROOT%{_libdir}/gimp/1.1/{modules,plug-ins}
110
111 make install \
112         prefix=$RPM_BUILD_ROOT%{_prefix} \
113         mandir=$RPM_BUILD_ROOT%{_mandir} \
114         INSTALLMAN1DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
115         INSTALLMAN3DIR=$RPM_BUILD_ROOT/usr/share/man/man3 \
116         PREFIX=$RPM_BUILD_ROOT/usr \
117         INSTALLMAN5DIR=$RPM_BUILD_ROOT%{_mandir}/man5
118
119 mv $RPM_BUILD_ROOT%{_datadir}/aclocal/* $RPM_BUILD_ROOT/usr/share/aclocal
120 mv $RPM_BUILD_ROOT/usr/bin/* $RPM_BUILD_ROOT%{_bindir}
121
122 install pixmaps/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/
123 install plug-ins/*/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/
124
125 strip $RPM_BUILD_ROOT{%{_bindir}/gimp,%{_libdir}/gimp/*/plug-ins/*} ||: 
126 strip --strip-unneeded \
127         $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* \
128         $RPM_BUILD_ROOT%{perl_sitearch}/auto/Gimp/*.so \
129         $RPM_BUILD_ROOT%{perl_sitearch}/auto/Gimp/{Lib,Net}/*.so
130
131 gzip -9nf $RPM_BUILD_ROOT/usr/share/man/man3/* \
132         $RPM_BUILD_ROOT%{_mandir}/man[135]/* \
133         ChangeLog NEWS README README.i18n README.perl \
134         TODO MAINTAINERS docs/*.txt
135
136 %find_lang %{name}
137 %find_lang %{name}-std-plugins
138
139 %post   -p /sbin/ldconfig
140 %postun -p /sbin/ldconfig
141
142 %clean
143 rm -rf $RPM_BUILD_ROOT
144
145 %files -f %{name}.lang -f %{name}-std-plugins.lang
146 %defattr(644,root,root,755)
147 %doc {ChangeLog,NEWS,README,README.i18n,README.perl,MAINTAINERS}.gz
148 %doc docs/*.gz docs/*README docs/*.eps docs/script-fu.tex 
149 %doc docs/white-paper/gimp-white-paper.tex docs/quick_reference.*
150
151 %attr(755,root,root) %{_bindir}/gimp 
152 %attr(755,root,root) %{_bindir}/gimpdoc 
153
154 %{_mandir}/man1/gimp.1* 
155 %{_mandir}/man5/gimprc.5*
156
157 %attr(755,root,root) %{_libdir}/lib*.so.* 
158 %attr(755,root,root) %{_libdir}/gimp 
159
160 %dir %{_datadir}/gimp
161 %{_datadir}/gimp/brushes
162 %{_datadir}/gimp/gfig
163 %{_datadir}/gimp/gradients
164 %{_datadir}/gimp/palettes
165 %{_datadir}/gimp/patterns
166 %{_datadir}/gimp/scripts
167 %{_datadir}/gimp/*.ppm
168
169 %dir %{_datadir}/gimp/tips
170 %{_datadir}/gimp/tips/gimp_tips.txt
171 %lang(fr) %{_datadir}/gimp/tips/gimp_conseils.fr.txt
172 %lang(de) %{_datadir}/gimp/tips/gimp_tips.de.txt
173
174 %config %verify(not md5 mtime) %{_datadir}/gimp/gimprc*
175 %config %{_datadir}/gimp/gtkrc*
176 %config %{_datadir}/gimp/ps-menurc
177
178 %attr(755,root,root) %{_datadir}/gimp/user_install
179
180 %{_datadir}/icons/*.xpm 
181
182 ## perl stuff
183 %{perl_sitearch}/Gimp
184 %{perl_sitearch}/Gimp.pm
185 %dir %{perl_sitearch}/auto/Gimp
186 %dir %{perl_sitearch}/auto/Gimp/Lib
187 %dir %{perl_sitearch}/auto/Gimp/Net
188 %{perl_sitearch}/auto/Gimp/Gimp.bs
189 %{perl_sitearch}/auto/Gimp/Lib/Lib.bs
190 %{perl_sitearch}/auto/Gimp/Net/Net.bs
191 %attr(755,root,root) %{perl_sitearch}/auto/Gimp/Lib/Lib.so
192 %attr(755,root,root) %{perl_sitearch}/auto/Gimp/Net/Net.so
193 %attr(755,root,root) %{perl_sitearch}/auto/Gimp/Gimp.so
194 /usr/share/man/man3/Gimp*
195
196 %files devel
197 %defattr(644,root,root,755)
198
199 %attr(755,root,root) %{_libdir}/lib*.so 
200 %{_libdir}/lib*.la
201
202 %{_includedir}/gck/*.h 
203 %{_includedir}/libgimp/*.h
204 /usr/share/aclocal/gimp.m4
205
206 %attr(755,root,root) %{_bindir}/gimptool
207 %attr(755,root,root) %{_bindir}/scm2*
208
209 %{_mandir}/man1/gimptool.1*
210 %{_mandir}/man1/scm2*.1*
211 %{_mandir}/man3/gpc.3*
212
213 %files static
214 %attr(644,root,root) %{_libdir}/lib*.a
215
216 %changelog
217 * Tue Jun 15 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
218   [1.1.6-2]
219 - fixed documentation.
220
221 * Mon Jun 14 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
222   [1.1.6-1]
223 - updated to version 1.1.6.
224
225 * Mon May 31 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
226   [1.1.5-1]
227 - updated to 1.1.5,
228 - fixes file locations,
229 - based on gimp.spec from PLD-devel.
This page took 0.040083 seconds and 4 git commands to generate.