commit 497d5e235f1321b399b575a498c0c941897c667f
Author: Elan Ruusamäe <[email protected]>
Date:   Wed Jun 19 23:00:10 2013 +0300

    new, version 0.6.0
    
    created with gem2rpm

 ruby-clamp.spec | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
---
diff --git a/ruby-clamp.spec b/ruby-clamp.spec
new file mode 100644
index 0000000..1125863
--- /dev/null
+++ b/ruby-clamp.spec
@@ -0,0 +1,34 @@
+%define        pkgname clamp
+Summary:       a minimal framework for command-line utilities
+Name:          ruby-%{pkgname}
+Version:       0.6.0
+Release:       1
+License:       GPL v2+ or Ruby
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 71683cdc684e5a17c1dcafddc97aacda
+URL:           http://github.com/mdub/clamp
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Clamp provides an object-model for command-line utilities. It handles
+parsing of command-line options, and generation of usage help.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_vendorlibdir}/%{pkgname}.rb
+%{ruby_vendorlibdir}/%{pkgname}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-clamp.git/commitdiff/497d5e235f1321b399b575a498c0c941897c667f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to