rpms/ruby-openid/devel ruby-openid.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Allisson Azevedo (allisson) fedora-extras-commits at redhat.com
Mon Feb 11 02:54:38 UTC 2008


Author: allisson

Update of /cvs/extras/rpms/ruby-openid/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27696/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ruby-openid.spec 
Log Message:

First rpm import



--- NEW FILE ruby-openid.spec ---
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
#%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}

Name:           ruby-openid
Version:        2.0.3
Release:        3%{?dist}
Summary:        Ruby library for verifying and serving OpenID identities

Group:          Development/Libraries

License:        ASL 2.0
URL:            http://openidenabled.com/ruby-openid/
Source0:        http://openidenabled.com/files/%{name}/packages/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  ruby ruby-devel
Requires:       ruby(abi) = 1.8
# If this package is mainly a ruby library, it should provide
# whatever people have to require in their ruby scripts to use the library
# For example, if people use this lib with "require 'foo'", it should provide
# ruby(foo)
Provides:       ruby(openid) = %{version}

%description
The Ruby OpenID library, with batteries included.

A Ruby library for verifying and serving OpenID identities. 
Ruby OpenID makes it easy to add OpenID authentication to 
your web applications.

%package doc
Group: Documentation
Summary: Documentation for ruby-openid
Requires: %{name} = %{version}-%{release}

%description doc
Documentation distributed with the ruby-openid

%prep
%setup -q


%build
ruby setup.rb config


%install
rm -rf $RPM_BUILD_ROOT
ruby setup.rb install --prefix=$RPM_BUILD_ROOT

%check
export RUBYLIB=$RPM_BUILD_ROOT%{ruby_sitelib}
# some tests need net connection
#ruby setup.rb test || :
ruby setup.rb test

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGELOG LICENSE NOTICE README
# For noarch packages: ruby_sitelib
%{ruby_sitelib}/*
# For arch-specific packages: ruby_sitearch
#%{ruby_sitearch}/*

%files doc
%defattr(-,root,root,-)
%doc doc/


%changelog

* Sat Feb  9 2008 Allisson Azevedo <allisson at gmail.com> 2.0.3-3
- Remove examples for doc package

* Fri Feb  1 2008 Allisson Azevedo <allisson at gmail.com> 2.0.3-2
- Remove CFLAGS in build section
- Create ruby-openid-doc package for docs
- Add examples for doc package
- Remove zero-length files in doc package
- Fix file-not-utf8

* Tue Jan 29 2008 Allisson Azevedo <allisson at gmail.com> 2.0.3-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ruby-openid/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	10 Feb 2008 20:25:47 -0000	1.1
+++ .cvsignore	11 Feb 2008 02:54:05 -0000	1.2
@@ -0,0 +1 @@
+ruby-openid-2.0.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ruby-openid/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	10 Feb 2008 20:25:47 -0000	1.1
+++ sources	11 Feb 2008 02:54:05 -0000	1.2
@@ -0,0 +1 @@
+3bc899c9056c80700bc36c6bbcf6852a  ruby-openid-2.0.3.tar.bz2




More information about the fedora-extras-commits mailing list