]> git.pld-linux.org Git - packages/gimp.git/blob - gimp.spec
Gimp 1.1.6
[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:        1
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 docs/*.txt
128
129 %find_lang      gimp
130 %find_lang      gimp-std-plugins
131
132 %clean
133 rm -rf $RPM_BUILD_ROOT
134
135 %post   -p /sbin/ldconfig
136 %postun -p /sbin/ldconfig
137
138 %files -f gimp.lang -f gimp-std-plugins
139 %defattr(644,root,root,755)
140 %doc ChangeLog.bz2 NEWS.bz2 README.bz2 docs/*.bz2 docs/*.eps
141
142 %attr(755,root,root) %{_bindir}/gimp 
143 %attr(755,root,root) %{_bindir}/gimpdoc 
144
145 %attr(644,root, man) %{_mandir}/man1/gimp.1* 
146
147 %attr(755,root,root) %{_libdir}/lib*.so.* 
148
149 %attr(755,root,root) %{_libdir}/gimp 
150
151 %dir %{_datadir}/gimp
152 %{_datadir}/gimp/brushes
153 %{_datadir}/gimp/gfig
154 %{_datadir}/gimp/gradients
155 %{_datadir}/gimp/palettes
156 %{_datadir}/gimp/patterns
157 %{_datadir}/gimp/scripts
158 %{_datadir}/gimp/*.ppm
159
160 %config %verify(not md5 mtime) /usr/X11R6/share/gimp/gimprc*
161 %config /usr/X11R6/share/gimp/gtkrc*
162 %config /usr/X11R6/share/gimp/ps-menurc
163
164 ##/usr/X11R6/share/gimp/gimp_tips.txt
165
166 %attr(755,root,root) /usr/X11R6/share/gimp/user_install
167
168 ##/usr/X11R6/share/icons/*.xpm
169 %{_datadir}/icons/*.xpm 
170
171 %attr(-,root,root) /usr/lib/perl5/* 
172 #%attr(-,root,root) /usr/lib/perl5/*
173
174 %files devel
175 %defattr(644,root,root,755)
176
177 %attr(755,root,root) /usr/X11R6/lib/lib*.so 
178
179 %attr(644,root,root) %{_includedir}/gck/*.h 
180 %attr(644,root,root) %{_includedir}/libgimp/*.h
181 %attr(644,root,root)%{_datadir}/aclocal/gimp.m4
182
183 %attr(755,root,root) %{_bindir}/gimptool
184 %attr(755,root,root) %{_bindir}/scm2*
185
186 %attr(644,root, man) /usr/X11R6/man/man1/gimptool.1*
187 %attr(644,root, man) /usr/X11R6/man/man3/gpc.3*
188 %attr(644,root, man) /usr/X11R6/man/man5/gimprc.5*
189
190 %attr(644,root, man) /usr/share/man/man1/*
191 %attr(644,root, man) /usr/share/man/man3/*
192
193 %files static
194 %attr(644,root,root) %{_libdir}/lib*.a
195 %attr(644,root,root) %{_libdir}/lib*.la
196
197 %changelog
198 * Mon Jun 14 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
199   [1.1.6-1]
200 - updated to version 1.1.6.
201
202 * Mon May 31 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
203   [1.1.5-1]
204 - updated to 1.1.5,
205 - fixes file locations,
206 - based on gimp.spec from PLD-devel.
This page took 0.047334 seconds and 4 git commands to generate.