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