%define oname oauth2 Name: ruby-%{oname} Version: 0.8.0 Release: %mkrel 3 Summary: A Ruby wrapper for the OAuth 2.0 protocol License: MIT Group: Development/Ruby URL: http://github.com/intridea/oauth2 Source0: http://rubygems.org/gems/%{oname}-%{version}.gem BuildRequires: rubygems BuildArch: noarch %description A Ruby wrapper for the OAuth 2.0 protocol built with a similar style to the original OAuth gem. #------------------------------------------------------------------------------- %package doc Summary: Documentation for %{name} Group: Development/Ruby Requires: %{name} = %{version}-%{release} %description doc Documents, Rdoc & RI documentation for %{name}. #------------------------------------------------------------------------------- %prep %setup -q tar xmf data.tar.gz %build %gem_build %install %gem_install %files %dir %{ruby_gemdir}/gems/%{oname}-%{version}/ %{ruby_gemdir}/gems/%{oname}-%{version}/lib %{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec %files doc %doc %{ruby_gemdir}/doc/%{oname}-%{version} %changelog * Fri Feb 08 2013 umeabot <umeabot> 0.8.0-3.mga3 + Revision: 396232 - Rebuild for CVE-2013-0256 * Mon Jan 14 2013 umeabot <umeabot> 0.8.0-2.mga3 + Revision: 381158 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Nov 04 2012 fwang <fwang> 0.8.0-1.mga3 + Revision: 313700 - new version 0.8.0 * Thu Jun 07 2012 solbu <solbu> 0.5.2-1.mga3 + Revision: 256961 - New version - Spec cleanup * Sun Apr 17 2011 shikamaru <shikamaru> 0.3.0-1.mga1 + Revision: 86958 - new version 0.3.0 * Sat Apr 16 2011 shikamaru <shikamaru> 0.2.0-1.mga1 + Revision: 86446 - fix BR - new version 0.2.0 - add br and fix testsuite * Wed Feb 16 2011 shikamaru <shikamaru> 0.1.1-1.mga1 + Revision: 52086 - fix BR - imported package ruby-oauth2