Revision 86afb11d
Added by Dominic Cleal about 10 years ago
rel-eng/releasers.conf | ||
---|---|---|
[koji-foreman]
|
||
releaser = tito.release.KojiReleaser
|
||
autobuild_tags = foreman-nightly-rhel6 foreman-nightly-nonscl-rhel6 foreman-nightly-fedora19
|
||
autobuild_tags = foreman-nightly-rhel6 foreman-nightly-nonscl-rhel6 foreman-nightly-nonscl-rhel7 foreman-nightly-fedora19
|
||
|
||
[koji-foreman-plugins]
|
||
releaser = tito.release.KojiReleaser
|
rel-eng/tito.props | ||
---|---|---|
[foreman-nightly-rhel6]
|
||
disttag = .el6
|
||
blacklist = rubygem-clamp
|
||
rubygem-ffi
|
||
rubygem-hammer_cli
|
||
rubygem-hammer_cli_foreman
|
||
rubygem-powerbar
|
||
... | ... | |
rubygem-terminal-table
|
||
rubygem-thor
|
||
|
||
[foreman-nightly-nonscl-rhel7]
|
||
disttag = .el7
|
||
whitelist = rubygem-ffi
|
||
|
||
[foreman-nightly-fedora19]
|
||
disttag = .fc19
|
||
whitelist = rubygem-apipie-rails
|
rubygem-ffi/ffi-1.4.0.gem | ||
---|---|---|
../.git/annex/objects/kF/07/SHA256E-s879616--c89c24653d86009875330c3759873eae02708af49f9fe86f9afe20f2364e4219.0.gem/SHA256E-s879616--c89c24653d86009875330c3759873eae02708af49f9fe86f9afe20f2364e4219.0.gem
|
rubygem-ffi/rubygem-ffi.spec | ||
---|---|---|
%global gem_name ffi
|
||
%{!?enable_test: %global enable_test 0}
|
||
|
||
Name: rubygem-%{gem_name}
|
||
Version: 1.4.0
|
||
Release: 2%{?dist}
|
||
Summary: FFI Extensions for Ruby
|
||
Group: Development/Languages
|
||
|
||
License: LGPLv3
|
||
URL: http://wiki.github.com/ffi/ffi
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||
|
||
BuildRequires: ruby-devel
|
||
BuildRequires: rubygems-devel
|
||
BuildRequires: libffi-devel
|
||
%if 0%{enable_test} > 0
|
||
BuildRequires: rubygem(rspec)
|
||
%endif
|
||
Requires: ruby(rubygems)
|
||
Requires: ruby(release)
|
||
Provides: rubygem(%{gem_name}) = %{version}
|
||
|
||
%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].
|
||
|
||
%prep
|
||
gem unpack %{SOURCE0}
|
||
%setup -q -D -T -n %{gem_name}-%{version}
|
||
|
||
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
||
|
||
%build
|
||
|
||
# Create the gem as gem install only works on a gem file
|
||
gem build %{gem_name}.gemspec
|
||
|
||
%gem_install
|
||
|
||
%install
|
||
mkdir -p %{buildroot}%{gem_dir}
|
||
cp -pa .%{gem_dir}/* \
|
||
%{buildroot}%{gem_dir}/
|
||
|
||
mkdir -p %{buildroot}%{gem_extdir_mri}/lib
|
||
mv %{buildroot}%{gem_instdir}/lib/ffi_c.so %{buildroot}%{gem_extdir_mri}/lib/
|
||
|
||
%if 0%{enable_test} > 0
|
||
%check
|
||
pushd .%{gem_instdir}
|
||
make -f libtest/GNUmakefile
|
||
rspec spec
|
||
popd
|
||
%endif
|
||
|
||
%files
|
||
%doc %{gem_instdir}/COPYING
|
||
%doc %{gem_instdir}/COPYING.LESSER
|
||
%doc %{gem_instdir}/README.md
|
||
%doc %{gem_instdir}/History.txt
|
||
%doc %{gem_instdir}/LICENSE
|
||
%doc %{gem_docdir}
|
||
%dir %{gem_instdir}
|
||
%{gem_instdir}/Rakefile
|
||
%{gem_instdir}/gen
|
||
%exclude %{gem_instdir}/ext
|
||
%exclude %{gem_instdir}/libtest
|
||
%{gem_instdir}/ffi.gemspec
|
||
%{gem_libdir}
|
||
%{gem_instdir}/spec
|
||
%{gem_extdir_mri}/
|
||
%exclude %{gem_cache}
|
||
%{gem_spec}
|
||
|
||
|
||
%changelog
|
||
* Tue Mar 26 2013 Vít Ondruch <vondruch@redhat.com> - 1.4.0-2
|
||
- Use %%{gem_extdir_mri} instead of %%{gem_extdir}.
|
||
|
||
* Wed Feb 20 2013 Vít Ondruch <vondruch@redhat.com> - 1.4.0-1
|
||
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||
- Update to FFI 1.4.0.
|
||
|
||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-6
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-5
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
||
* Thu Feb 02 2012 Vít Ondruch <vondruch@redhat.com> - 1.0.9-4
|
||
- Rebuilt for Ruby 1.9.3.
|
||
|
||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-3
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
||
* Tue Jun 14 2011 Bryan Kearney <bkearney@redhat.com> - 1.0.9-2
|
||
- Fixed the License, it is actually LGPL
|
||
|
||
* Mon Jun 13 2011 Bryan Kearney <bkearney@redhat.com> - 1.0.9-1
|
||
- Bring in 1.0.9 from upstream.
|
||
|
||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-2
|
||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
||
* Wed Mar 10 2010 Bryan Kearney <bkearney@redhat.com> - 0.6.2-1
|
||
- Power PC fixes from upstream which were found testing 0.6.2
|
||
|
||
* Tue Feb 22 2010 Bryan Kearney <bkearney@redhat.com> - 0.6.2-1
|
||
- Pull in 0.6.2 from upstream
|
||
|
||
* Tue Feb 22 2010 Bryan Kearney <bkearney@redhat.com> - 0.5.4-3
|
||
- Final updates based on package review
|
||
|
||
* Tue Feb 16 2010 Bryan Kearney <bkearney@redhat.com> - 0.5.4-2
|
||
- Updates Based on code review comments
|
||
|
||
* Mon Feb 15 2010 Bryan Kearney <bkearney@redhat.com> - 0.5.4-1
|
||
- Initial specfile
|
Also available in: Unified diff
Import rubygem-ffi for EL7