]> git.pld-linux.org Git - SPECS.git/blob - ruby-og.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ruby-og.spec
1 %define pkgname og
2 Summary:        Object-Relational mapping library for Ruby
3 Summary(pl.UTF-8):      Biblioteka odwzorowań obiektowo-relacyjnych dla języka Ruby
4 Name:           ruby-%{pkgname}
5 Version:        0.27.0
6 Release:        1
7 License:        Ruby-alike
8 Group:          Development/Languages
9 Source0:        http://rubyforge.org/download.php/8087/%{pkgname}-%{version}.tgz
10 # Source0-md5:  53949ab14ffa73b2b7cbfa65f091b6a3
11 Patch0:         %{name}-errordetail.patch
12 URL:            http://rubyforge.org/projects/nitro/
13 BuildRequires:  rpmbuild(macros) >= 1.277
14 BuildRequires:  ruby-modules
15 %{?ruby_mod_ver_requires_eq}
16 Requires:       ruby-glue >= %{version}
17 Requires:       ruby-facets >= 1.0.0
18 Obsoletes:      ruby-Og
19 Provides:       ruby-Og
20 #BuildArch:     noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This package contains the Og "Object Graph" Object-Relational mapping
25 library for Ruby.
26
27 %description -l pl.UTF-8
28 Ten pakiet zawiera bibliotekę odwzorowań obiektowo relacyjnych Og
29 ("Object Graph") dla języka Ruby.
30
31 %prep
32 %setup -q -n %{pkgname}-%{version}
33 %patch0 -p1
34
35 %build
36 rdoc --ri --op ri lib
37 rdoc --op rdoc lib
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_examplesdir}/%{name}-%{version}}
42 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
43 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
44 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc rdoc README doc/*
52 %{ruby_rubylibdir}/*
53 %{ruby_ridir}/Og
54 %{_examplesdir}/%{name}-%{version}
This page took 0.296945 seconds and 3 git commands to generate.