[packages/ruby-require_all] new, version 1.2.1

glen glen at pld-linux.org
Thu Apr 25 21:53:41 CEST 2013


commit 40d02804e5a2af049e8a8cd75098e467349f395a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 25 22:53:19 2013 +0300

    new, version 1.2.1
    
    created with gem2rpm

 ruby-require_all.spec | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/ruby-require_all.spec b/ruby-require_all.spec
new file mode 100644
index 0000000..9b995d7
--- /dev/null
+++ b/ruby-require_all.spec
@@ -0,0 +1,39 @@
+%define	pkgname	require_all
+Summary:	A wonderfully simple way to load your code
+Name:		ruby-%{pkgname}
+Version:	1.2.1
+Release:	1
+License:	GPL or MIT
+Group:		Development/Languages
+Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	e1b78e9e38833e514bbd323e8e377917
+URL:		http://github.com/jarmo/require_all
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.656
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A wonderfully simple way to load your code.
+
+The easiest way to use require_all is to just point it at a directory
+containing a bunch of .rb files. These files can be nested under
+subdirectories as well:
+
+require_all 'lib'
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.textile CHANGES LICENSE
+%{ruby_vendorlibdir}/%{pkgname}.rb
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-require_all.git/commitdiff/40d02804e5a2af049e8a8cd75098e467349f395a



More information about the pld-cvs-commit mailing list