9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-img-editor
|
|
3 |
#
|
|
4 |
# includes module(s): gimp
|
|
5 |
#
|
15556
|
6 |
# Copyright 2009 Sun Microsystems, Inc.
|
9397
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
16434
|
10 |
%define owner leon.sha
|
9397
|
11 |
#
|
|
12 |
%include Solaris.inc
|
16489
|
13 |
%define pythonver 2.6
|
9397
|
14 |
|
|
15 |
%use gimp = gimp.spec
|
12856
|
16 |
%use gimphdr = gimp-hdr.spec
|
9397
|
17 |
Name: SUNWgnome-img-editor
|
|
18 |
Summary: The Gimp image editor
|
|
19 |
Version: %{default_pkg_version}
|
|
20 |
SUNW_BaseDir: %{_basedir}
|
12114
|
21 |
SUNW_Copyright: %{name}.copyright
|
9397
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
|
|
24 |
%include default-depend.inc
|
15650
|
25 |
Requires: SUNWlibart
|
|
26 |
Requires: SUNWgtk2
|
9397
|
27 |
Requires: SUNWgnome-libs
|
|
28 |
Requires: SUNWgnome-python-libs
|
|
29 |
Requires: SUNWgnome-pdf-viewer
|
|
30 |
Requires: SUNWlibms
|
|
31 |
Requires: SUNWTiff
|
|
32 |
Requires: SUNWfontconfig
|
|
33 |
Requires: SUNWfreetype2
|
|
34 |
Requires: SUNWgnome-vfs
|
|
35 |
Requires: SUNWjpg
|
|
36 |
Requires: SUNWlibexif
|
|
37 |
Requires: SUNWlibrsvg
|
|
38 |
Requires: SUNWpng
|
|
39 |
Requires: SUNWzlib
|
15556
|
40 |
Requires: SUNWdesktop-cache
|
12333
|
41 |
Requires: SUNWlcms
|
16489
|
42 |
Requires: SUNWPython26
|
15824
|
43 |
Requires: SUNWgegl
|
|
44 |
Requires: SUNWbabl
|
16778
|
45 |
Requires: SUNWaalib
|
15650
|
46 |
BuildRequires: SUNWgtk2-devel
|
9397
|
47 |
BuildRequires: SUNWTiff-devel
|
|
48 |
BuildRequires: SUNWgnome-vfs-devel
|
|
49 |
BuildRequires: SUNWjpg-devel
|
|
50 |
BuildRequires: SUNWlibexif-devel
|
|
51 |
BuildRequires: SUNWlibrsvg-devel
|
|
52 |
BuildRequires: SUNWpng-devel
|
|
53 |
BuildRequires: SUNWgnome-python-libs-devel
|
14933
|
54 |
BuildRequires: SUNWpython-setuptools
|
9397
|
55 |
BuildRequires: SUNWgnome-pdf-viewer-devel
|
|
56 |
BuildRequires: SUNWgnome-libs-devel
|
|
57 |
BuildRequires: SUNWgnome-python-libs-devel
|
12333
|
58 |
BuildRequires: SUNWlcms
|
15824
|
59 |
BuildRequires: SUNWgegl-devel
|
|
60 |
BuildRequires: SUNWbabl-devel
|
16778
|
61 |
BuildRequires: SUNWaalib
|
9397
|
62 |
%if %build_l10n
|
|
63 |
%package l10n
|
|
64 |
Summary: %{summary} - l10n files
|
|
65 |
SUNW_BaseDir: %{_basedir}
|
|
66 |
%include default-depend.inc
|
|
67 |
Requires: %{name}
|
|
68 |
%endif
|
|
69 |
|
|
70 |
%package root
|
|
71 |
Summary: %{summary} - / filesystem
|
|
72 |
SUNW_BaseDir: /
|
|
73 |
%include default-depend.inc
|
|
74 |
|
|
75 |
%package devel
|
|
76 |
Summary: %{summary} - development files
|
|
77 |
SUNW_BaseDir: %{_basedir}
|
|
78 |
%include default-depend.inc
|
|
79 |
|
|
80 |
%prep
|
|
81 |
rm -rf %name-%version
|
|
82 |
mkdir %name-%version
|
|
83 |
%gimp.prep -d %name-%version
|
12856
|
84 |
%gimphdr.prep -d %name-%version
|
9397
|
85 |
|
|
86 |
%build
|
|
87 |
export CFLAGS="%optflags -I%{_includedir} -KPIC"
|
|
88 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
89 |
export CPPFLAGS="-I/usr/sfw/include"
|
|
90 |
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
|
15994
|
91 |
export PATH=$PATH:%{_builddir}/%name-%version/gimp-%{gimp.version}/tools
|
15213
|
92 |
export PKG_CONFIG_PATH=%{_builddir}/%name-%version/gimp-%{gimp.version}:/usr/lib/python%{pythonver}/pkgconfig
|
12856
|
93 |
export EXTRA_CFLAGS="-I%{_builddir}/%name-%version/gimp-%{gimp.version}/ -I%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpcolor -I%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpmath -I%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimp -I%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpconfig -I%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpwidgets"
|
|
94 |
export EXTRA_LDFLAGS="-L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpbase/.libs -L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpcolor/.libs -L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpmath/.libs -L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimp/.libs -L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpconfig/.libs -L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpwidgets/.libs -L%{_builddir}/%name-%version/gimp-%{gimp.version}/libgimpmodule/.libs"
|
15213
|
95 |
export PYTHON=/usr/bin/python%{pythonver}
|
9397
|
96 |
|
|
97 |
%gimp.build -d %name-%version
|
12856
|
98 |
%gimphdr.build -d %name-%version
|
9397
|
99 |
|
|
100 |
%install
|
15994
|
101 |
export PATH=$PATH:%{_builddir}/%name-%version/gimp-%{gimp.version}/tools
|
|
102 |
export PKG_CONFIG_PATH=%{_builddir}/%name-%version/gimp-%{gimp.version}:/usr/lib/python%{pythonver}/pkgconfig
|
9397
|
103 |
%gimp.install -d %name-%version
|
12856
|
104 |
%gimphdr.install -d %name-%version
|
9397
|
105 |
|
|
106 |
%if %build_l10n
|
|
107 |
%else
|
|
108 |
# REMOVE l10n FILES
|
|
109 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
110 |
%endif
|
|
111 |
|
|
112 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT}
|
|
113 |
|
|
114 |
%clean
|
|
115 |
rm -rf $RPM_BUILD_ROOT
|
|
116 |
|
|
117 |
%post
|
15556
|
118 |
%restart_fmri desktop-mime-cache
|
9397
|
119 |
|
|
120 |
%postun
|
15556
|
121 |
%restart_fmri desktop-mime-cache
|
9397
|
122 |
|
|
123 |
%files
|
|
124 |
%defattr (-, root, bin)
|
|
125 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
126 |
%{_bindir}/*
|
|
127 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
128 |
%{_libdir}/lib*.so*
|
|
129 |
%dir %attr (0755, root, bin) %{_libdir}/gimp
|
|
130 |
%dir %attr (0755, root, bin) %{_libdir}/gimp/%gimp.subver_install
|
|
131 |
%dir %attr (0755, root, bin) %{_libdir}/gimp/%gimp.subver_install/environ
|
|
132 |
%dir %attr (0755, root, bin) %{_libdir}/gimp/%gimp.subver_install/modules
|
|
133 |
%dir %attr (0755, root, bin) %{_libdir}/gimp/%gimp.subver_install/plug-ins
|
|
134 |
%{_libdir}/gimp/%gimp.subver_install/environ/*
|
|
135 |
%{_libdir}/gimp/%gimp.subver_install/modules/lib*.so*
|
|
136 |
%{_libdir}/gimp/%gimp.subver_install/plug-ins/*
|
|
137 |
%{_libdir}/gimp/%gimp.subver_install/interpreters
|
|
138 |
%{_libdir}/gimp/%gimp.subver_install/python
|
|
139 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
140 |
%dir %attr (0755, root, other) %{_datadir}/applications
|
|
141 |
%{_datadir}/applications/*
|
|
142 |
%{_datadir}/gimp
|
|
143 |
%attr (-, root, other) %{_datadir}/icons
|
13606
|
144 |
%doc gimp-%{gimp.version}/plug-ins/script-fu/tinyscheme/COPYING
|
|
145 |
%doc gimp-%{gimp.version}/LICENSE
|
|
146 |
%doc gimp-%{gimp.version}/plug-ins/script-fu/ftx/LICENSE
|
|
147 |
%doc gimp-%{gimp.version}/devel-docs/README
|
|
148 |
%doc gimp-%{gimp.version}/devel-docs/tools/README.shooter
|
|
149 |
%doc gimp-%{gimp.version}/docs/Wilber.xcf.gz.README
|
|
150 |
%doc gimp-%{gimp.version}/app/pdb/README
|
|
151 |
%doc gimp-%{gimp.version}/plug-ins/script-fu/ftx/README
|
|
152 |
%doc gimp-%{gimp.version}/plug-ins/script-fu/tinyscheme/README
|
|
153 |
%doc gimp-%{gimp.version}/plug-ins/flame/README
|
15824
|
154 |
%doc gimp-%{gimp.version}/plug-ins/gradient-flare/README
|
|
155 |
%doc gimp-%{gimp.version}/plug-ins/ifs-compose/README.ifscompose
|
|
156 |
%doc gimp-%{gimp.version}/plug-ins/lighting/README
|
|
157 |
%doc gimp-%{gimp.version}/plug-ins/map-object/README
|
13606
|
158 |
%doc gimp-%{gimp.version}/plug-ins/metadata/README
|
15824
|
159 |
%doc gimp-%{gimp.version}/plug-ins/selection-to-path/README
|
|
160 |
%doc gimp-%{gimp.version}/plug-ins/selection-to-path/README.limn
|
13606
|
161 |
%doc gimp-%{gimp.version}/plug-ins/twain/README
|
|
162 |
%doc(bzip2) gimp-%{gimp.version}/AUTHORS
|
|
163 |
%doc(bzip2) gimp-%{gimp.version}/COPYING
|
|
164 |
%doc(bzip2) gimp-%{gimp.version}/libgimp/COPYING
|
|
165 |
%doc(bzip2) gimp-%{gimp.version}/plug-ins/pygimp/COPYING
|
|
166 |
%doc(bzip2) gimp-%{gimp.version}/ChangeLog
|
|
167 |
%doc(bzip2) gimp-%{gimp.version}/ChangeLog.pre-1-0
|
|
168 |
%doc(bzip2) gimp-%{gimp.version}/ChangeLog.pre-1-2
|
|
169 |
%doc(bzip2) gimp-%{gimp.version}/ChangeLog.pre-2-0
|
|
170 |
%doc(bzip2) gimp-%{gimp.version}/ChangeLog.pre-2-2
|
|
171 |
%doc(bzip2) gimp-%{gimp.version}/ChangeLog.pre-2-4
|
|
172 |
%doc(bzip2) gimp-%{gimp.version}/devel-docs/ChangeLog
|
|
173 |
%doc(bzip2) gimp-%{gimp.version}/po/ChangeLog
|
|
174 |
%doc(bzip2) gimp-%{gimp.version}/po-libgimp/ChangeLog
|
|
175 |
%doc(bzip2) gimp-%{gimp.version}/po-plug-ins/ChangeLog
|
|
176 |
%doc(bzip2) gimp-%{gimp.version}/po-python/ChangeLog
|
|
177 |
%doc(bzip2) gimp-%{gimp.version}/po-script-fu/ChangeLog
|
|
178 |
%doc(bzip2) gimp-%{gimp.version}/po-tips/ChangeLog
|
|
179 |
%doc(bzip2) gimp-%{gimp.version}/plug-ins/script-fu/tinyscheme/CHANGES
|
|
180 |
%doc(bzip2) gimp-%{gimp.version}/plug-ins/gimpressionist/ChangeLog
|
|
181 |
%doc(bzip2) gimp-%{gimp.version}/NEWS
|
|
182 |
%doc(bzip2) gimp-%{gimp.version}/NEWS.pre-2-0
|
|
183 |
%doc(bzip2) gimp-%{gimp.version}/NEWS.pre-2-2
|
|
184 |
%doc(bzip2) gimp-%{gimp.version}/NEWS.pre-2-4
|
|
185 |
%doc(bzip2) gimp-%{gimp.version}/README
|
|
186 |
%doc(bzip2) gimp-%{gimp.version}/devel-docs/README.gtkdoc
|
|
187 |
%doc(bzip2) gimp-%{gimp.version}/README.i18n
|
|
188 |
%doc(bzip2) gimp-%{gimp.version}/tools/pdbgen/README
|
|
189 |
%doc(bzip2) gimp-%{gimp.version}/plug-ins/gfig/README
|
|
190 |
%doc(bzip2) gimp-%{gimp.version}/plug-ins/gimpressionist/README
|
|
191 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
9397
|
192 |
|
|
193 |
%if %build_l10n
|
|
194 |
%files l10n
|
|
195 |
%defattr (-, root, bin)
|
|
196 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
197 |
%attr (-, root, other) %{_datadir}/locale
|
|
198 |
%endif
|
|
199 |
|
|
200 |
%files root
|
|
201 |
%defattr (-, root, sys)
|
|
202 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
203 |
%{_sysconfdir}/*
|
|
204 |
|
|
205 |
%files devel
|
9780
|
206 |
%defattr (-, root, bin)
|
9397
|
207 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
208 |
%{_includedir}/*
|
|
209 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
210 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
211 |
%{_libdir}/pkgconfig/*
|
|
212 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
213 |
%dir %attr (0755, root, other) %{_datadir}/aclocal
|
|
214 |
%{_datadir}/aclocal/*
|
|
215 |
%{_datadir}/gtk-doc
|
|
216 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
217 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
218 |
%{_mandir}/*/*
|
|
219 |
|
|
220 |
%changelog
|
18537
|
221 |
* Mon Dec 21 2009 - [email protected]
|
|
222 |
Remove SUNWgnome-print dependency.
|
16778
|
223 |
* Fri Oct 16 2009 - [email protected]
|
|
224 |
- Bug 6890513 SUNWgnome-img-editor package dependency on dynamically
|
|
225 |
linked libs not captured.
|
16489
|
226 |
* Mon Sep 07 2009 - [email protected]
|
|
227 |
- Change the dependency to python 2.6.
|
15994
|
228 |
* Fri Jul 3 2009 - [email protected]
|
|
229 |
- Change PATH to gimp2.66/tools as gimptool-2.0 is installed in
|
|
230 |
this location since 2.6.6
|
15963
|
231 |
* Fri Jun 26 2009 - [email protected]
|
|
232 |
- Change owner to leon.sha
|
|
233 |
* Mon Jun 1 2009 - [email protected]
|
15824
|
234 |
- Change owner to bewitche
|
15556
|
235 |
* Fri Apr 3 2009 - [email protected]
|
|
236 |
- use desktop-cache instead of postrun
|
15473
|
237 |
* Mon Mar 23 2009 - [email protected]
|
|
238 |
- Since /usr/lib/gimp/2.0/plug-ins/colorxhtml.py (SUNWgnome-img-editor)
|
|
239 |
requires /usr/bin/i86/isapython2.4 which is found in SUNWPython, add
|
|
240 |
the dependency.
|
15213
|
241 |
* Tue Feb 24 2009 - [email protected]
|
|
242 |
- set PYTHON and PKG_CONFIG_PATH so the correct python version and
|
|
243 |
dependencies are picked up
|
13606
|
244 |
* Tue Sep 16 2008 - [email protected]
|
|
245 |
- Update copyright
|
12333
|
246 |
* Wed May 21 2008 - [email protected]
|
|
247 |
- Add Build/Requires: SUNWlcms after check-deps.pl run.
|
11461
|
248 |
* Fri Jan 11 2008 - [email protected]
|
|
249 |
- delete PKG_CONFIG_PATH setting since help was removed
|
10572
|
250 |
* Fri Sep 28 2007 - [email protected]
|
|
251 |
- delete Nevada X dep
|
9780
|
252 |
* Tue Apr 24 2007 - [email protected]
|
|
253 |
- s/0755/-/ in defattr so that files are not made all executable
|
9397
|
254 |
* Sat Aug 12 2006 - [email protected]
|
|
255 |
- delete some unnecessary env variables
|
|
256 |
* Sat Aug 12 2006 - [email protected]
|
|
257 |
- change datadir/icons permissions back to root:other since it's a stable
|
|
258 |
interface and wasn't supposed to be changed
|
|
259 |
* Fri Jul 14 2006 - [email protected]
|
|
260 |
- update %post/%postun/etc scripts to support diskless client setup,
|
|
261 |
part of 6448317
|
|
262 |
* Thu Jun 29 2006 - [email protected]
|
|
263 |
- update postrun scripts
|
|
264 |
* Sun Jun 11 2006 - [email protected]
|
|
265 |
- change group from other to bin/sys
|
|
266 |
* Wed May 10 2006 - [email protected]
|
|
267 |
- merge -share pkg(s) into the base pkg(s)
|
|
268 |
* Fri Apr 28 2006 - [email protected]
|
|
269 |
- Fix %files after move to /usr/bin.
|
|
270 |
* Fri Apr 28 2006 - [email protected]
|
|
271 |
- Move into /usr/bin as standard
|
|
272 |
* Mon Feb 20 2006 - [email protected]
|
|
273 |
- Complete update of Build/Requires after running check-deps.pl script.
|
|
274 |
* Thu Feb 16 2006 - [email protected]
|
|
275 |
- Update Build/Requires after running check-deps.pl script.
|
|
276 |
* Sat Dec 3 2005 - [email protected]
|
|
277 |
- add %post script that runs update-desktop-database
|
|
278 |
* Fri Dec 02 2005 - [email protected]
|
|
279 |
- Change SUNWpoppler dependency to SUNWgnome-pdf-viewer as poppler has moved.
|
|
280 |
* Fri Sep 30 2005 - [email protected]
|
|
281 |
- add SUNWpoppler as build requirement.
|
|
282 |
* Tue Sep 20 2005 - [email protected]
|
|
283 |
- add unpackaged files to %files
|
|
284 |
* Tue Aug 30 2005 - [email protected]
|
|
285 |
- Add Build/Requires for SUNWgnome-pygtk2.
|
|
286 |
* Fri Jan 21 2005 - [email protected]
|
|
287 |
- Change PKG_CONFIG_PATH to build gimp-help module.
|
|
288 |
* Mon Dec 13 2004 - [email protected]
|
|
289 |
- Move to /usr/sfw to implement ARC decision.
|
|
290 |
* Sun Nov 14 2004 - [email protected]
|
|
291 |
- add -KPIC to CFLAGS, because the Makefiles hardcode -fPIC :/
|
|
292 |
* Fri Nov 12 2004 - [email protected]
|
|
293 |
- move to /usr/demo/jds
|
|
294 |
* Sat Oct 02 2004 - [email protected]
|
|
295 |
- added %pkgbuild_postprocess
|
|
296 |
* Wed Sep 01 2004 - [email protected]
|
|
297 |
- Bug 5091588 : man5 files should be in devel-share package
|
|
298 |
* Mon Aug 23 2004 - [email protected]
|
|
299 |
- s/SUNWpl5u/SUNWperl584usr/
|
|
300 |
* Fri Aug 20 2004 - [email protected]
|
|
301 |
- Change file paths for new version of Gimp. Use variable from gimp.spec so
|
|
302 |
future version updates will not need a change here.
|
|
303 |
* Tue Jun 22 2004 - [email protected]
|
|
304 |
- changed install location to /usr/lib and /usr/bin
|
|
305 |
* Wed Jun 2 2004 - [email protected]
|
|
306 |
- Added %{_datadir}/locale to install l10n messages
|
|
307 |
* Tue May 18 2004 - [email protected]
|
|
308 |
- add sfw to LDFLAGS/CPPFLAGS (patch from Shirley)
|
|
309 |
* Fri Mar 26 2004 - [email protected]
|
|
310 |
- Created,
|
15650
|
311 |
|