Author: aredridel                    Date: Wed Oct  5 06:27:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   ruby-web.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ruby-web.spec
diff -u /dev/null SPECS/ruby-web.spec:1.1
--- /dev/null   Wed Oct  5 08:27:36 2005
+++ SPECS/ruby-web.spec Wed Oct  5 08:27:30 2005
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+%define        ruby_archdir    %(ruby -r rbconfig -e 'print 
Config::CONFIG["archdir"]')
+%define        ruby_ridir      %(ruby -r rbconfig -e 'include Config; print 
File.join(CONFIG["datadir"], "ri", CONFIG["ruby_version"], "system")')
+%define ruby_rubylibdir %(ruby -r rbconfig -e 'print 
Config::CONFIG["rubylibdir"]')
+Summary:       A web platform for pages and applications
+Name:          ruby-web
+Version:       1.1.0
+Release:       1
+License:       Ruby's
+Group:         Development/Languages
+Source0:       
http://rubyforge.org/frs/download.php/6307/%{name}_%{version}.beta.tar.gz
+# Source0-md5: c8d2ab1498618bc8272b3171a895c4ae
+URL:           http://ruby-web.org
+BuildRequires: ruby
+BuildRequires: ruby-devel
+BuildRequires: setup.rb = 3.3.1
+Requires:      ruby
+#BuildArch:    noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ruby-web is designed to create pages that scale to applications. ruby-web 
allows the use of an "application.rb" file to pull a site out of a directory of 
pages. There is extensive support for testing methods to help with the growing 
pains. Finally, ruby-web contains methods to support distribution of resources 
like images in a ruby library.
+
+%prep
+%setup -q -n %{name}-%{version}.beta
+
+%build
+cp %{_datadir}/setup.rb .
+
+ruby setup.rb config \
+       --rbdir=%{ruby_rubylibdir} \
+       --sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc --op rdoc lib
+rdoc --ri --op ri lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+
+ruby setup.rb install \
+       --prefix=$RPM_BUILD_ROOT
+
+cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+rm $RPM_BUILD_ROOT%{ruby_ridir}/Array/cdesc-Array.yaml
+rm $RPM_BUILD_ROOT%{ruby_ridir}/Object/cdesc-Object.yaml
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%attr(755,root,root) %{_bindir}/*
+%{ruby_rubylibdir}/web.rb
+%{ruby_rubylibdir}/web
+%{ruby_ridir}/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/10/05 06:27:30  aredridel
+- added
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to