Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > a01eec6ea78bbb0f68ec0c17d3ecf5ce > files > 2

ruby-ffi-1.0.11-3.mga3.src.rpm

%define oname   ffi

Name:       ruby-%{oname}
Epoch:      1
Version:    1.0.11
Release:    %mkrel 3
Summary:    A ruby extension for programmatically loading dynamic libraries
License:    BSD
Group:      Development/Ruby
URL:        http://wiki.github.com/ffi/ffi
Source0:    http://rubygems.org/gems/%{oname}-%{version}.gem
BuildRequires: rubygems
BuildRequires: ruby-devel
BuildRequires: ffi5-devel

%description
Ruby-FFI is a ruby extension for programmatically loading dynamic
libraries, binding functions within them, and calling those functions
from Ruby code. Moreover, a Ruby-FFI extension works without changes
on Ruby and JRuby. Discover why should you write your next extension
using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].

#-------------------------------------------------------------------------------
%package        doc
Summary:    Documentation for %{name}
Group:      Development/Ruby
BuildArch:	noarch
Requires:   %{name} = %{epoch}:%{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
%{ruby_sitearchdir}/ffi_c.so

%files          doc
%doc %{ruby_gemdir}/doc/%{oname}-%{version}
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/History.txt
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/README.rdoc


%changelog

* Fri Feb 08 2013 umeabot <umeabot> 1:1.0.11-3.mga3
+ Revision: 395955
- Rebuild for CVE-2013-0256

* Mon Jan 14 2013 umeabot <umeabot> 1:1.0.11-2.mga3
+ Revision: 380877
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sun Nov 04 2012 fwang <fwang> 1:1.0.11-1.mga3
+ Revision: 314035
- new version 1.0.11

* Sat Nov 03 2012 fwang <fwang> 1.1.5-2.mga3
+ Revision: 312999
- rebuild for new ruby

* Sat Aug 11 2012 shlomif <shlomif> 1.1.5-1.mga3
+ Revision: 280468
- New version 1.1.5

* Mon Aug 06 2012 luigiwalser <luigiwalser> 1.0.11-2.mga3
+ Revision: 278993
- rebuild for libffi

* Tue Jun 12 2012 shlomif <shlomif> 1.0.11-1.mga3
+ Revision: 259889
- Got to build without yardoc

  + solbu <solbu>
    - New version
    - Spec cleanup

* Tue Apr 19 2011 shikamaru <shikamaru> 1.0.7-1.mga1
+ Revision: 88768
- new version 1.0.7

* Sat Feb 19 2011 shikamaru <shikamaru> 0.6.3-1.mga1
+ Revision: 54164
- add sitearchdir in load path so that so file gets found
- Fix compatibility with rspec 2
- fix BuildRequires
- imported package ruby-ffi