From 9cc5ce19d3eb4bdef7f6d2c1f7bf80b677ab53ff Mon Sep 17 00:00:00 2001 From: aredridel Date: Mon, 23 Feb 2004 04:32:42 +0000 Subject: [PATCH] - added Changed files: ruby-activerecord.spec -> 1.1 --- ruby-activerecord.spec | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 ruby-activerecord.spec diff --git a/ruby-activerecord.spec b/ruby-activerecord.spec new file mode 100644 index 0000000..74c267b --- /dev/null +++ b/ruby-activerecord.spec @@ -0,0 +1,34 @@ +%define ruby_rubylibdir %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]') +Summary: Object-Relational mapping library for Ruby +Name: ruby-ActiveRecord +%define tarname active_record +Version: 0.5 +Release: 0 +License: Ruby-alike +Group: Development/Languages +Source0: http://rubyforge.org/download.php/358/%{tarname}-%{version}.tgz +# Source0-md5: 49768acdfed8b28f3c75fa5fec6e3f33 +URL: http://activerecord.rubyforge.org/ +BuildRequires: ruby +Requires: ruby +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Object-Relational mapping library for Ruby + +%prep +%setup -q -n %{tarname}-%{version} + +%build + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{ruby_rubylibdir} +cp -a lib/* $RPM_BUILD_ROOT/%{ruby_rubylibdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{ruby_rubylibdir}/* -- 2.44.0