Author: aredridel Date: Tue May 22 16:12:28 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - added
---- Files affected: SPECS: ruby-swiftiply.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/ruby-swiftiply.spec diff -u /dev/null SPECS/ruby-swiftiply.spec:1.1 --- /dev/null Tue May 22 18:12:28 2007 +++ SPECS/ruby-swiftiply.spec Tue May 22 18:12:23 2007 @@ -0,0 +1,97 @@ +# $Revision$, $Date$ +Summary: Ruby reverse reverse-proxy application server +Name: ruby-swiftiply +Version: 0.5.1 +Release: 1 +License: Ruby +Group: Development/Libraries +Source0: http://swiftiply.swiftcore.org/files/swiftiply-%{version}.gem +# Source0-md5: f979a55ef5d1e56cbd6ad1a389a35351 +URL: http://swiftiply.swiftcore.org/ +BuildRequires: rpmbuild(macros) >= 1.277 +BuildRequires: ruby-devel +BuildRequires: ruby-modules +BuildRequires: setup.rb +%{?ruby_mod_ver_requires_eq} +Requires: ruby-eventmachine +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Swiftiply is a backend agnostic clustering proxy for web applications +that is specifically designed to support HTTP traffic from web +frameworks. Unlike Pen (http://siag.nu/pen/), Swiftiply is not +intended as a general purpose load balancer for tcp protocols and +unlike HAProxy (http://haproxy.1wt.eu/), it is not a highly +configurable general purpose proxy overflowing with features. + +What it is, though, is a very fast, narrowly targetted clustering +proxy. In back to back comparisons of Swiftiply to HAProxy, Swiftiply +reliably outperforms HAProxy (tested using IOWA, Rails, and Ramaze +backend processes) and, depending on your web framework, you may not +even need to put a traditional web server into your architecture at +all. + +%package mongrel +Summary: Swiftiply patch to Mongrel HTTP Server +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: ruby-mongrel + +%description mongrel +Swiftiply patch to Mongrel HTTP Server. + +%package ramaze +Summary: Swiftiply support for Ramaze framework +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: ruby-ramaze + +%description ramaze +Swiftiply support for Ramaze framework. + +%prep +%setup -q -c -T +tar xf %{SOURCE0} -O data.tar.gz | tar xzv- + +%build +cp %{_datadir}/setup.rb . +mv src lib +ruby setup.rb config --rbdir=%{ruby_rubylibdir} --sodir=%{ruby_archdir} +ruby setup.rb setup + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{ruby_rubylibdir} + +ruby setup.rb install --prefix=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%dir %{ruby_rubylibdir}/swiftcore +%{ruby_rubylibdir}/swiftcore/Swiftiply.rb +#%attr(755,root,root) %{ruby_archdir}/*.so + +%files mongrel +%defattr(644,root,root,755) +%{ruby_rubylibdir}/swiftcore/evented_mongrel.rb +%{ruby_rubylibdir}/swiftcore/swiftiplied_mongrel.rb + +%files ramaze +%defattr(644,root,root,755) +%{ruby_rubylibdir}/ramaze/adapter/evented_mongrel.rb +%{ruby_rubylibdir}/ramaze/adapter/swiftiplied_mongrel.rb + + +%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 2007/05/22 16:12:23 aredridel +- added + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
