avatar
abfonly has added b3ea14f15e
Imported from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  clamp-1.1.2.gem: 6c0de3724b81b047090577dd47e8e93b110e201b
view file @ b3ea14f15e
... ... --- /dev/null
... ... +++ b/rubygem-clamp.spec
... ... @@ -0,0 +1,48 @@
1
%define rbname  clamp
2
3
Summary:        Clamp provides an object-model for command-line utilities
4
Name:           rubygem-%{rbname}
5
Version:        1.1.2
6
Release:        1
7
Group:          Development/Ruby
8
License:        MIT
9
Url:            http://github.com/mdub/clamp
10
Source0:        https://rubygems.org/downloads/%{rbname}-%{version}.gem
11
BuildRequires:  rubygems 
12
# BuildRequires:  pkgconfig(ruby)
13
BuildArch:      noarch
14
15
%description
16
Clamp provides an object-model for command-line utilities. 
17
It handles parsing of command-line options, 
18
and generation of usage help.
19
20
%files
21
%doc README.* LICENSE CHANGES.*
22
%{ruby_gemdir}/gems/%{rbname}-%{version}/lib/
23
%{ruby_gemdir}/specifications/%{rbname}-%{version}.gemspec
24
#------------------------------------------------------------
25
26
%package        doc
27
Summary:        Documentation for %{name}
28
Group:          Books/Computer books
29
Requires:       %{name} = %{EVRD}
30
31
%description    doc
32
Documents, RDoc & RI documentation for %{name}.
33
34
%files          doc
35
%{ruby_gemdir}/doc/%{rbname}-%{version}/ri
36
%{ruby_gemdir}/doc/%{rbname}-%{version}/rdoc
37
38
39
#-------------------------------------------------------------
40
%prep
41
%setup -q
42
43
%build
44
%gem_build 
45
46
%install
47
%gem_install 
48

Comments