author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16407 | e17e27518d2e |
child 17074 | 0969e5515d40 |
permissions | -rw-r--r-- |
11461 | 1 |
# |
2 |
# spec file for package SUNWgnome-img-editor-help |
|
3 |
# |
|
4 |
# includes module(s): gimp-help |
|
5 |
# |
|
6 |
# Copyright 2008 Sun Microsystems, Inc. |
|
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 [email protected] |
11461 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use gimp_help = gimp-help.spec |
|
15 |
||
16 |
Name: SUNWgnome-img-editor-help |
|
17 |
Summary: The Gimp image editor - on-line help documents |
|
18 |
Version: %{default_pkg_version} |
|
19 |
SUNW_BaseDir: %{_basedir} |
|
12114 | 20 |
SUNW_Copyright: %{name}.copyright |
11461 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
22 |
||
23 |
%include default-depend.inc |
|
24 |
Requires: SUNWgnome-img-editor |
|
25 |
BuildRequires: SUNWgnome-img-editor-devel |
|
26 |
BuildRequires: SUNWgnome-common-devel |
|
27 |
||
28 |
%if %build_l10n |
|
29 |
%package de |
|
30 |
Summary: Gimp on-line help in German |
|
31 |
SUNW_BaseDir: %{_basedir} |
|
32 |
SUNW_PkgList: SUNWgnome-img-editor |
|
33 |
SUNW_Loc: de |
|
34 |
%include default-depend.inc |
|
35 |
Requires: SUNWgnome-img-editor-help |
|
36 |
||
37 |
%package es |
|
38 |
Summary: Gimp on-line help in Spanish |
|
39 |
SUNW_BaseDir: %{_basedir} |
|
40 |
SUNW_PkgList: SUNWgnome-img-editor |
|
41 |
SUNW_Loc: es |
|
42 |
%include default-depend.inc |
|
43 |
Requires: SUNWgnome-img-editor-help |
|
44 |
||
45 |
%package fr |
|
46 |
Summary: Gimp on-line help in French |
|
47 |
SUNW_BaseDir: %{_basedir} |
|
48 |
SUNW_PkgList: SUNWgnome-img-editor |
|
49 |
SUNW_Loc: fr |
|
50 |
%include default-depend.inc |
|
51 |
Requires: SUNWgnome-img-editor-help |
|
52 |
||
53 |
%package it |
|
54 |
Summary: Gimp on-line help in Italian |
|
55 |
SUNW_BaseDir: %{_basedir} |
|
56 |
SUNW_PkgList: SUNWgnome-img-editor |
|
57 |
SUNW_Loc: it |
|
58 |
%include default-depend.inc |
|
59 |
Requires: SUNWgnome-img-editor-help |
|
60 |
||
61 |
%package ko |
|
62 |
Summary: Gimp on-line help in Korean |
|
63 |
SUNW_BaseDir: %{_basedir} |
|
64 |
SUNW_PkgList: SUNWgnome-img-editor |
|
65 |
SUNW_Loc: ko,ko.UTF-8 |
|
66 |
%include default-depend.inc |
|
67 |
Requires: SUNWgnome-img-editor-help |
|
68 |
||
12212 | 69 |
%package pl |
70 |
Summary: Gimp on-line help in Polish |
|
71 |
SUNW_BaseDir: %{_basedir} |
|
72 |
SUNW_PkgList: SUNWgnome-img-editor |
|
73 |
SUNW_Loc: pl_PL |
|
74 |
%include default-depend.inc |
|
75 |
Requires: SUNWgnome-img-editor-help |
|
76 |
||
11461 | 77 |
%package ru |
78 |
Summary: Gimp on-line help in Russian |
|
79 |
SUNW_BaseDir: %{_basedir} |
|
80 |
SUNW_PkgList: SUNWgnome-img-editor |
|
81 |
SUNW_Loc: ru_RU |
|
82 |
%include default-depend.inc |
|
83 |
Requires: SUNWgnome-img-editor-help |
|
84 |
||
85 |
%package sv |
|
86 |
Summary: Gimp on-line help in Swedish |
|
87 |
SUNW_BaseDir: %{_basedir} |
|
88 |
SUNW_PkgList: SUNWgnome-img-editor |
|
89 |
SUNW_Loc: sv |
|
90 |
%include default-depend.inc |
|
91 |
Requires: SUNWgnome-img-editor-help |
|
92 |
||
93 |
%package cs |
|
94 |
Summary: Gimp on-line help in Czech |
|
95 |
SUNW_BaseDir: %{_basedir} |
|
96 |
SUNW_PkgList: SUNWgnome-img-editor |
|
97 |
SUNW_Loc: cs_CZ |
|
98 |
%include default-depend.inc |
|
99 |
Requires: SUNWgnome-img-editor-help |
|
100 |
||
101 |
%package zhCN |
|
102 |
Summary: Gimp on-line help in Simplified Chinese |
|
103 |
SUNW_BaseDir: %{_basedir} |
|
104 |
SUNW_PkgList: SUNWgnome-img-editor |
|
105 |
SUNW_Loc: zh,zh.GBK,zh_CN.GB18030,zh.UTF-8 |
|
106 |
%include default-depend.inc |
|
107 |
Requires: SUNWgnome-img-editor-help |
|
108 |
||
109 |
%package extra |
|
110 |
Summary: Gimp on-line help in other languages |
|
111 |
SUNW_BaseDir: %{_basedir} |
|
112 |
SUNW_PkgList: SUNWgnome-img-editor |
|
113 |
SUNW_Loc: nl_BE,nl_NL,no_NO,hr_HR |
|
114 |
%include default-depend.inc |
|
115 |
Requires: SUNWgnome-img-editor-help |
|
116 |
%endif |
|
117 |
||
118 |
%prep |
|
119 |
rm -rf %name-%version |
|
120 |
mkdir %name-%version |
|
121 |
%gimp_help.prep -d %name-%version |
|
122 |
||
123 |
%build |
|
124 |
%gimp_help.build -d %name-%version |
|
125 |
||
126 |
%install |
|
127 |
rm -rf $RPM_BUILD_ROOT |
|
128 |
%gimp_help.install -d %name-%version |
|
129 |
||
130 |
%if %build_l10n |
|
131 |
%else |
|
132 |
# REMOVE l10n FILES |
|
16211
81fe3594640b
Remove pl locale files if no "--with-l10n" specified
davelam
parents:
16180
diff
changeset
|
133 |
for loc in cs de es fr hr it ko nl no pl ru sv zh_CN; do |
11461 | 134 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gimp/*/help/$loc |
135 |
for subdir in callouts dialogs dialogs/examples filters filters/examples \ |
|
14554 | 136 |
glossary math menus preferences tool-options toolbox tutorials using; do |
137 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gimp/*/help/images/$subdir/$loc |
|
11461 | 138 |
done |
139 |
done |
|
140 |
%endif |
|
141 |
||
142 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT} |
|
143 |
||
144 |
%clean |
|
145 |
rm -rf $RPM_BUILD_ROOT |
|
146 |
||
147 |
%files |
|
148 |
%defattr (-, root, bin) |
|
149 |
%dir %attr (0755, root, sys) %{_datadir} |
|
150 |
%{_datadir}/gimp/*/help/en |
|
151 |
%{_datadir}/gimp/*/help/images/*.png |
|
152 |
%{_datadir}/gimp/*/help/images/callouts/*.png |
|
153 |
%{_datadir}/gimp/*/help/images/dialogs/*.png |
|
154 |
%{_datadir}/gimp/*/help/images/dialogs/examples/*.{png,gif,jpg,mng} |
|
155 |
%{_datadir}/gimp/*/help/images/filters/*.png |
|
156 |
%{_datadir}/gimp/*/help/images/filters/examples/*.{png,jpg,mng,xcf} |
|
157 |
%{_datadir}/gimp/*/help/images/glossary/*.png |
|
158 |
%{_datadir}/gimp/*/help/images/math/*.png |
|
159 |
%{_datadir}/gimp/*/help/images/menus/*.png |
|
12212 | 160 |
%{_datadir}/gimp/*/help/images/menus/*.jpg |
11461 | 161 |
%{_datadir}/gimp/*/help/images/preferences/*.png |
162 |
%{_datadir}/gimp/*/help/images/tool-options/*.png |
|
163 |
%{_datadir}/gimp/*/help/images/toolbox/*.png |
|
164 |
%{_datadir}/gimp/*/help/images/tutorials/*.{png,jpg} |
|
165 |
%{_datadir}/gimp/*/help/images/using/*.{png,jpg} |
|
16180 | 166 |
%{_datadir}/gimp/2.0/help/images/menus/file/new/logos/chrome.jpg |
167 |
%{_datadir}/gimp/2.0/help/images/filters/alpha-to-logo/* |
|
13585 | 168 |
%doc -d gimp-help-%{gimp_help.version} AUTHORS README quickreference/README |
169 |
%doc(bzip2) -d gimp-help-%{gimp_help.version} COPYING ChangeLog NEWS |
|
170 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
11461 | 171 |
|
172 |
%if %build_l10n |
|
173 |
%files de |
|
174 |
%defattr (-, root, bin) |
|
175 |
%dir %attr (0755, root, sys) %{_datadir} |
|
176 |
%{_datadir}/gimp/*/help/de |
|
14554 | 177 |
%{_datadir}/gimp/*/help/images/dialogs/de |
178 |
%{_datadir}/gimp/*/help/images/filters/de |
|
179 |
%{_datadir}/gimp/*/help/images/filters/examples/de |
|
180 |
%{_datadir}/gimp/*/help/images/math/de |
|
181 |
%{_datadir}/gimp/*/help/images/menus/de |
|
182 |
%{_datadir}/gimp/*/help/images/preferences/de |
|
183 |
%{_datadir}/gimp/*/help/images/toolbox/de |
|
184 |
%{_datadir}/gimp/*/help/images/using/de |
|
11461 | 185 |
|
186 |
%files es |
|
187 |
%defattr (-, root, bin) |
|
188 |
%dir %attr (0755, root, sys) %{_datadir} |
|
189 |
%{_datadir}/gimp/*/help/es |
|
14554 | 190 |
%{_datadir}/gimp/*/help/images/dialogs/es |
191 |
%{_datadir}/gimp/*/help/images/filters/es |
|
192 |
%{_datadir}/gimp/*/help/images/menus/es |
|
193 |
%{_datadir}/gimp/*/help/images/preferences/es |
|
194 |
%{_datadir}/gimp/*/help/images/tool-options/es |
|
195 |
%{_datadir}/gimp/*/help/images/toolbox/es |
|
196 |
%{_datadir}/gimp/*/help/images/using/es |
|
11461 | 197 |
|
198 |
%files fr |
|
199 |
%defattr (-, root, bin) |
|
200 |
%dir %attr (0755, root, sys) %{_datadir} |
|
201 |
%{_datadir}/gimp/*/help/fr |
|
14554 | 202 |
%{_datadir}/gimp/*/help/images/dialogs/fr |
203 |
%{_datadir}/gimp/*/help/images/filters/fr |
|
204 |
%{_datadir}/gimp/*/help/images/filters/examples/fr |
|
205 |
%{_datadir}/gimp/*/help/images/menus/fr |
|
206 |
%{_datadir}/gimp/*/help/images/preferences/fr |
|
207 |
%{_datadir}/gimp/*/help/images/using/fr |
|
208 |
%{_datadir}/gimp/*/help/images/toolbox/fr |
|
209 |
%{_datadir}/gimp/*/help/images/tutorials/fr |
|
11461 | 210 |
|
211 |
%files it |
|
212 |
%defattr (-, root, bin) |
|
213 |
%dir %attr (0755, root, sys) %{_datadir} |
|
214 |
%{_datadir}/gimp/*/help/it |
|
14554 | 215 |
%{_datadir}/gimp/*/help/images/dialogs/it |
216 |
%{_datadir}/gimp/*/help/images/filters/it |
|
217 |
%{_datadir}/gimp/*/help/images/filters/examples/it |
|
218 |
%{_datadir}/gimp/*/help/images/menus/it |
|
219 |
%{_datadir}/gimp/*/help/images/preferences/it |
|
220 |
%{_datadir}/gimp/*/help/images/tool-options/it |
|
221 |
%{_datadir}/gimp/*/help/images/toolbox/it |
|
222 |
%{_datadir}/gimp/*/help/images/tutorials/it |
|
223 |
%{_datadir}/gimp/*/help/images/using/it |
|
11461 | 224 |
|
225 |
%files ko |
|
226 |
%defattr (-, root, bin) |
|
227 |
%dir %attr (0755, root, sys) %{_datadir} |
|
228 |
%{_datadir}/gimp/*/help/ko |
|
14554 | 229 |
%{_datadir}/gimp/*/help/images/dialogs/ko |
16407 | 230 |
%{_datadir}/gimp/*/help/images/preferences/ko |
14554 | 231 |
%{_datadir}/gimp/*/help/images/toolbox/ko |
16407 | 232 |
%{_datadir}/gimp/*/help/images/tutorials/ko |
14554 | 233 |
%{_datadir}/gimp/*/help/images/using/ko |
12212 | 234 |
|
235 |
%files pl |
|
236 |
%defattr (-, root, bin) |
|
237 |
%dir %attr (0755, root, sys) %{_datadir} |
|
238 |
%{_datadir}/gimp/*/help/pl |
|
11461 | 239 |
|
240 |
%files ru |
|
241 |
%defattr (-, root, bin) |
|
242 |
%dir %attr (0755, root, sys) %{_datadir} |
|
243 |
%{_datadir}/gimp/*/help/ru |
|
14554 | 244 |
%{_datadir}/gimp/*/help/images/dialogs/ru |
16407 | 245 |
%{_datadir}/gimp/*/help/images/filters/ru |
14554 | 246 |
%{_datadir}/gimp/*/help/images/preferences/ru |
16407 | 247 |
%{_datadir}/gimp/*/help/images/toolbox/ru |
14554 | 248 |
%{_datadir}/gimp/*/help/images/using/ru |
11461 | 249 |
|
250 |
%files sv |
|
251 |
%defattr (-, root, bin) |
|
252 |
%dir %attr (0755, root, sys) %{_datadir} |
|
253 |
%{_datadir}/gimp/*/help/sv |
|
254 |
||
255 |
%files cs |
|
256 |
%defattr (-, root, bin) |
|
257 |
%dir %attr (0755, root, sys) %{_datadir} |
|
258 |
||
259 |
%files zhCN |
|
260 |
%defattr (-, root, bin) |
|
261 |
%dir %attr (0755, root, sys) %{_datadir} |
|
262 |
||
263 |
%files extra |
|
264 |
%defattr (-, root, bin) |
|
265 |
%dir %attr (0755, root, sys) %{_datadir} |
|
266 |
# nl locale |
|
267 |
%{_datadir}/gimp/*/help/nl |
|
14554 | 268 |
%{_datadir}/gimp/*/help/images/dialogs/nl |
269 |
%{_datadir}/gimp/*/help/images/preferences/nl |
|
270 |
%{_datadir}/gimp/*/help/images/using/nl |
|
271 |
%{_datadir}/gimp/*/help/images/toolbox/nl |
|
11461 | 272 |
# no locale |
273 |
%{_datadir}/gimp/*/help/no |
|
14554 | 274 |
%{_datadir}/gimp/*/help/images/dialogs/no |
275 |
%{_datadir}/gimp/*/help/images/filters/no |
|
276 |
%{_datadir}/gimp/*/help/images/filters/examples/no |
|
277 |
%{_datadir}/gimp/*/help/images/math/no |
|
278 |
%{_datadir}/gimp/*/help/images/menus/no |
|
279 |
%{_datadir}/gimp/*/help/images/preferences/no |
|
280 |
%{_datadir}/gimp/*/help/images/using/no |
|
281 |
%{_datadir}/gimp/*/help/images/toolbox/no |
|
282 |
%{_datadir}/gimp/*/help/images/tutorials/no |
|
11461 | 283 |
%endif |
284 |
||
285 |
%changelog |
|
16407 | 286 |
* Fri Aug 28 2009 - [email protected] |
287 |
- Remove ko and ru locale files if no "--with-l10n" specified. |
|
16381 | 288 |
* Thu Aug 27 2009 - [email protected] |
289 |
- Change own to leon.sha. |
|
16211
81fe3594640b
Remove pl locale files if no "--with-l10n" specified
davelam
parents:
16180
diff
changeset
|
290 |
* Thu Aug 06 2009 - [email protected] |
81fe3594640b
Remove pl locale files if no "--with-l10n" specified
davelam
parents:
16180
diff
changeset
|
291 |
- Remove pl locale files if no "--with-l10n" specified. |
14554 | 292 |
* Wed Nov 05 2008 - [email protected] |
293 |
- Updated pkgmap |
|
294 |
||
13585 | 295 |
* Mon Sep 15 2008 - [email protected] |
296 |
- Update copyright |
|
297 |
||
12212 | 298 |
* Fri Apr 25 2008 - [email protected] |
299 |
- Add pl package after bump to 2.4.1. Remove obsoleted images. |
|
300 |
||
11461 | 301 |
* Fri Jan 11 2008 - [email protected] |
302 |
- create - split from SUNWgnome-img-editor.spec |