]>
Commit | Line | Data |
---|---|---|
74131d84 AM |
1 | # TODO: |
2 | # - fix mimelnk installation | |
3 | # | |
b76338ad BS |
4 | # Conditional build: |
5 | %bcond_without packages3D #do not build packages3D | |
6 | ||
4b5aca64 | 7 | Summary: KiCad - is a GPL'd suite of programs for EDA |
34a5277b | 8 | Summary(pl.UTF-8): KiCad - zestaw programów na licencji GPL zaliczany do kategorii EDA |
4b5aca64 | 9 | Name: kicad |
e946d889 | 10 | Version: 5.1.9 |
da408722 | 11 | Release: 1 |
14ef21aa | 12 | Epoch: 1 |
22291059 | 13 | License: GPL v2+ |
34a5277b | 14 | Group: X11/Applications |
da408722 | 15 | Source0: https://gitlab.com/kicad/code/kicad/-/archive/%{version}/%{name}-%{version}.tar.gz |
e946d889 | 16 | # Source0-md5: b2c2f141b1a6342977b1192702b8d26d |
da408722 | 17 | Source1: https://gitlab.com/kicad/services/kicad-doc/-/archive/%{version}/%{name}-doc-%{version}.tar.gz |
e946d889 | 18 | # Source1-md5: a33f909d55443a0fa313544f8a5d91e8 |
da408722 | 19 | Source2: https://gitlab.com/kicad/code/kicad-i18n/-/archive/%{version}/%{name}-i18n-%{version}.tar.gz |
e946d889 | 20 | # Source2-md5: 4fceb1f3080b7db7d66d40d1a61551df |
1e16fbc7 | 21 | Source3: https://gitlab.com/kicad/libraries/kicad-symbols/-/archive/%{version}/%{name}-symbols-%{version}.tar.bz2 |
e946d889 | 22 | # Source3-md5: 62537b0b9d3492c01aa59ec09d599f58 |
1e16fbc7 | 23 | Source4: https://gitlab.com/kicad/libraries/kicad-footprints/-/archive/%{version}/%{name}-footprints-%{version}.tar.bz2 |
e946d889 | 24 | # Source4-md5: ce648b6deb4cea3e2003e43bb07c1477 |
1e16fbc7 | 25 | Source5: https://gitlab.com/kicad/libraries/kicad-packages3D/-/archive/%{version}/%{name}-packages3D-%{version}.tar.bz2 |
e946d889 | 26 | # Source5-md5: ef42e74c7c92303d8853b830a196df3b |
1e16fbc7 | 27 | Source6: https://gitlab.com/kicad/libraries/kicad-templates/-/archive/%{version}/%{name}-templates-%{version}.tar.bz2 |
e946d889 | 28 | # Source6-md5: 8fa78fabd2d121712875446e0bd05af4 |
c4549a7b | 29 | Patch0: nostrip.patch |
74131d84 | 30 | URL: http://www.kicad-pcb.org/ |
84732aaf | 31 | BuildRequires: GLM >= 0.9.9.4 |
26c94a74 | 32 | BuildRequires: OCE-devel |
c4549a7b JR |
33 | BuildRequires: appstream-glib |
34 | BuildRequires: asciidoc | |
254fbc44 | 35 | BuildRequires: boost-devel |
b3e6c3ec | 36 | BuildRequires: cmake >= 2.6.4 |
c4549a7b JR |
37 | BuildRequires: curl-devel |
38 | BuildRequires: dblatex | |
39 | BuildRequires: desktop-file-utils | |
40 | BuildRequires: doxygen | |
41 | BuildRequires: glew-devel | |
26c94a74 | 42 | BuildRequires: ngspice-devel |
c4549a7b JR |
43 | BuildRequires: openssl-devel |
44 | BuildRequires: perl-Unicode-LineBreak | |
45 | BuildRequires: po4a >= 0.51 | |
dc404520 | 46 | BuildRequires: python-wxPython-devel |
22291059 | 47 | BuildRequires: rpmbuild(macros) >= 1.600 |
34a5277b | 48 | BuildRequires: sed >= 4.0 |
254fbc44 | 49 | BuildRequires: which |
c4549a7b | 50 | BuildRequires: wxGTK2-unicode-devel >= 3.0.0 |
7e103374 AM |
51 | BuildRequires: wxGTK2-unicode-gl-devel >= 3.0.0 |
52 | BuildRequires: wxWidgets-devel >= 3.0.0 | |
b3e6c3ec | 53 | BuildRequires: zlib-devel |
14ef21aa | 54 | Obsoletes: kicad-doc-hu < 1:4.0.6-1 |
ce396805 | 55 | Obsoletes: kicad-doc-nl < 1:5.1.0-1 |
14ef21aa JR |
56 | Obsoletes: kicad-doc-pt < 1:4.0.6-1 |
57 | Obsoletes: kicad-doc-zh_CN < 1:4.0.6-1 | |
4b5aca64 | 58 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
59 | ||
60 | %description | |
61 | KiCad consists of a project manager and four main programs: | |
62 | - kicad - the project manager. | |
63 | - eeschema - the schematic editor. | |
64 | - cvpcb - the footprint selector for components used in the circuit | |
65 | design. | |
66 | - pcbnew - the PCB layout program. | |
67 | - gerbview - the Gerber (photoplotter documents) viewer. | |
68 | ||
69 | %description -l pl.UTF-8 | |
22291059 | 70 | KiCad składa się z menadżera projektów oraz czterech głównych |
4b5aca64 | 71 | programów: |
72 | - kicad - menadżer projektów. | |
73 | - eeschema - edytor schematów. | |
34a5277b JB |
74 | - cvpcb - narzędzie do wybierania elementów używanych przy |
75 | projektowaniu płytek drukowanych. | |
76 | - pcbnew - program do projektowania płytek drukowanych. | |
77 | - gerbview - przeglądarka plików Gerber (dokumentów dla fotoplotera). | |
4b5aca64 | 78 | |
26c94a74 BS |
79 | %package library |
80 | Summary: Symbols, footprints and templates for kicad | |
81 | Summary(pl.UTF-8): Symbole, obudowy i wzorce dla kicad | |
82 | %if "%{_rpmversion}" >= "5" | |
83 | BuildArch: noarch | |
84 | %endif | |
85 | Requires: kicad >= 1:5.0.0 | |
86 | ||
87 | %description library | |
88 | Symbols, footprints and templates for kicad. | |
89 | ||
90 | %description -l pl.UTF-8 | |
91 | Symbole, obudowy i wzorce dla kicad. | |
92 | ||
93 | %package packages3D | |
94 | Summary: Packages3D for kicad | |
95 | Summary(pl.UTF-8): Trójwymiarowe modele obudów dla kicad | |
96 | %if "%{_rpmversion}" >= "5" | |
97 | BuildArch: noarch | |
98 | %endif | |
99 | Requires: kicad >= 1:5.0.0 | |
100 | ||
101 | %description packages3D | |
102 | Packages3D for kicad | |
103 | ||
104 | %description -l pl.UTF-8 | |
105 | Trójwymiarowe modele obudów dla kicad. | |
106 | ||
88bfc3ad ER |
107 | %package doc |
108 | Summary: Documentation for kicad | |
109 | Summary(fr.UTF-8): Documentations pour kicad en anglais | |
110 | License: GPL v2+ | |
111 | Group: Documentation | |
112 | %if "%{_rpmversion}" >= "5" | |
113 | BuildArch: noarch | |
114 | %endif | |
115 | ||
116 | %description doc | |
117 | Documentation and tutorials for kicad in English | |
118 | ||
c4549a7b | 119 | %package doc-ca |
0af3e185 | 120 | Summary: Documentation for Kicad in Catalan |
c4549a7b | 121 | Group: Documentation |
d2529fc6 | 122 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
c4549a7b JR |
123 | %if "%{_rpmversion}" >= "5" |
124 | BuildArch: noarch | |
125 | %endif | |
126 | ||
127 | %description doc-ca | |
0af3e185 | 128 | Documentation and tutorials for Kicad in Catalan. |
c4549a7b | 129 | |
88bfc3ad ER |
130 | %package doc-de |
131 | Summary: Documentation for Kicad in German | |
132 | Summary(fr.UTF-8): Documentations pour kicad en allemand | |
133 | Group: Documentation | |
d2529fc6 | 134 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
135 | %if "%{_rpmversion}" >= "5" |
136 | BuildArch: noarch | |
137 | %endif | |
138 | ||
139 | %description doc-de | |
0af3e185 | 140 | Documentation and tutorials for Kicad in German. |
88bfc3ad ER |
141 | |
142 | %package doc-es | |
143 | Summary: Documentation for Kicad in Spanish | |
144 | Summary(fr.UTF-8): Documentations pour kicad en espagnol | |
145 | Group: Documentation | |
d2529fc6 | 146 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
147 | %if "%{_rpmversion}" >= "5" |
148 | BuildArch: noarch | |
149 | %endif | |
150 | ||
151 | %description doc-es | |
0af3e185 | 152 | Documentation and tutorials for Kicad in Spanish. |
88bfc3ad ER |
153 | |
154 | %package doc-fr | |
155 | Summary: Documentation for Kicad in French | |
156 | Summary(fr.UTF-8): Documentations pour kicad en français | |
157 | Group: Documentation | |
d2529fc6 | 158 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
159 | %if "%{_rpmversion}" >= "5" |
160 | BuildArch: noarch | |
161 | %endif | |
162 | ||
163 | %description doc-fr | |
0af3e185 | 164 | Documentation and tutorials for Kicad in French. |
88bfc3ad | 165 | |
c4549a7b | 166 | %package doc-id |
0af3e185 | 167 | Summary: Documentation for Kicad in Indonesian |
88bfc3ad | 168 | Group: Documentation |
d2529fc6 | 169 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
170 | %if "%{_rpmversion}" >= "5" |
171 | BuildArch: noarch | |
172 | %endif | |
173 | ||
c4549a7b | 174 | %description doc-id |
0af3e185 | 175 | Documentation and tutorials for Kicad in Indonesian. |
88bfc3ad ER |
176 | |
177 | %package doc-it | |
178 | Summary: Documentation for Kicad in Italian | |
179 | Summary(fr.UTF-8): Documentations pour kicad en italien | |
180 | Group: Documentation | |
d2529fc6 | 181 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
182 | %if "%{_rpmversion}" >= "5" |
183 | BuildArch: noarch | |
184 | %endif | |
185 | ||
186 | %description doc-it | |
0af3e185 | 187 | Documentation and tutorials for Kicad in Italian. |
88bfc3ad ER |
188 | |
189 | %package doc-ja | |
190 | Summary: Documentation for Kicad in Japanese | |
191 | Summary(fr.UTF-8): Documentations pour kicad en japonais | |
192 | Group: Documentation | |
d2529fc6 | 193 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
194 | %if "%{_rpmversion}" >= "5" |
195 | BuildArch: noarch | |
196 | %endif | |
197 | ||
198 | %description doc-ja | |
0af3e185 | 199 | Documentation and tutorials for Kicad in Japanese. |
88bfc3ad | 200 | |
c4549a7b JR |
201 | %package doc-pl |
202 | Summary: Documentation for Kicad in Polish | |
203 | Summary(fr.UTF-8): Documentations pour kicad en polonais | |
88bfc3ad | 204 | Group: Documentation |
d2529fc6 | 205 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
206 | %if "%{_rpmversion}" >= "5" |
207 | BuildArch: noarch | |
208 | %endif | |
209 | ||
c4549a7b | 210 | %description doc-pl |
0af3e185 | 211 | Documentation and tutorials for Kicad in Polish. |
88bfc3ad ER |
212 | |
213 | %package doc-ru | |
214 | Summary: Documentation for Kicad in Russian | |
215 | Summary(fr.UTF-8): Documentations pour kicad en russe | |
216 | Group: Documentation | |
d2529fc6 | 217 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} |
88bfc3ad ER |
218 | %if "%{_rpmversion}" >= "5" |
219 | BuildArch: noarch | |
220 | %endif | |
221 | ||
222 | %description doc-ru | |
0af3e185 | 223 | Documentation and tutorials for Kicad in Russian. |
88bfc3ad | 224 | |
26c94a74 BS |
225 | %package doc-zh |
226 | Summary: Documentation for Kicad in Chinese | |
227 | Summary(fr.UTF-8): Documentations pour kicad en chinois | |
228 | Group: Documentation | |
229 | Requires: %{name}-doc = %{epoch}:%{version}-%{release} | |
230 | %if "%{_rpmversion}" >= "5" | |
231 | BuildArch: noarch | |
232 | %endif | |
233 | ||
234 | %description doc-zh | |
235 | Documentation and tutorials for Kicad in Chinese. | |
236 | ||
4b5aca64 | 237 | %prep |
b76338ad | 238 | %setup -q -a 1 -a 2 -a 3 -a 4 %{?with_packages3D:-a 5} -a 6 |
7e103374 | 239 | %patch0 -p1 |
c7773671 | 240 | |
4b5aca64 | 241 | %build |
26c94a74 BS |
242 | |
243 | build_library() { | |
244 | mkdir "$1/build" | |
245 | cd "$1/build" | |
246 | %cmake .. | |
247 | %{__make} VERBOSE=1 | |
248 | cd ../.. | |
249 | } | |
c4549a7b | 250 | # Symbols libraries |
26c94a74 BS |
251 | build_library %{name}-symbols-%{version} |
252 | build_library %{name}-footprints-%{version} | |
253 | build_library %{name}-templates-%{version} | |
b76338ad | 254 | %if %{with packages3D} |
26c94a74 | 255 | build_library %{name}-packages3D-%{version} |
b76338ad | 256 | %endif |
74131d84 | 257 | |
c4549a7b | 258 | # Documentation |
ed1b91c8 JR |
259 | mkdir %{name}-doc-%{version}/build |
260 | cd %{name}-doc-%{version}/build | |
261 | %cmake .. \ | |
262 | -DBUILD_FORMATS=html | |
1046b699 | 263 | %{__make} VERBOSE=1 |
ed1b91c8 | 264 | cd ../.. |
7e103374 | 265 | |
c4549a7b JR |
266 | # Translations |
267 | mkdir %{name}-i18n-%{version}/build | |
268 | cd %{name}-i18n-%{version}/build | |
269 | %cmake .. \ | |
270 | -DKICAD_I18N_UNIX_STRICT_PATH=ON | |
1046b699 | 271 | %{__make} VERBOSE=1 |
74131d84 AM |
272 | cd ../.. |
273 | ||
7e103374 | 274 | # Core components |
ed1b91c8 JR |
275 | mkdir build |
276 | cd build | |
277 | %cmake .. \ | |
c4549a7b JR |
278 | -DKICAD_SKIP_BOOST=ON \ |
279 | -DKICAD_BUILD_VERSION="%{version}-%{release}" \ | |
26c94a74 BS |
280 | -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config \ |
281 | -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON | |
c4549a7b JR |
282 | |
283 | %{__make} VERBOSE=1 | |
4b5aca64 | 284 | |
285 | %install | |
286 | rm -rf $RPM_BUILD_ROOT | |
287 | ||
26c94a74 BS |
288 | install_library() { |
289 | %{__make} -C $1/build install \ | |
290 | DESTDIR=$RPM_BUILD_ROOT | |
291 | } | |
292 | ||
c4549a7b | 293 | # KiCAD itself |
ed1b91c8 | 294 | %{__make} -C build install \ |
c4549a7b JR |
295 | DESTDIR=$RPM_BUILD_ROOT |
296 | ||
297 | # Symbols libraries | |
26c94a74 BS |
298 | install_library %{name}-symbols-%{version} |
299 | install_library %{name}-footprints-%{version} | |
300 | install_library %{name}-templates-%{version} | |
b76338ad | 301 | %if %{with packages3D} |
26c94a74 | 302 | install_library %{name}-packages3D-%{version} |
b76338ad BS |
303 | %else |
304 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/packages3d | |
305 | %endif | |
ed1b91c8 JR |
306 | |
307 | # Documentation | |
308 | %{__make} -C %{name}-doc-%{version}/build install \ | |
309 | DESTDIR=$RPM_BUILD_ROOT | |
310 | ||
311 | # Translations | |
312 | %{__make} -C %{name}-i18n-%{version}/build install \ | |
c4549a7b | 313 | DESTDIR=$RPM_BUILD_ROOT |
74131d84 | 314 | |
74131d84 AM |
315 | %find_lang %{name} |
316 | ||
317 | %post | |
26c94a74 | 318 | /sbin/ldconfig |
74131d84 AM |
319 | %update_mime_database |
320 | %update_desktop_database_post | |
321 | %update_icon_cache hicolor | |
2a9578af | 322 | |
74131d84 | 323 | %postun |
26c94a74 | 324 | /sbin/ldconfig |
74131d84 AM |
325 | %update_mime_database |
326 | %update_desktop_database_postun | |
327 | %update_icon_cache hicolor | |
7a3fb9b5 | 328 | |
4b5aca64 | 329 | %clean |
330 | rm -rf $RPM_BUILD_ROOT | |
331 | ||
74131d84 | 332 | %files -f %{name}.lang |
4b5aca64 | 333 | %defattr(644,root,root,755) |
26c94a74 | 334 | %doc AUTHORS.txt Documentation |
74131d84 | 335 | %attr(755,root,root) %{_bindir}/bitmap2component |
c4549a7b JR |
336 | %attr(755,root,root) %{_bindir}/_cvpcb.kiface |
337 | %attr(755,root,root) %{_bindir}/dxf2idf | |
2d418e55 | 338 | %attr(755,root,root) %{_bindir}/eeschema |
c4549a7b | 339 | %attr(755,root,root) %{_bindir}/_eeschema.kiface |
2d418e55 | 340 | %attr(755,root,root) %{_bindir}/gerbview |
c4549a7b JR |
341 | %attr(755,root,root) %{_bindir}/_gerbview.kiface |
342 | %attr(755,root,root) %{_bindir}/idf2vrml | |
343 | %attr(755,root,root) %{_bindir}/idfcyl | |
344 | %attr(755,root,root) %{_bindir}/idfrect | |
74131d84 | 345 | %attr(755,root,root) %{_bindir}/kicad |
26c94a74 | 346 | %attr(755,root,root) %{_bindir}/kicad2step |
74131d84 | 347 | %attr(755,root,root) %{_bindir}/pcb_calculator |
c4549a7b | 348 | %attr(755,root,root) %{_bindir}/_pcb_calculator.kiface |
74131d84 | 349 | %attr(755,root,root) %{_bindir}/pcbnew |
c4549a7b JR |
350 | %attr(755,root,root) %{_bindir}/_pcbnew.kiface |
351 | %attr(755,root,root) %{_bindir}/pl_editor | |
352 | %attr(755,root,root) %{_bindir}/_pl_editor.kiface | |
26c94a74 BS |
353 | %attr(755,root,root) %{_libdir}/libkicad_3dsg.so.*.*.* |
354 | %ghost %{_libdir}/libkicad_3dsg.so | |
7a3fb9b5 ŁK |
355 | %dir %{_libdir}/%{name} |
356 | %dir %{_libdir}/%{name}/plugins | |
26c94a74 BS |
357 | %dir %{_libdir}/%{name}/plugins/3d |
358 | %attr(755,root,root) %{_libdir}/%{name}/plugins/3d/*.so | |
359 | #python - to subpackage? | |
360 | %attr(755,root,root) %{_libdir}/python2.7/site-packages/_pcbnew.so | |
361 | %{_libdir}/python2.7/site-packages/pcbnew.py | |
362 | %dir %{_datadir}/%{name} | |
363 | %{_datadir}/%{name}/demos | |
364 | %{_datadir}/%{name}/plugins | |
365 | %{_datadir}/%{name}/scripting | |
366 | %dir %{_datadir}/%{name}/library | |
367 | %dir %{_datadir}/%{name}/modules | |
368 | %dir %{_datadir}/%{name}/modules/packages3d | |
369 | %dir %{_datadir}/%{name}/template | |
74131d84 AM |
370 | %{_iconsdir}/hicolor/*x*/*/*.png |
371 | %{_iconsdir}/hicolor/scalable/*/*.svg | |
26c94a74 | 372 | %{_datadir}/mime/packages/kicad-*.xml |
c4549a7b JR |
373 | %{_datadir}/appdata/kicad.appdata.xml |
374 | %{_desktopdir}/eeschema.desktop | |
375 | %{_desktopdir}/%{name}.desktop | |
376 | %{_desktopdir}/bitmap2component.desktop | |
c4549a7b JR |
377 | %{_desktopdir}/gerbview.desktop |
378 | %{_desktopdir}/pcbcalculator.desktop | |
379 | %{_desktopdir}/pcbnew.desktop | |
380 | #%{_datadir}/mimelnk/application/x-kicad-pcb.desktop | |
381 | #%{_datadir}/mimelnk/application/x-kicad-project.desktop | |
382 | #%{_datadir}/mimelnk/application/x-kicad-schematic.desktop | |
88bfc3ad ER |
383 | |
384 | %dir %{_docdir}/%{name} | |
26c94a74 BS |
385 | |
386 | %files library | |
387 | %defattr(644,root,root,755) | |
388 | %{_datadir}/%{name}/library/* | |
389 | %{_datadir}/%{name}/modules/*.pretty | |
390 | %{_datadir}/%{name}/template/* | |
391 | ||
b76338ad | 392 | %if %{with packages3D} |
26c94a74 BS |
393 | %files packages3D |
394 | %defattr(644,root,root,755) | |
395 | %{_datadir}/%{name}/modules/packages3d/* | |
b76338ad | 396 | %endif |
88bfc3ad ER |
397 | |
398 | %files doc | |
399 | %defattr(644,root,root,755) | |
400 | %dir %{_docdir}/%{name} | |
88bfc3ad ER |
401 | %dir %{_docdir}/%{name}/help |
402 | %{_docdir}/%{name}/help/en | |
88bfc3ad ER |
403 | %{_docdir}/%{name}/scripts |
404 | ||
c4549a7b JR |
405 | %files doc-ca |
406 | %defattr(644,root,root,755) | |
407 | %lang(ca) %{_docdir}/%{name}/help/ca | |
408 | ||
88bfc3ad ER |
409 | %files doc-de |
410 | %defattr(644,root,root,755) | |
411 | %lang(de) %{_docdir}/%{name}/help/de | |
88bfc3ad ER |
412 | |
413 | %files doc-es | |
414 | %defattr(644,root,root,755) | |
415 | %lang(es) %{_docdir}/%{name}/help/es | |
88bfc3ad ER |
416 | |
417 | %files doc-fr | |
418 | %defattr(644,root,root,755) | |
419 | %lang(fr) %{_docdir}/%{name}/help/fr | |
88bfc3ad | 420 | |
c4549a7b | 421 | %files doc-id |
88bfc3ad | 422 | %defattr(644,root,root,755) |
c4549a7b | 423 | %lang(id) %{_docdir}/%{name}/help/id |
88bfc3ad ER |
424 | |
425 | %files doc-it | |
426 | %defattr(644,root,root,755) | |
427 | %lang(it) %{_docdir}/%{name}/help/it | |
88bfc3ad ER |
428 | |
429 | %files doc-ja | |
430 | %defattr(644,root,root,755) | |
431 | %lang(ja) %{_docdir}/%{name}/help/ja | |
88bfc3ad | 432 | |
c4549a7b | 433 | %files doc-pl |
88bfc3ad | 434 | %defattr(644,root,root,755) |
c4549a7b | 435 | %lang(pl) %{_docdir}/%{name}/help/pl |
88bfc3ad ER |
436 | |
437 | %files doc-ru | |
438 | %defattr(644,root,root,755) | |
439 | %lang(ru) %{_docdir}/%{name}/help/ru | |
26c94a74 BS |
440 | |
441 | %files doc-zh | |
442 | %defattr(644,root,root,755) | |
443 | %lang(zh) %{_docdir}/%{name}/help/zh |