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