]> git.pld-linux.org Git - packages/ruby-activerecord.git/commitdiff
- added
authoraredridel <aredridel@pld-linux.org>
Mon, 23 Feb 2004 04:32:42 +0000 (04:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ruby-activerecord.spec -> 1.1

ruby-activerecord.spec [new file with mode: 0644]

diff --git a/ruby-activerecord.spec b/ruby-activerecord.spec
new file mode 100644 (file)
index 0000000..74c267b
--- /dev/null
@@ -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}/*
This page took 0.093251 seconds and 4 git commands to generate.