2 Summary: Relational Algebra for Ruby
6 License: MIT/Ruby License
7 Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
8 # Source0-md5: c4b1aaea8c39cc58613bebcb6d56af4c
9 Group: Development/Languages
10 URL: http://github.com/brynary/arel
11 BuildRequires: rpmbuild(macros) >= 1.484
12 BuildRequires: ruby >= 1:1.8.6
13 BuildRequires: ruby-modules
14 Requires: ruby-hoe >= 3.7
15 Requires: ruby-minitest >= 4.7
16 Conflicts: ruby-hoe >= 4.0
17 Conflicts: ruby-minitest >= 5.0
18 %{?ruby_mod_ver_requires_eq}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 # nothing to be placed there. we're not noarch only because of ruby packaging
23 %define _enable_debug_packages 0
26 Arel is a Relational Algebra for Ruby. It 1) simplifies the generation
27 complex of SQL queries and it 2) adapts to various RDBMS systems.
28 It is intended to be a framework framework; that is, you can build
29 your own ORM with it, focusing on innovative object and collection
30 modeling as opposed to database compatibility and query generation.
33 Summary: HTML documentation for %{pkgname}
34 Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
36 Requires: ruby >= 1:1.8.7-4
39 HTML documentation for %{pkgname}.
41 %description rdoc -l pl.UTF-8
42 Dokumentacja w formacie HTML dla %{pkgname}.
45 Summary: ri documentation for %{pkgname}
46 Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{pkgname}
51 ri documentation for %{pkgname}.
53 %description ri -l pl.UTF-8
54 Dokumentacji w formacie ri dla %{pkgname}.
57 %setup -q -n %{pkgname}-%{version}
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
71 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
72 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
73 cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
76 install -d $RPM_BUILD_ROOT%{ruby_specdir}
77 cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
80 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc History.txt README.markdown
85 %{ruby_rubylibdir}/%{pkgname}.rb
86 %{ruby_rubylibdir}/%{pkgname}
87 %{ruby_specdir}/%{pkgname}-%{version}.gemspec
90 %defattr(644,root,root,755)
91 %{ruby_rdocdir}/%{name}-%{version}
94 %defattr(644,root,root,755)