From: Wai-Sun Chia Date: 2002-12-29T15:09:21+09:00 Subject: RPM .spec file for eRuby This is a multi-part message in MIME format. --------------020905050909040905030404 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Here's a .spec file for you to build a RPM for eRuby... -- Wai-Sun "Squidster" Chia Consulting & Integration Linux/Unix/Web Developer Dude "Just Another Ruby Miner" --------------020905050909040905030404 Content-Type: text/plain; name="ruby-eruby.spec" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ruby-eruby.spec" %define namae eruby %define rbname ruby-%{namae} %define version 1.0.0 %define release 1 Summary: Embedded Ruby templating engine Name: %{rbname} Version: %{version} Release: %{release} Source: http://www.modruby.net/archive/%{namae}-%{version}.tar.gz Copyright: Ruby Group: Development/Other BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Requires: ruby >= 1.6 BuildRequires: ruby-devel %description eRuby interprets Ruby code embedded in a text/HTML file. %prep %setup -q -n %{namae}-%{version} %build ruby configure.rb --enable-shared make %install rm -rf %buildroot make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf %buildroot %files %defattr(-,root,root) %doc ChangeLog README* examples *.png bin2c %{_includedir}/eruby.h %{_libdir}/liberuby.* %{_libdir}/ruby/*/*/*.so %{_mandir}/man1/eruby* %{_bindir}/eruby %changelog * Sat Dec 29 2002 Squidster 0.0.18-1 - first release # end of file --------------020905050909040905030404--