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 |
#
|
|
10 |
# Owner: dkenny
|
|
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
|
|
133 |
for loc in cs de es fr hr it ko nl no ru sv zh_CN; do
|
|
134 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gimp/*/help/$loc
|
|
135 |
for subdir in callouts dialogs dialogs/examples filters filters/examples \
|
|
136 |
glossary math menus preferences tool-options toolbox tutorials using; do
|
|
137 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gimp/*/help/images/$subdir/$loc
|
|
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}
|
|
166 |
|
|
167 |
%if %build_l10n
|
|
168 |
%files de
|
|
169 |
%defattr (-, root, bin)
|
|
170 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
171 |
%{_datadir}/gimp/*/help/de
|
|
172 |
|
|
173 |
%files es
|
|
174 |
%defattr (-, root, bin)
|
|
175 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
176 |
%{_datadir}/gimp/*/help/es
|
|
177 |
|
|
178 |
%files fr
|
|
179 |
%defattr (-, root, bin)
|
|
180 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
181 |
%{_datadir}/gimp/*/help/fr
|
|
182 |
|
|
183 |
%files it
|
|
184 |
%defattr (-, root, bin)
|
|
185 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
186 |
%{_datadir}/gimp/*/help/it
|
|
187 |
|
|
188 |
%files ko
|
|
189 |
%defattr (-, root, bin)
|
|
190 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
191 |
%{_datadir}/gimp/*/help/ko
|
12212
|
192 |
|
|
193 |
%files pl
|
|
194 |
%defattr (-, root, bin)
|
|
195 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
196 |
%{_datadir}/gimp/*/help/pl
|
11461
|
197 |
|
|
198 |
%files ru
|
|
199 |
%defattr (-, root, bin)
|
|
200 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
201 |
%{_datadir}/gimp/*/help/ru
|
|
202 |
|
|
203 |
%files sv
|
|
204 |
%defattr (-, root, bin)
|
|
205 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
206 |
%{_datadir}/gimp/*/help/sv
|
|
207 |
|
|
208 |
%files cs
|
|
209 |
%defattr (-, root, bin)
|
|
210 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
211 |
|
|
212 |
%files zhCN
|
|
213 |
%defattr (-, root, bin)
|
|
214 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
215 |
|
|
216 |
%files extra
|
|
217 |
%defattr (-, root, bin)
|
|
218 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
219 |
# nl locale
|
|
220 |
%{_datadir}/gimp/*/help/nl
|
|
221 |
# no locale
|
|
222 |
%{_datadir}/gimp/*/help/no
|
|
223 |
%endif
|
|
224 |
|
|
225 |
%changelog
|
12212
|
226 |
* Fri Apr 25 2008 - [email protected]
|
|
227 |
- Add pl package after bump to 2.4.1. Remove obsoleted images.
|
|
228 |
|
11461
|
229 |
* Fri Jan 11 2008 - [email protected]
|
|
230 |
- create - split from SUNWgnome-img-editor.spec
|