SPECS: ruby-builder.spec (NEW) - added

aredridel aredridel at pld-linux.org
Tue Aug 8 23:56:57 CEST 2006


Author: aredridel                    Date: Tue Aug  8 21:56:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-builder.spec
diff -u /dev/null SPECS/ruby-builder.spec:1.1
--- /dev/null	Tue Aug  8 23:56:57 2006
+++ SPECS/ruby-builder.spec	Tue Aug  8 23:56:52 2006
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary:	Simple builder to facilitate programatic generation of XML markup
+Name:		ruby-builder
+Version:	2.0.0
+Release:	1
+License:	Ruby's
+Group:		Development/Languages
+Source0:	http://rubyforge.org/frs/download.php/8400/builder-%{version}.gem
+# Source0-md5:	bd2bdac16b851ee482372e9d8c5a1c94
+#Patch0: %{name}-nogems.patch
+URL:		http://code.whytheluckystiff.net/builder/
+BuildRequires:	rake
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	setup.rb = 3.3.1
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Simple builder to facilitate programatic generation of XML markup.
+
+%prep
+%setup -q -c
+tar xf %{SOURCE0} -O data.tar.gz | tar xzv-
+#%patch0 -p1
+cp %{_datadir}/setup.rb .
+
+%build
+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}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%{ruby_rubylibdir}/builder*
+%{ruby_ridir}/*
+
+%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  2006/08/08 21:56:52  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list