- Spec file cleanup:

* Factory preparation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ffi?expand=0&rev=12
This commit is contained in:
Sascha Peilicke 2012-03-28 13:30:52 +00:00 committed by Git OBS Bridge
parent 0de81c7dd5
commit d3b265ffc5
2 changed files with 19 additions and 19 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 28 13:30:52 UTC 2012 - saschpe@suse.de
- Spec file cleanup:
* Factory preparation
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 24 12:36:46 UTC 2011 - fcastelli@novell.com Wed Aug 24 12:36:46 UTC 2011 - fcastelli@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package rubygem-ffi # spec file for package rubygem-ffi
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,29 +15,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: rubygem-ffi Name: rubygem-ffi
Version: 1.0.9 Version: 1.0.9
Release: 0 Release: 0
License: MIT
Summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code
Url: http://wiki.github.com/ffi/ffi
Group: Development/Languages/Ruby
%define mod_name ffi %define mod_name ffi
%define mod_full_name %{mod_name}-%{version} %define mod_full_name %{mod_name}-%{version}
# Source: %{mod_full_name}.gem
Group: Development/Languages/Ruby
License: MIT
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: rubygems_with_buildroot_patch BuildRequires: rubygems_with_buildroot_patch
Provides: rubygem-%{mod_name}-1 = %{version}
Provides: rubygem-%{mod_name}-1_0 = %{version}
Provides: rubygem-%{mod_name}-1_0_9 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%rubygems_requires %rubygems_requires
Provides: rubygem-%{mod_name}-1 = %{version}-%{release}
Provides: rubygem-%{mod_name}-1_0 = %{version}-%{release}
Provides: rubygem-%{mod_name}-1_0_9 = %{version}-%{release}
#
Url: http://wiki.github.com/ffi/ffi
Source: %{mod_full_name}.gem
#
Summary: Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code
%description %description
Ruby-FFI is a ruby extension for programmatically loading dynamic Ruby-FFI is a ruby extension for programmatically loading dynamic
libraries, binding functions within them, and calling those functions libraries, binding functions within them, and calling those functions
@ -49,6 +44,7 @@ using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
Summary: RDoc documentation for %{mod_name} Summary: RDoc documentation for %{mod_name}
Group: Development/Languages/Ruby Group: Development/Languages/Ruby
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description doc %description doc
Documentation generated at gem installation time. Documentation generated at gem installation time.
Usually in RDoc and RI formats. Usually in RDoc and RI formats.
@ -57,18 +53,16 @@ Usually in RDoc and RI formats.
Summary: Test suite for %{mod_name} Summary: Test suite for %{mod_name}
Group: Development/Languages/Ruby Group: Development/Languages/Ruby
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description testsuite %description testsuite
Test::Unit or RSpec files, useful for developers. Test::Unit or RSpec files, useful for developers.
%prep %prep
%build %build
%install %install
%gem_install %{S:0} %gem_install %{SOURCE0}
%gem_cleanup %gem_cleanup
%clean
%{__rm} -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem