Duncan Mac-Vicar
2011-05-22 19:18:39 +00:00
committed by Git OBS Bridge
parent 078f475fe3
commit d645a6b4bb
4 changed files with 36 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b317b44933b758045479c817c60ce12c3ab69eb8d3b19f61691606919ee1623
size 809984

3
ffi-1.0.9.gem Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:909b86aeaeccb6535935935979ae6d24ccb21fa8fb5f5c3ff7cbf7bd64deb7a4
size 823808

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 22 19:17:04 UTC 2011 - dmacvicar@suse.de
- update to 1.0.9
-------------------------------------------------------------------
Fri Jun 11 16:41:02 UTC 2010 - mrueckert@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package rubygem-ffi (Version 0.6.3)
# spec file for package rubygem-ffi
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,22 @@
# norootforbuild
Name: rubygem-ffi
Version: 0.6.3
Version: 1.0.9
Release: 0
%define mod_name ffi
#
Group: Development/Languages/Ruby
#FIXME cannot obtain license from gem, need manual digging
License: BSD
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems_with_buildroot_patch
%rubygems_requires
BuildRequires: rubygem-rake >= 0.8.7
Requires: rubygem-rake >= 0.8.7
#
Url: http://wiki.github.com/ffi/ffi
Source: %{mod_name}-%{version}.gem
Source1: rubygem-ffi-rpmlintrc
#
Summary: Ruby-FFI is a ruby extension for programmatically using dynamic libraries
Summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code
%description
Ruby-FFI is a ruby extension for programmatically loading dynamic
libraries, binding functions within them, and calling those functions
@@ -42,13 +40,25 @@ 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: RDoc documentation for %{mod_name}
Group: Development/Languages/Ruby
Requires: %{name} = %{version}
%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.
%package testsuite
Summary: Test suite for %{mod_name}
Group: Development/Languages/Ruby
Requires: %{name} = %{version}
%description testsuite
Test::Unit or RSpec files, useful for developers.
%prep
%build
%install
%gem_install %{S:0}
pushd %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/ffi_c/libffi/
make distclean
popd
%gem_cleanup
%clean
@@ -58,7 +68,15 @@ popd
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/spec
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
%files testsuite
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/spec
%changelog