/[packages]/cauldron/ruby-shoulda-context/current/SPECS/ruby-shoulda-context.spec
ViewVC logotype

Annotation of /cauldron/ruby-shoulda-context/current/SPECS/ruby-shoulda-context.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 480393 - (hide annotations) (download)
Mon Sep 16 20:11:47 2013 UTC (10 years, 7 months ago) by pterjan
File size: 1068 byte(s)
- 1.1.5
- use gem_setup
- fix file list
1 fwang 313927 %define oname shoulda-context
2    
3     Name: ruby-%{oname}
4 pterjan 480393 Version: 1.1.5
5     Release: %mkrel 1
6 fwang 313927 Summary: Context framework extracted from Shoulda
7     Group: Development/Ruby
8     License: GPLv2
9     URL: http://thoughtbot.com/community/
10     Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem
11     BuildRequires: rubygems
12     BuildArch: noarch
13     Conflicts: ruby-shoulda < 3
14    
15     %description
16     Context framework extracted from Shoulda.
17    
18     #-------------------------------------------------------------------------------
19     %package doc
20     Summary: Documentation for %{name}
21     Group: Development/Ruby
22     Requires: %{name} = %{version}-%{release}
23    
24     %description doc
25     Documents, Rdoc & RI documentation for %{name}.
26     #-------------------------------------------------------------------------------
27    
28     %prep
29 pterjan 480393 %gem_setup
30 fwang 313927
31     %build
32     %gem_build
33    
34     %install
35     %gem_install
36    
37     %files
38     %{_bindir}/convert_to_should_syntax
39 pterjan 480393 %{ruby_gemdir}/gems/%{oname}-%{version}/
40 fwang 313927 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
41    
42     %files doc
43     %doc %{ruby_gemdir}/doc/%{oname}-%{version}

  ViewVC Help
Powered by ViewVC 1.1.30