]>
Commit | Line | Data |
---|---|---|
198b2d1a | 1 | # TODO: |
198b2d1a JR |
2 | # - include ext/ in docs |
3 | # - replace ri with fastri | |
97b7914a | 4 | # - patch ri to search multiple indexes (one per package), so RPMs can install ri docs |
0b1956f4 | 5 | # - fix inconsistencies with versioned vs not-versioned dirs (see dirname hacks in configure) |
0328b0ae | 6 | # - fix requires/provides 'ruby(abi) = ' |
a460ac56 | 7 | # - nil this macro: %ruby_mod_ver_requires_eq "Requires: ruby-modules(ver) = " |
38c47f7a | 8 | # - fix tk build |
198b2d1a | 9 | # |
2acc5f17 | 10 | # Conditional build: |
bc991d5a | 11 | %bcond_without doc # skip (time-consuming) docs generating; intended for speed up test builds |
bc991d5a | 12 | %bcond_without tk # skip building package with Tk bindings |
05f75f09 | 13 | %bcond_without batteries # Don't include rubygems, json, rake, minitest |
9c41e51a | 14 | %bcond_without default_ruby # use this Ruby as default system Ruby |
92ff5331 | 15 | %bcond_with bootstrap # build bootstrap version |
fa311386 | 16 | |
08c2f6e5 | 17 | %define rel 0.5 |
45f22c60 | 18 | %define ruby_version 2.0 |
45f22c60 | 19 | %define basever 2.0.0 |
a065c76e | 20 | %define patchlevel 451 |
9c41e51a | 21 | |
99934935 | 22 | %define ruby_suffix %{!?with_default_ruby:%{ruby_version}} |
4343a821 | 23 | %define doc_version 2_0_0 |
45f22c60 ER |
24 | |
25 | %define bigdecimal_ver 1.2.0 | |
26 | %define io_console_ver 0.4.2 | |
d8228776 | 27 | %define irb_ver 0.9.6 |
45f22c60 ER |
28 | %define json_ver 1.7.7 |
29 | %define minitest_ver 4.3.2 | |
30 | %define psych_ver 2.0.0 | |
31 | %define rake_ver 0.9.6 | |
32 | %define rdoc_ver 4.0.0 | |
33 | %define rubygems_ver 2.0.14 | |
34 | %define test_unit_ver 2.0.0.0 | |
35 | ||
9c41e51a | 36 | %define oname ruby |
6e2f9b3c | 37 | Summary: Ruby - interpreted scripting language |
3c3949cf ER |
38 | Summary(ja.UTF-8): オブジェクト指向言語Rubyインタプリタ |
39 | Summary(pl.UTF-8): Ruby - interpretowany język skryptowy | |
40 | Summary(pt_BR.UTF-8): Linguagem de script orientada a objeto | |
41 | Summary(zh_CN.UTF-8): ruby - 一种快速高效的面向对象脚本编程语言 | |
9c41e51a | 42 | Name: ruby%{ruby_suffix} |
6cd63ddf | 43 | Version: %{basever}.%{patchlevel} |
116a558f | 44 | Release: %{rel} |
01204e8f | 45 | Epoch: 1 |
267654e7 ER |
46 | # Public Domain for example for: include/ruby/st.h, strftime.c, ... |
47 | License: (Ruby or BSD) and Public Domain | |
6eb17ef6 | 48 | Group: Development/Languages |
45f22c60 | 49 | Source0: ftp://ftp.ruby-lang.org/pub/ruby/2.0/%{oname}-%{basever}-p%{patchlevel}.tar.bz2 |
a065c76e | 50 | # Source0-md5: 908e4d1dbfe7362b15892f16af05adf8 |
9c41e51a | 51 | Source1: http://www.ruby-doc.org/download/%{oname}-doc-bundle.tar.gz |
775b0723 | 52 | # Source1-md5: ad1af0043be98ba1a4f6d0185df63876 |
9c41e51a | 53 | Source2: http://www.ruby-doc.org/downloads/%{oname}_%{doc_version}_stdlib_rdocs.tgz |
b5713cc6 | 54 | # Source2-md5: e93307804295a43512cafbf660a4cbe0 |
9c41e51a | 55 | Source3: http://www.ruby-doc.org/downloads/%{oname}_%{doc_version}_core_rdocs.tgz |
b5713cc6 | 56 | # Source3-md5: 900186f317b51edfbb2f5317f8855719 |
9c41e51a | 57 | Source100: ftp://ftp.ruby-lang.org/pub/ruby/1.8/%{oname}-1.8.7-p330.tar.gz |
92ff5331 | 58 | # Source100-md5: 50a49edb787211598d08e756e733e42e |
af4f9d38 | 59 | Source4: rdoc.1 |
af4f9d38 | 60 | Source5: testrb.1 |
9c41e51a ER |
61 | Patch0: %{oname}-lib64.patch |
62 | Patch1: %{oname}-ffs.patch | |
360c41c0 | 63 | Patch2: fix-bison-invocation.patch |
d78ec589 | 64 | # http://redmine.ruby-lang.org/issues/5231 |
45f22c60 | 65 | #Patch3: disable-versioned-paths.patch |
d78ec589 | 66 | # TODO: Should be submitted upstream? |
45f22c60 | 67 | #Patch4: arch-specific-dir.patch |
d78ec589 | 68 | # http://redmine.ruby-lang.org/issues/5281 |
45f22c60 | 69 | #Patch5: site-and-vendor-arch-flags.patch |
b5465d0c ER |
70 | # Make mkmf verbose by default |
71 | Patch6: mkmf-verbose.patch | |
87688b10 | 72 | Patch7: strip-ccache.patch |
45f22c60 ER |
73 | Patch8: duplicated-paths.patch |
74 | Patch9: DESTDIR.patch | |
75 | Patch10: empty-ruby-version.patch | |
76 | Patch11: rubygems-2.0.0-binary-extensions.patch | |
77 | Patch12: custom-rubygems-location.patch | |
ed7247e0 | 78 | Patch13: readline-6.3.patch |
7c36cd5d | 79 | URL: http://www.ruby-lang.org/ |
19b741fe | 80 | BuildRequires: autoconf >= 2.60 |
53c95475 | 81 | BuildRequires: automake |
f2e66748 | 82 | BuildRequires: bison >= 1.875 |
f0eb2dd9 | 83 | BuildRequires: db-devel |
e9f2c6fe | 84 | BuildRequires: gdbm-devel >= 1.8.3 |
9ae7df75 | 85 | BuildRequires: libffi-devel |
1968db6d | 86 | BuildRequires: ncurses-devel |
f33fb184 | 87 | BuildRequires: openssl-devel |
74c8af09 | 88 | BuildRequires: pkgconfig |
933aeb0e | 89 | BuildRequires: readline-devel >= 4.2 |
d25d71f0 | 90 | BuildRequires: rpm-build >= 5.4.10-49 |
c60d9276 | 91 | # boostrap needs ruby binary, erb module |
fae5937b | 92 | %{!?with_bootstrap:BuildRequires: rpm-rubyprov} |
c60d9276 | 93 | %{!?with_bootstrap:BuildRequires: ruby-modules} |
0edf5e88 | 94 | %{!?with_bootstrap:BuildRequires: ruby} |
7911cce0 | 95 | BuildRequires: sed >= 4.0 |
92ff5331 | 96 | BuildRequires: yaml-devel |
15ecb21e | 97 | %if %{with tk} |
e14a2f74 | 98 | BuildRequires: tk-devel |
15ecb21e | 99 | %endif |
f0eb2dd9 | 100 | Requires(post,postun): /sbin/ldconfig |
31058abe | 101 | Provides: ruby(ver) = %{ruby_version} |
ee1edb11 | 102 | Obsoletes: ruby-REXML <= 2.4.0-2 |
bb5582fa | 103 | Obsoletes: ruby-doc < 1.8.4 |
ee1edb11 | 104 | Obsoletes: ruby-fastthread <= 0.6.3 |
e78dba6a | 105 | Conflicts: rpm-build-macros < 1.692 |
a2963aa1 JR |
106 | Conflicts: ruby-activesupport < 2.3.11-2 |
107 | Conflicts: ruby-activesupport2 < 2.3.11-2 | |
584b8bcb | 108 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
4ab119cd | 109 | |
2db0575e | 110 | %define ruby_ridir %{_datadir}/ri/%{ruby_version}/system |
45f22c60 ER |
111 | #%define gem_dir %{_datadir}/gems |
112 | #%define gem_dir %{_datadir}/%{oname}/gems/%{ruby_version} | |
113 | %define gem_dir %{_datadir}/%{oname}/%{ruby_version}/gems | |
d78ec589 | 114 | |
f493239c ER |
115 | # location where rubygems is installed |
116 | %define rubygems_dir %{ruby_libdir} | |
d78ec589 | 117 | |
9c41e51a | 118 | %define ruby_archdir %{_libdir}/%{oname}/%{ruby_version} |
45f22c60 | 119 | %define ruby_libarchdir %{_libdir}/%{oname}/%{ruby_version} |
9c41e51a | 120 | %define ruby_libdir %{_datadir}/%{oname}/%{ruby_version} |
d78ec589 ER |
121 | |
122 | # This is the local lib/arch and should not be used for packaging. | |
5c3d5a0e | 123 | %define sitedir site_ruby |
9c41e51a | 124 | %define ruby_sitearchdir %{_prefix}/local/%{_lib}/%{oname}/%{sitedir}/%{ruby_version} |
08c2f6e5 | 125 | %define ruby_sitelibdir %{_prefix}/local/share/%{oname}/%{sitedir} |
d78ec589 ER |
126 | |
127 | # This is the general location for libs/archs compatible with all | |
128 | # or most of the Ruby versions available in the PLD repositories. | |
5c3d5a0e | 129 | %define vendordir vendor_ruby |
9c41e51a | 130 | %define ruby_vendorarchdir %{_libdir}/%{oname}/%{vendordir}/%{ruby_version} |
08c2f6e5 | 131 | %define ruby_vendorlibdir %{_datadir}/%{oname}/%{vendordir} |
d78ec589 ER |
132 | |
133 | # TODO: drop legacy loadpaths after all ruby modules rebuilt in Th | |
9c41e51a ER |
134 | %define legacy_libdir %{_libdir}/%{oname}/%{ruby_version} |
135 | %define legacy_archdir %{_libdir}/%{oname}/%{ruby_version}/%{_target_cpu}-linux | |
136 | %define legacy_sitedir %{_libdir}/%{oname}/%{sitedir} | |
137 | %define legacy_sitelibdir %{_libdir}/%{oname}/%{sitedir}/%{ruby_version} | |
138 | %define legacy_sitearchdir %{_libdir}/%{oname}/%{sitedir}/%{ruby_version}/%{_target_cpu}-linux | |
139 | %define legacy_vendordir %{_libdir}/%{oname}/%{vendordir} | |
140 | %define legacy_vendorlibdir %{_libdir}/%{oname}/%{vendordir}/%{ruby_version} | |
141 | %define legacy_vendorarchdir %{_libdir}/%{oname}/%{vendordir}/%{ruby_version}/%{_target_cpu}-linux | |
5c3d5a0e ER |
142 | |
143 | %define legacy_siteloadpath %{legacy_sitelibdir}\\0%{legacy_sitearchdir}\\0%{legacy_sitedir} | |
b02dabe9 | 144 | %define legacy_vendorloadpath %{legacy_vendorarchdir} |
5c3d5a0e ER |
145 | %define legacy_loadpath %{legacy_archdir} |
146 | %define legacy_loadpaths %{legacy_siteloadpath}\\0%{legacy_vendorloadpath}\\0%{legacy_loadpath} | |
d78ec589 | 147 | |
8ea447c1 | 148 | # bleh, some nasty (gcc or ruby) bug still not fixed |
cc2dcaa2 | 149 | # (SEGV or "unexpected break" on miniruby run during build) |
8ea447c1 JB |
150 | %define specflags_ia64 -O0 |
151 | ||
88546731 | 152 | # ruby needs frame pointers for correct exception handling |
b66203d6 | 153 | %define specflags_ia32 -fno-omit-frame-pointer |
88546731 | 154 | |
4ab119cd | 155 | %description |
156 | Ruby is the interpreted scripting language for quick and easy | |
157 | object-oriented programming. It has many features to process text | |
158 | files and to do system management tasks (as in Perl). It is simple, | |
159 | straight-forward, extensible, and portable. | |
160 | ||
9fd96af7 | 161 | This package contains only shared library and ruby interpreter. To get |
162 | full-functional ruby environment install ruby-modules package. | |
163 | ||
a0a47c48 JR |
164 | %description -l ja.UTF-8 |
165 | Rubyはシンプルかつ強力なオブジェクト指向スクリプト言語です.Rubyは最初 | |
166 | から純粋なオブジェクト指向言語として設計されていますから,オブジェクト | |
15467dc7 | 167 | 指向プログラミングを手軽に行う事が出来ます.もちろん通常の手続き型のプ ログラミングも可能です. |
7c36cd5d | 168 | |
a0a47c48 JR |
169 | %description -l pl.UTF-8 |
170 | Ruby to interpretowany język skryptowy, w sam raz dla łatwego i | |
171 | szybkiego pisania zorientowanych obiektowo programów. Ma wiele funkcji | |
172 | ułatwiających przetwarzanie plików tekstowych i wykonywanie prac | |
173 | związanych z zarządzaniem systemu (podobnie jak Perl). Jest prosty, | |
174 | rozszerzalny i przenośny. | |
6e2f9b3c | 175 | |
a0a47c48 JR |
176 | Ten pakiet zawiera tylko bibliotekę dzieloną i interpreter ruby. |
177 | Zainstaluj pakiet ruby-modules, jeżeli potrzebujesz w pełni | |
178 | funkcjonalnego środowiska ruby. | |
9fd96af7 | 179 | |
a0a47c48 JR |
180 | %description -l pt_BR.UTF-8 |
181 | Ruby é uma linguagem de script interpretada de programação orientada a | |
182 | objeto. Possui diversas características para processamento de texto. É | |
183 | simples, extensível e direta. | |
7c36cd5d | 184 | |
9fd96af7 | 185 | %package modules |
186 | Summary: Ruby standard modules and utilities | |
3c3949cf | 187 | Summary(pl.UTF-8): Standardowe moduły i narzędzia dla języka Ruby |
9fd96af7 | 188 | Group: Development/Languages |
189 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
b688e9a5 | 190 | Suggests: ruby-rubygems |
ee1edb11 ER |
191 | Provides: ruby-bigdecimal = %{bigdecimal_ver} |
192 | Provides: ruby-io-console = %{io_console_ver} | |
05f75f09 ER |
193 | # ruby-modules deprecated, rpm5 generates ruby(abi) itself |
194 | Provides: ruby-modules(ver) = %{ruby_version} | |
195 | %if %{with batteries} | |
ee1edb11 | 196 | Provides: ruby-minitest = %{minitest_ver} |
ee1edb11 | 197 | Obsoletes: ruby-minitest <= 1.5.0 |
05f75f09 | 198 | %endif |
29a18971 ER |
199 | # FIXME later |
200 | Provides: ruby(abi) = %{ruby_version} | |
9fd96af7 | 201 | |
202 | %description modules | |
203 | Ruby standard modules and utilities: | |
204 | - erb - Tiny eRuby | |
7911cce0 | 205 | - testrb - automatic runner for Test::Unit of Ruby |
9fd96af7 | 206 | |
a0a47c48 JR |
207 | %description modules -l pl.UTF-8 |
208 | Standardowe moduły i narzędzia Ruby: | |
209 | - erb - mały eRuby | |
7911cce0 | 210 | - testrb - automatyczny runner dla Ruby Test::Unit |
9fd96af7 | 211 | |
265d0efe | 212 | %package tk |
213 | Summary: Ruby/Tk bindings | |
3c3949cf | 214 | Summary(pl.UTF-8): Wiązania Ruby/Tk |
e65aac33 | 215 | Group: Development/Languages |
69b51dc9 | 216 | Requires: %{name}-modules = %{epoch}:%{version}-%{release} |
265d0efe | 217 | |
218 | %description tk | |
45f22c60 | 219 | This package contains Ruby/Tk bindings. |
e65aac33 | 220 | |
a0a47c48 JR |
221 | %description tk -l pl.UTF-8 |
222 | Ten pakiet zawiera wiązania Ruby/Tk. | |
265d0efe | 223 | |
e14a2f74 | 224 | %package devel |
e14a2f74 | 225 | Summary: Ruby development libraries |
3c3949cf | 226 | Summary(pl.UTF-8): Biblioteki programistyczne interpretera języka Ruby |
9434194f | 227 | Group: Development/Languages |
9fd96af7 | 228 | Requires: %{name}-modules = %{epoch}:%{version}-%{release} |
92f362b7 ER |
229 | Requires: gcc |
230 | Requires: glibc-devel | |
b5465d0c | 231 | Requires: pkgconfig |
e14a2f74 | 232 | |
233 | %description devel | |
9434194f JB |
234 | Ruby development libraries. |
235 | ||
a0a47c48 JR |
236 | %description devel -l pl.UTF-8 |
237 | Biblioteki programistyczne interpretera języka Ruby. | |
e14a2f74 | 238 | |
87b9c30a | 239 | %package static |
240 | Summary: Ruby static libraries | |
3c3949cf | 241 | Summary(pl.UTF-8): Biblioteki statyczne Ruby |
87b9c30a | 242 | Group: Development/Languages |
f89d855e | 243 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
87b9c30a | 244 | |
245 | %description static | |
246 | Ruby static libraries. | |
247 | ||
a0a47c48 | 248 | %description static -l pl.UTF-8 |
87b9c30a | 249 | Biblioteki statyczne Ruby. |
250 | ||
754b419a | 251 | %package doc |
9fd96af7 | 252 | Summary: Ruby HTML documentation |
3c3949cf | 253 | Summary(pl.UTF-8): Dokumentacja HTML do Ruby |
9fd96af7 | 254 | Group: Documentation |
00595cdb ER |
255 | %if "%{_rpmversion}" >= "5" |
256 | BuildArch: noarch | |
257 | %endif | |
9fd96af7 | 258 | |
259 | %description doc | |
260 | Ruby HTML documentation: FAQ, guide, core and standard library. | |
261 | ||
a0a47c48 | 262 | %description doc -l pl.UTF-8 |
d99a4382 | 263 | Dokumentacja HTML do Ruby: FAQ, przewodnik, dokumentacja dla core i |
264 | stdlib. | |
69b51dc9 | 265 | |
9fd96af7 | 266 | %package doc-ri |
267 | Summary: Ruby ri documentation | |
3c3949cf | 268 | Summary(pl.UTF-8): Dokumentacja Ruby w formacie ri |
9fd96af7 | 269 | Group: Documentation |
69b51dc9 | 270 | Requires: %{name}-modules = %{epoch}:%{version}-%{release} |
00595cdb ER |
271 | %if "%{_rpmversion}" >= "5" |
272 | BuildArch: noarch | |
273 | %endif | |
9fd96af7 | 274 | |
275 | %description doc-ri | |
276 | Ruby ri documentation. | |
277 | ||
a0a47c48 | 278 | %description doc-ri -l pl.UTF-8 |
9fd96af7 | 279 | Dokumentacja Ruby w formacie ri. |
280 | ||
281 | %package examples | |
282 | Summary: Ruby examples | |
3c3949cf | 283 | Summary(pl.UTF-8): Przykłady dla języka Ruby |
9fd96af7 | 284 | Group: Development/Languages |
00595cdb ER |
285 | %if "%{_rpmversion}" >= "5" |
286 | BuildArch: noarch | |
287 | %endif | |
9fd96af7 | 288 | |
289 | %description examples | |
290 | Ruby examples. | |
291 | ||
a0a47c48 JR |
292 | %description examples -l pl.UTF-8 |
293 | Przykłady programów w języku Ruby. | |
9fd96af7 | 294 | |
d8228776 | 295 | # IMPORTANT: keep irb, rdoc, rubygems, rake, json as last packages as we reset epoch/version/release |
116a558f ER |
296 | # and %{version},%{release} macros may not be used directly as they take last |
297 | # subpackage value not main package one what you intend to use | |
63b8d212 | 298 | |
d8228776 ER |
299 | %package irb |
300 | Summary: The Interactive Ruby | |
301 | Version: %{irb_ver} | |
d8228776 ER |
302 | Release: %{basever}.%{patchlevel}.%{rel} |
303 | Epoch: 0 | |
29a18971 | 304 | Group: Development/Languages |
d8228776 ER |
305 | Requires: %{name}-modules = 1:%{basever}.%{patchlevel}-%{rel} |
306 | Provides: irb = %{version}-%{release} | |
307 | Provides: ruby(irb) = %{version}-%{release} | |
308 | %if "%{_rpmversion}" >= "5" | |
309 | BuildArch: noarch | |
310 | %endif | |
311 | ||
312 | %description irb | |
313 | The irb is acronym for Interactive Ruby. It evaluates ruby expression | |
314 | from the terminal. | |
315 | ||
2db0575e ER |
316 | %package rdoc |
317 | Summary: A tool to generate HTML and command-line documentation for Ruby projects | |
3349e6ba | 318 | Summary(pl.UTF-8): Narzędzie do generowania dokumentacji HTML i linii poleceń dla projektów w Rubym |
2db0575e | 319 | Version: %{rdoc_ver} |
45f22c60 | 320 | Release: %{basever}.%{patchlevel}.%{rel} |
2db0575e ER |
321 | Epoch: 0 |
322 | License: GPL v2 and Ruby and MIT | |
323 | Group: Development/Libraries | |
116a558f | 324 | Requires: %{name}-modules = 1:%{basever}.%{patchlevel}-%{rel} |
ee1edb11 | 325 | Obsoletes: rdoc <= 0.9.0 |
00595cdb ER |
326 | %if "%{_rpmversion}" >= "5" |
327 | BuildArch: noarch | |
328 | %endif | |
2db0575e ER |
329 | |
330 | %description rdoc | |
331 | RDoc produces HTML and command-line documentation for Ruby projects. | |
332 | RDoc includes the 'rdoc' and 'ri' tools for generating and displaying | |
333 | online documentation. | |
334 | ||
3349e6ba JB |
335 | %description rdoc -l pl.UTF-8 |
336 | RDoc tworzy dokumentację HTML i linii poleceń dla projektów w języku | |
337 | Ruby. RDoc zawiera narzędzia 'rdoc' i 'ri' do generowania i | |
338 | wyświetlania dokumentacji online. | |
339 | ||
44802bd7 | 340 | %package rubygems |
3349e6ba JB |
341 | Summary: RubyGems - the Ruby standard for packaging Ruby libraries |
342 | Summary(pl.UTF-8): RubyGems - standard Ruby'ego pakietowania bibliotek | |
941981c7 | 343 | Version: %{rubygems_ver} |
de9418ad | 344 | Release: %{basever}.%{patchlevel}.%{rel} |
bd4c2526 | 345 | Epoch: 0 |
941981c7 ER |
346 | License: Ruby or MIT |
347 | Group: Development/Libraries | |
116a558f | 348 | Requires: %{name}-modules = 1:%{basever}.%{patchlevel}-%{rel} |
941981c7 | 349 | Requires: %{name}-rdoc >= %{rdoc_ver} |
92f362b7 | 350 | Suggests: %{name}-devel |
44802bd7 ER |
351 | Provides: rubygems = %{rubygems_ver} |
352 | %if "%{_rpmversion}" >= "5" | |
353 | BuildArch: noarch | |
354 | %endif | |
355 | ||
356 | %description rubygems | |
357 | RubyGems is the Ruby standard for publishing and managing third party | |
358 | libraries. | |
359 | ||
3349e6ba JB |
360 | %description rubygems -l pl.UTF-8 |
361 | RubyGems to standardowe narzędzie języka Ruby do publikowania i | |
362 | zarządzania zewnętrznymi bibliotekami. | |
363 | ||
63b8d212 ER |
364 | %package rake |
365 | Summary: Rake is a Make-like program implemented in Ruby | |
366 | Summary(pl.UTF-8): Program typu Make dla języka Ruby | |
367 | Version: %{rake_ver} | |
368 | Release: %{basever}.%{patchlevel}.%{rel} | |
369 | Epoch: 0 | |
370 | License: MIT | |
371 | Group: Development/Languages | |
372 | Provides: rake = %{rake_ver} | |
2531db89 | 373 | Conflicts: ruby-modules < 1:1.9.3.429-2 |
63b8d212 ER |
374 | %if "%{_rpmversion}" >= "5" |
375 | BuildArch: noarch | |
376 | %endif | |
377 | ||
378 | %description rake | |
379 | Rake is a simple Ruby build program with capabilities similar to make. | |
380 | ||
381 | It has the following features: | |
382 | - Rakefiles (rake's version of Makefiles) are completely defined in | |
383 | standard Ruby syntax. No XML files to edit. No quirky Makefile syntax | |
384 | to worry about (is that a tab or a space?) | |
385 | - Users can specify tasks with prerequisites. | |
386 | - Rake supports rule patterns to synthesize implicit tasks. | |
387 | - Rake is lightweight. It can be distributed with other projects as a | |
388 | single file. Projects that depend upon rake do not require that rake | |
389 | be installed on target systems. | |
390 | ||
391 | %description rake -l pl.UTF-8 | |
392 | Rake to prosty program do budowania w języku Ruby o możliwościach | |
393 | podobnych do make. | |
394 | ||
395 | Ma następujące cechy: | |
396 | - Pliki Rakefile (rake'owa odmiana plików Makefile) są definiowane | |
397 | całkowicie w standardowej składni języka Ruby. Nie trzeba modyfikować | |
398 | plików XML. Nie trzeba martwić się kaprysami składni Makefile (czy to | |
399 | tabulacja czy spacja?). | |
400 | - Użytkownicy mogą określać zadania z ich zależnościami. | |
401 | - Rake obsługuje wzorce reguł do tworzenia z nich wynikowych zadań. | |
402 | - Rake jest lekki. Może być rozpowszechniany z innymi projektami jako | |
403 | pojedynczy plik. Projekty używające rake'a nie wymagają go | |
404 | zainstalowanego na systemach docelowych. | |
405 | ||
7e87bcc1 ER |
406 | %package json |
407 | Summary: JSON library for Ruby | |
408 | Summary(pl.UTF-8): Biblioteka JSON dla języka Ruby | |
409 | Version: %{json_ver} | |
410 | Release: %{basever}.%{patchlevel}.%{rel} | |
411 | Epoch: 0 | |
412 | License: MIT | |
413 | Group: Development/Languages | |
414 | Obsoletes: ruby-json-rubyforge | |
2531db89 | 415 | Conflicts: ruby-modules < 1:1.9.3.429-3 |
7e87bcc1 ER |
416 | |
417 | %description json | |
418 | This is a JSON implementation as a Ruby extension in C. | |
419 | ||
420 | %description json -l pl.UTF-8 | |
421 | Biblioteka JSON dla języka Ruby. | |
422 | ||
4ab119cd | 423 | %prep |
360c41c0 | 424 | %if %{with bootstrap} |
9c41e51a | 425 | %setup -q -n %{oname}-%{basever}-p%{patchlevel} -a1 -a2 -a3 -a100 |
360c41c0 | 426 | %else |
9c41e51a | 427 | %setup -q -n %{oname}-%{basever}-p%{patchlevel} -a1 -a2 -a3 |
360c41c0 | 428 | %endif |
933aeb0e | 429 | %patch0 -p1 |
a310037a | 430 | %patch1 -p1 |
360c41c0 | 431 | %patch2 -p1 |
45f22c60 ER |
432 | #%patch3 -p1 |
433 | #%patch4 -p1 | |
434 | #%patch5 -p1 | |
87688b10 ER |
435 | %patch6 -p1 |
436 | %patch7 -p1 | |
45f22c60 ER |
437 | %patch8 -p1 |
438 | %patch9 -p1 | |
439 | %patch10 -p1 | |
440 | %patch11 -p1 | |
441 | %patch12 -p1 | |
ed7247e0 | 442 | %patch13 -p1 |
360c41c0 JR |
443 | |
444 | # must be regenerated with new bison | |
445 | %{__rm} parse.{c,h} | |
4ab119cd | 446 | |
b2f04116 JR |
447 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f |
448 | ||
449 | find -type f '(' -name '*.rb' -o -name '*.cgi' -o -name '*.test' \ | |
450 | -o -name 'ruby.1' -o -name '*.html' -o -name '*.tcl' ')' \ | |
bb5582fa | 451 | | xargs %{__sed} -i 's,/usr/local/bin/,%{_bindir}/,' |
e7754311 | 452 | |
4ab119cd | 453 | %build |
de9418ad ER |
454 | rubygems_ver=$(awk '/VERSION =/ && $1 == "VERSION" {print $3}' lib/rubygems.rb | xargs) |
455 | if [ $rubygems_ver != %{rubygems_ver} ]; then | |
456 | echo "Set %%define rubygems_ver to $rubygems_ver and re-run." | |
457 | exit 1 | |
458 | fi | |
45f22c60 ER |
459 | rdoc_ver=$(awk '/VERSION =/ && $1 == "VERSION" {print $3}' lib/rdoc.rb | xargs) |
460 | if [ $rdoc_ver != %{rdoc_ver} ]; then | |
461 | echo "Set %%define rdoc_ver to $rdoc_ver and re-run." | |
462 | exit 1 | |
463 | fi | |
de9418ad | 464 | |
8ea447c1 | 465 | cp -f /usr/share/automake/config.sub . |
a5f9b7ff | 466 | |
92ff5331 | 467 | # build ruby-1.8.7 first |
468 | %if %{with bootstrap} | |
9c41e51a | 469 | cd %{oname}-1.8.7-p330 |
92ff5331 | 470 | %configure |
471 | %{__make} | |
472 | cd .. | |
473 | %endif | |
474 | ||
8ea447c1 | 475 | %{__autoconf} |
ecde9c47 | 476 | %configure \ |
9c41e51a ER |
477 | %{?with_bootstrap:--with-baseruby=%{oname}-1.8.7-p330/miniruby} \ |
478 | --program-suffix=%{ruby_suffix} \ | |
45f22c60 ER |
479 | --with-rubygemsdir=%{rubygems_dir} \ |
480 | --with-rubylibprefix=%{ruby_libdir} \ | |
481 | --with-rubyarchprefix=%{ruby_archdir} \ | |
482 | --with-sitedir=%{ruby_sitelibdir} \ | |
44d1acb8 | 483 | --with-sitearchdir=%{ruby_sitearchdir} \ |
45f22c60 | 484 | --with-vendordir=%{ruby_vendorlibdir} \ |
44d1acb8 | 485 | --with-vendorarchdir=%{ruby_vendorarchdir} \ |
45f22c60 ER |
486 | --with-rubyhdrdir=%{_includedir}/%{oname}-%{ruby_version} \ |
487 | --with-rubyarchhdrdir=%{_includedir}/%{oname}-%{ruby_version} \ | |
488 | --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \ | |
489 | --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \ | |
3a4dd1f6 | 490 | --enable-shared \ |
374c5b6e | 491 | --enable-pthread \ |
45f22c60 | 492 | --enable-multiarch \ |
4e930057 | 493 | --disable-rubygems \ |
96c2e1a4 | 494 | --disable-install-doc \ |
45f22c60 | 495 | --with-ruby-version='' |
4ab119cd | 496 | |
dbf8f91d | 497 | %{__make} -j1 main \ |
2690877c | 498 | COPY="cp -p" Q= \ |
9c41e51a | 499 | %{?with_bootstrap:BASERUBY="%{oname}-1.8.7-p330/miniruby -I./ruby-1.8.7-p330/lib"} |
aa58dbf5 | 500 | |
d0f5536d | 501 | %if %{with doc} |
98757242 | 502 | %{__make} -j1 rdoc |
d0f5536d | 503 | %endif |
53830491 | 504 | |
4ab119cd | 505 | %install |
506 | rm -rf $RPM_BUILD_ROOT | |
413a1967 | 507 | install -d $RPM_BUILD_ROOT{%{ruby_rdocdir},%{ruby_ridir}} \ |
bf0e52e2 | 508 | $RPM_BUILD_ROOT%{ruby_vendorarchdir} \ |
f1a7abab | 509 | $RPM_BUILD_ROOT%{ruby_vendorlibdir}/net \ |
08c2f6e5 | 510 | $RPM_BUILD_ROOT%{ruby_vendorlibdir}/data \ |
1968db6d | 511 | |
96c2e1a4 | 512 | %{__make} install %{?with_doc:install-doc} \ |
ecde9c47 | 513 | DESTDIR=$RPM_BUILD_ROOT |
d041de24 | 514 | |
413a1967 | 515 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{basever}.%{patchlevel} |
45f22c60 | 516 | cp -Rf sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{oname}-%{basever}.%{patchlevel} |
9c41e51a ER |
517 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/rdoc%{ruby_suffix}.1 |
518 | cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/testrb%{ruby_suffix}.1 | |
18e966a7 | 519 | |
5c3d5a0e | 520 | %{__rm} -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/html |
698147c7 | 521 | |
9c41e51a | 522 | ln -sf %{gem_dir}/gems/rake-%{rake_ver}/bin/rake $RPM_BUILD_ROOT%{_bindir}/rake%{ruby_suffix} |
63b8d212 | 523 | |
15467dc7 | 524 | %if %{without batteries} |
b2f04116 | 525 | # packaged separately |
05f75f09 | 526 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_libdir}/{rubygems,rake,json,minitest} |
0b1956f4 | 527 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_archdir}/json |
7179288b | 528 | %{__rm} -r $RPM_BUILD_ROOT%{gem_dir}/gems/rake-* |
0b1956f4 | 529 | %{__rm} $RPM_BUILD_ROOT%{ruby_libdir}/{rake,rubygems,json}.rb |
92ff5331 | 530 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/{gem,rake} |
531 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/rake* | |
45f22c60 | 532 | %{__rm} $RPM_BUILD_ROOT%{gem_dir}/specifications/default/{json,minitest,rake}-*.gemspec |
7179288b | 533 | %{?with_doc:%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/ri/%{ruby_version}/system/JSON} |
15467dc7 | 534 | %endif |
1968db6d | 535 | |
44802bd7 | 536 | %if %{with doc} |
d78ec589 | 537 | # too much .ri |
45f22c60 ER |
538 | #%{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri |
539 | #%{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/created.rid | |
15467dc7 | 540 | %endif |
1968db6d | 541 | |
4ab119cd | 542 | %clean |
543 | rm -rf $RPM_BUILD_ROOT | |
544 | ||
d041de24 JR |
545 | %post -p /sbin/ldconfig |
546 | %postun -p /sbin/ldconfig | |
4ab119cd | 547 | |
548 | %files | |
549 | %defattr(644,root,root,755) | |
29a18971 | 550 | %doc NEWS LEGAL README README.EXT ChangeLog |
9c41e51a | 551 | %attr(755,root,root) %{_bindir}/ruby%{ruby_suffix} |
529ff870 | 552 | %attr(755,root,root) %{_libdir}/libruby.so.*.*.* |
45f22c60 | 553 | %attr(755,root,root) %ghost %{_libdir}/libruby.so.%{ruby_version} |
9c41e51a | 554 | %{_mandir}/man1/ruby%{ruby_suffix}.1* |
05f75f09 | 555 | |
9c41e51a ER |
556 | %dir %{_libdir}/%{oname} |
557 | %dir %{_libdir}/%{oname}/%{vendordir} | |
558 | %dir %{_datadir}/%{oname} | |
0b1956f4 | 559 | |
be8e7b24 | 560 | %dir %{ruby_libdir} |
5c3d5a0e | 561 | %dir %{ruby_archdir} |
be8e7b24 | 562 | %dir %{ruby_vendorlibdir} |
be8e7b24 | 563 | %dir %{ruby_vendorarchdir} |
31058abe | 564 | |
4ff6d235 ER |
565 | %dir %{_datadir}/ri |
566 | %dir %{_datadir}/ri/%{ruby_version} | |
29a18971 ER |
567 | %dir %{ruby_ridir} |
568 | ||
45f22c60 | 569 | #%dir %{ruby_rdocdir} |
9fd96af7 | 570 | |
f1a7abab | 571 | # common dirs for ruby vendor modules |
08c2f6e5 ER |
572 | %dir %{ruby_vendorlibdir}/data |
573 | %dir %{ruby_vendorlibdir}/net | |
f1a7abab | 574 | |
45f22c60 | 575 | %if 0 |
de8152d8 ER |
576 | # legacy dirs. when everything rebuilt in Th not using these dirs. drop them |
577 | %dir %{legacy_archdir} | |
578 | %dir %{legacy_sitedir} | |
579 | %dir %{legacy_sitelibdir} | |
580 | %dir %{legacy_sitearchdir} | |
581 | %dir %{legacy_vendorarchdir} | |
293a48c2 | 582 | %dir %{legacy_libdir}/tasks |
7c3b0919 | 583 | %dir %{legacy_archdir}/racc |
45f22c60 | 584 | %endif |
de8152d8 | 585 | |
9fd96af7 | 586 | %files devel |
587 | %defattr(644,root,root,755) | |
529ff870 | 588 | %attr(755,root,root) %{_libdir}/libruby.so |
9c41e51a | 589 | %{_includedir}/%{oname}-%{ruby_version} |
31058abe | 590 | %{_pkgconfigdir}/ruby-%{ruby_version}.pc |
b5465d0c | 591 | %{ruby_libdir}/mkmf.rb |
9fd96af7 | 592 | |
593 | %files static | |
594 | %defattr(644,root,root,755) | |
529ff870 | 595 | %{_libdir}/libruby-static.a |
9fd96af7 | 596 | |
15ecb21e | 597 | %if %{with tk} |
9fd96af7 | 598 | %files tk |
599 | %defattr(644,root,root,755) | |
0b1956f4 ER |
600 | %{ruby_libdir}/tcltk.rb |
601 | %{ruby_libdir}/tk*.rb | |
602 | %{ruby_libdir}/tk | |
603 | %{ruby_libdir}/tkextlib | |
604 | %attr(755,root,root) %{ruby_archdir}/t*.so | |
15ecb21e | 605 | %endif |
9fd96af7 | 606 | |
d8228776 ER |
607 | %files irb |
608 | %defattr(644,root,root,755) | |
9c41e51a | 609 | %attr(755,root,root) %{_bindir}/irb%{ruby_suffix} |
d8228776 ER |
610 | %{ruby_libdir}/irb.rb |
611 | %{ruby_libdir}/irb | |
9c41e51a | 612 | %{_mandir}/man1/irb%{ruby_suffix}.1* |
d8228776 | 613 | |
2db0575e | 614 | %files rdoc |
9fd96af7 | 615 | %defattr(644,root,root,755) |
9c41e51a ER |
616 | %attr(755,root,root) %{_bindir}/rdoc%{ruby_suffix} |
617 | %attr(755,root,root) %{_bindir}/ri%{ruby_suffix} | |
618 | %{_mandir}/man1/rdoc%{ruby_suffix}.1* | |
2db0575e ER |
619 | %{ruby_libdir}/rdoc |
620 | %dir %{gem_dir}/gems/rdoc-%{rdoc_ver} | |
621 | %dir %{gem_dir}/gems/rdoc-%{rdoc_ver}/bin | |
622 | %attr(755,root,root) %{gem_dir}/gems/rdoc-%{rdoc_ver}/bin/rdoc | |
45f22c60 | 623 | %{gem_dir}/specifications/default/rdoc-%{rdoc_ver}.gemspec |
2db0575e ER |
624 | %attr(755,root,root) %{gem_dir}/gems/rdoc-%{rdoc_ver}/bin/ri |
625 | ||
44802bd7 ER |
626 | %if %{with batteries} |
627 | %files rubygems | |
941981c7 | 628 | %defattr(644,root,root,755) |
9c41e51a | 629 | %attr(755,root,root) %{_bindir}/gem%{ruby_suffix} |
29a18971 | 630 | %dir %{rubygems_dir} |
45f22c60 ER |
631 | %{rubygems_dir}/rubygems |
632 | %{rubygems_dir}/rubygems.rb | |
633 | %{rubygems_dir}/ubygems.rb | |
634 | %{rubygems_dir}/rbconfig | |
63b8d212 ER |
635 | |
636 | %files rake | |
637 | %defattr(644,root,root,755) | |
9c41e51a ER |
638 | %attr(755,root,root) %{_bindir}/rake%{ruby_suffix} |
639 | %{_mandir}/man1/rake%{ruby_suffix}.1* | |
63b8d212 ER |
640 | %{ruby_libdir}/rake |
641 | %dir %{gem_dir}/gems/rake-%{rake_ver} | |
642 | %dir %{gem_dir}/gems/rake-%{rake_ver}/bin | |
643 | %attr(755,root,root) %{gem_dir}/gems/rake-%{rake_ver}/bin/rake | |
45f22c60 | 644 | %{gem_dir}/specifications/default/rake-%{rake_ver}.gemspec |
7e87bcc1 ER |
645 | |
646 | %files json | |
647 | %defattr(644,root,root,755) | |
648 | %{ruby_libdir}/json | |
649 | %dir %{ruby_archdir}/json | |
650 | %dir %{ruby_archdir}/json/ext | |
651 | %attr(755,root,root) %{ruby_archdir}/json/ext/*.so | |
45f22c60 | 652 | %{gem_dir}/specifications/default/json-%{json_ver}.gemspec |
44802bd7 ER |
653 | %endif |
654 | ||
9fd96af7 | 655 | %files modules |
656 | %defattr(644,root,root,755) | |
9c41e51a ER |
657 | %attr(755,root,root) %{_bindir}/erb%{ruby_suffix} |
658 | %attr(755,root,root) %{_bindir}/testrb%{ruby_suffix} | |
0b1956f4 ER |
659 | %{ruby_libdir}/bigdecimal |
660 | %{ruby_libdir}/cgi | |
661 | %{ruby_libdir}/date | |
662 | %{ruby_libdir}/digest | |
663 | %{ruby_libdir}/dl | |
664 | %{ruby_libdir}/drb | |
665 | %{ruby_libdir}/fiddle | |
666 | %{ruby_libdir}/io | |
0b1956f4 | 667 | %{ruby_libdir}/matrix |
0b1956f4 ER |
668 | %{ruby_libdir}/net |
669 | %{ruby_libdir}/openssl | |
670 | %{ruby_libdir}/optparse | |
0b1956f4 ER |
671 | %{ruby_libdir}/psych |
672 | %{ruby_libdir}/racc | |
673 | %{ruby_libdir}/rbconfig | |
0b1956f4 ER |
674 | %{ruby_libdir}/rexml |
675 | %{ruby_libdir}/rinda | |
676 | %{ruby_libdir}/ripper | |
677 | %{ruby_libdir}/rss | |
678 | %{ruby_libdir}/shell | |
45f22c60 ER |
679 | #%{ruby_libdir}/syck |
680 | %{ruby_libdir}/syslog | |
0b1956f4 ER |
681 | %{ruby_libdir}/test |
682 | %{ruby_libdir}/uri | |
683 | %{ruby_libdir}/webrick | |
684 | %{ruby_libdir}/xmlrpc | |
685 | %{ruby_libdir}/yaml | |
686 | %{ruby_libdir}/[A-Za-s]*.rb | |
687 | %{ruby_libdir}/tempfile.rb | |
688 | %{ruby_libdir}/thread.rb | |
689 | %{ruby_libdir}/thwait.rb | |
690 | %{ruby_libdir}/time.rb | |
691 | %{ruby_libdir}/timeout.rb | |
692 | %{ruby_libdir}/tmpdir.rb | |
693 | %{ruby_libdir}/tracer.rb | |
694 | %{ruby_libdir}/tsort.rb | |
695 | %{ruby_libdir}/[u-z]*.rb | |
7179288b | 696 | %if %{with batteries} |
ed7247e0 ER |
697 | %exclude %{ruby_libdir}/rubygems.rb |
698 | %exclude %{ruby_libdir}/ubygems.rb | |
699 | %exclude %{ruby_libdir}/rbconfig/datadir.rb | |
700 | %exclude %{ruby_libdir}/rbconfig/obsolete.rb | |
7179288b | 701 | %endif |
d8228776 | 702 | %exclude %{ruby_libdir}/irb.rb |
b5465d0c | 703 | %exclude %{ruby_libdir}/mkmf.rb |
0b1956f4 ER |
704 | %attr(755,root,root) %{ruby_archdir}/[a-s]*.so |
705 | %attr(755,root,root) %{ruby_archdir}/[u-z]*.so | |
706 | %dir %{ruby_archdir}/digest | |
707 | %attr(755,root,root) %{ruby_archdir}/digest/*.so | |
708 | %dir %{ruby_archdir}/dl | |
709 | %attr(755,root,root) %{ruby_archdir}/dl/callback.so | |
710 | %dir %{ruby_archdir}/enc | |
711 | %attr(755,root,root) %{ruby_archdir}/enc/*.so | |
712 | %dir %{ruby_archdir}/enc/trans | |
713 | %attr(755,root,root) %{ruby_archdir}/enc/trans/*.so | |
714 | %dir %{ruby_archdir}/io | |
715 | %attr(755,root,root) %{ruby_archdir}/io/*.so | |
0b1956f4 ER |
716 | %dir %{ruby_archdir}/mathn |
717 | %attr(755,root,root) %{ruby_archdir}/mathn/*.so | |
718 | %dir %{ruby_archdir}/racc | |
719 | %attr(755,root,root) %{ruby_archdir}/racc/*.so | |
720 | %{ruby_archdir}/rbconfig.rb | |
31058abe | 721 | |
45f22c60 ER |
722 | %{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_ver}.gemspec |
723 | %{gem_dir}/specifications/default/io-console-%{io_console_ver}.gemspec | |
ee1edb11 | 724 | |
05f75f09 | 725 | %if %{with batteries} |
05f75f09 ER |
726 | # minitest |
727 | %{ruby_libdir}/minitest | |
45f22c60 | 728 | %{gem_dir}/specifications/default/minitest-%{minitest_ver}.gemspec |
05f75f09 ER |
729 | %endif |
730 | ||
45f22c60 ER |
731 | %{gem_dir}/specifications/default/psych-%{psych_ver}.gemspec |
732 | ||
733 | # test-unit | |
734 | %{gem_dir}/specifications/default/test-unit-%{test_unit_ver}.gemspec | |
735 | %dir %{gem_dir}/gems/test-unit-%{test_unit_ver} | |
736 | %dir %{gem_dir}/gems/test-unit-%{test_unit_ver}/bin | |
737 | %attr(755,root,root) %{gem_dir}/gems/test-unit-%{test_unit_ver}/bin/testrb | |
738 | ||
31058abe | 739 | # parents of gem_dir |
45f22c60 | 740 | #%dir %{_datadir}/%{oname}/gems |
9c41e51a | 741 | #%dir %{_datadir}/%{oname}/gems/%{ruby_version} |
45f22c60 ER |
742 | #%dir %{_datadir}/%{oname}/gems/%{ruby_version}/gems |
743 | ||
744 | %dir %{_datadir}/%{oname}/%{ruby_version}/gems/gems | |
31058abe | 745 | |
d78ec589 | 746 | %dir %{gem_dir} |
d78ec589 | 747 | %dir %{gem_dir}/specifications |
45f22c60 | 748 | %dir %{gem_dir}/specifications/default |
9c41e51a ER |
749 | %{_mandir}/man1/erb%{ruby_suffix}.1* |
750 | %{_mandir}/man1/ri%{ruby_suffix}.1* | |
751 | %{_mandir}/man1/testrb%{ruby_suffix}.1* | |
15467dc7 | 752 | |
9fd96af7 | 753 | %files doc |
9434194f | 754 | %defattr(644,root,root,755) |
b2f04116 | 755 | %doc ruby-doc-bundle/* |
af4f9d38 JR |
756 | %{?with_doc:%doc ruby_%{doc_version}_stdlib} |
757 | %{?with_doc:%doc ruby_%{doc_version}_core} | |
87b9c30a | 758 | |
d0f5536d | 759 | %if %{with doc} |
9fd96af7 | 760 | %files doc-ri |
e40bfe06 | 761 | %defattr(644,root,root,755) |
2db0575e | 762 | %{ruby_ridir}/* |
d0f5536d | 763 | %endif |
265d0efe | 764 | |
9fd96af7 | 765 | %files examples |
616a12d8 | 766 | %defattr(644,root,root,755) |
45f22c60 | 767 | %{_examplesdir}/%{oname}-* |