Author: aredridel                    Date: Thu Oct  6 08:15:37 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-nano.spec
diff -u /dev/null SPECS/ruby-nano.spec:1.1
--- /dev/null   Thu Oct  6 10:15:37 2005
+++ SPECS/ruby-nano.spec        Thu Oct  6 10:15:32 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define        ruby_rubylibdir %(ruby -r rbconfig -e 'print 
Config::CONFIG["rubylibdir"]')
+%define        ruby_ridir      %(ruby -r rbconfig -e 'include Config; print 
File.join(CONFIG["datadir"], "ri", CONFIG["ruby_version"])')
+%define        ruby_version    %(ruby -r rbconfig -e 'print 
Config::CONFIG["ruby_version"]')
+Summary:       Ruby extension library
+Name:          ruby-nano
+%define tarname nano
+Version:       0.8.2
+Release:       1
+License:       Ruby-alike
+Group:         Development/Languages
+Source0:       
http://rubyforge.org/frs/download.php/5818/%{tarname}-%{version}.tbz
+# Source0-md5: 9997745911ab757ffec55ba1687d8ddd
+URL:           http://nano.rubyforge.org/
+BuildRequires: ruby
+Requires:      ruby
+#BuildArch:    noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mega Modules is a massive additions library for Ruby, chock full of quality 
classes and modules.
+
+%prep
+%setup -q -n %{tarname}-%{version}
+
+%build
+rdoc --ri --op ri lib
+rdoc --op rdoc lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d 
$RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_examplesdir}/%{name}-%{version}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc README ChangeLog 
+%{ruby_rubylibdir}/*
+#%{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/06 08:15:32  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