]> git.pld-linux.org Git - SPECS.git/blob - ruby-openid.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / ruby-openid.spec
1
2 %define gitrev 8e979da
3 %define gitauthor openid
4 %define gitname ruby-openid
5
6 Summary:        OpenID library for Ruby
7 Name:           ruby-openid
8 Version:        2.1.8
9 Release:        1
10 License:        Apache
11 Group:          Development/Libraries
12 Source0:        http://download.github.com/%{gitauthor}-%{gitname}-%{gitrev}.tar.gz
13 # Source0-md5:  dea26c5dbe0435ecb845bdcaed825d08
14 #Patch0:        %{name}-nogems.patch
15 URL:            http://github.com/openid/ruby-openid
16 BuildRequires:  rpmbuild(macros) >= 1.277
17 BuildRequires:  ruby
18 BuildRequires:  ruby-modules
19 BuildRequires:  setup.rb >= 3.4.1
20 %{?ruby_mod_ver_requires_eq}
21 #BuildArch:     noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Grit gives you object oriented read/write access to Git repositories via Ruby.
26 The main goals are stability and performance. To this end, some of the
27 interactions with Git repositories are done by shelling out to the system's
28 `git` command, and other interactions are done with pure Ruby reimplementations
29 of core Git functionality. This choice, however, is transparent to end users,
30 and you need not know which method is being used.
31
32 %prep
33 %setup -q -n %{gitauthor}-%{gitname}-%{gitrev}
34 #%patch0 -p1
35 cp %{_datadir}/setup.rb .
36 ruby setup.rb config \
37         --installdirs=std
38 ruby setup.rb setup
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 ruby setup.rb install \
44         --prefix=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %{ruby_rubylibdir}/openid.rb
52 %{ruby_rubylibdir}/openid
53 %{ruby_rubylibdir}/hmac
This page took 0.171878 seconds and 3 git commands to generate.