packages: ruby-innate/ruby-innate.spec (NEW) - added

aredridel aredridel at pld-linux.org
Thu Dec 23 05:53:11 CET 2010


Author: aredridel                    Date: Thu Dec 23 04:53:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added

---- Files affected:
packages/ruby-innate:
   ruby-innate.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ruby-innate/ruby-innate.spec
diff -u /dev/null packages/ruby-innate/ruby-innate.spec:1.1
--- /dev/null	Thu Dec 23 05:53:11 2010
+++ packages/ruby-innate/ruby-innate.spec	Thu Dec 23 05:53:05 2010
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary:	Ramaze - Web framework
+Name:		ruby-innate
+Version:	2010.07
+Release:	1
+License:	Ruby's
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/innate-%{version}.gem
+# Source0-md5:	ebbe0cef40759f6834d45f9cd3e582c4
+URL:		https://github.com/Ramaze/innate
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-rake
+BuildRequires:	setup.rb = 3.4.1
+Requires:	ruby-builder
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ramaze is web framework for Ruby.
+
+%prep
+%setup -q -c
+%{__tar} xf %{SOURCE0} -O data.tar.gz | %{__tar} xz
+cp %{_datadir}/setup.rb .
+
+%build
+#mv innate.rb lib
+
+ruby setup.rb config \
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc --op rdoc lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+
+ruby setup.rb install \
+	--prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%{ruby_rubylibdir}/innate*
+
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/12/23 04:53:05  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list