/[packages]/updates/3/ruby-httpclient/current/SPECS/ruby-httpclient.spec
ViewVC logotype

Contents of /updates/3/ruby-httpclient/current/SPECS/ruby-httpclient.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 798481 - (show annotations) (download)
Sun Nov 23 10:44:23 2014 UTC (4 years, 9 months ago) by pterjan
File size: 1198 byte(s)
Update to 2.4.0 which allows SSL protocol negotiation
1 %define oname httpclient
2
3 Name: ruby-%{oname}
4 Version: 2.4.0
5 Release: %mkrel 1
6 Summary: Gives something like the functionality of libwww-perl (LWP) in Ruby
7 Group: Development/Ruby
8 License: GPLv2 or Ruby License
9 URL: http://dev.ctor.org/httpclient
10 Source0: http://rubygems.org/downloads/%{oname}-%{version}.gem
11 BuildRequires: rubygems
12 BuildArch: noarch
13
14 %description
15 Gives something like the functionality of libwww-perl (LWP) in Ruby.
16
17 #-------------------------------------------------------------------------------
18 %package doc
19 Summary: Documentation for %{name}
20 Group: Development/Ruby
21 Requires: %{name} = %{version}-%{release}
22
23 %description doc
24 Documents, Rdoc & RI documentation for %{name}.
25 #-------------------------------------------------------------------------------
26
27 %prep
28 %setup -q
29 tar xmf data.tar.gz
30
31 %build
32 %gem_build
33
34 %install
35 %gem_install
36
37 %files
38 %{_bindir}/%{oname}
39 %dir %{ruby_gemdir}/gems/%{oname}-%{version}/
40 %{ruby_gemdir}/gems/%{oname}-%{version}/bin
41 %{ruby_gemdir}/gems/%{oname}-%{version}/lib
42 %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
43
44 %files doc
45 %doc %{ruby_gemdir}/doc/%{oname}-%{version}

  ViewVC Help
Powered by ViewVC 1.1.26