]> git.pld-linux.org Git - packages/ruby-activerecord.git/blob - ruby-activerecord.spec
- added
[packages/ruby-activerecord.git] / ruby-activerecord.spec
1 %define ruby_rubylibdir %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
2 Summary:        Object-Relational mapping library for Ruby
3 Name:           ruby-ActiveRecord
4 %define tarname active_record
5 Version:        0.5
6 Release:        0
7 License:        Ruby-alike
8 Group:          Development/Languages
9 Source0:        http://rubyforge.org/download.php/358/%{tarname}-%{version}.tgz
10 # Source0-md5:  49768acdfed8b28f3c75fa5fec6e3f33
11 URL:            http://activerecord.rubyforge.org/
12 BuildRequires:  ruby
13 Requires:       ruby
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Object-Relational mapping library for Ruby
18
19 %prep
20 %setup -q -n %{tarname}-%{version}
21
22 %build
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 mkdir -p $RPM_BUILD_ROOT/%{ruby_rubylibdir}
27 cp -a lib/* $RPM_BUILD_ROOT/%{ruby_rubylibdir}
28
29 %clean
30 rm -rf $RPM_BUILD_ROOT
31
32 %files
33 %defattr(644,root,root,755)
34 %{ruby_rubylibdir}/*
This page took 0.043344 seconds and 4 git commands to generate.