%global gem_name rb-inotify %global rubyabi 1.9.1 Summary: A Ruby wrapper for Linux's inotify, using FFI Name: rubygem-%{gem_name} Version: 0.8.8 Release: 2%{?dist} Group: Development/Languages License: MIT URL: http://github.com/nex3/rb-inotify Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) Requires: rubygem(ffi) BuildRequires: ruby(abi) = %{rubyabi} BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description A Ruby wrapper for Linux's inotify, using FFI %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -c -T mkdir -p .%{gem_dir} gem install --local --install-dir .%{gem_dir} \ --force %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} %exclude %{gem_instdir}/.* %{gem_libdir} %doc %{gem_docdir} %doc %{gem_instdir}/MIT-LICENSE %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %doc %{gem_instdir}/VERSION %{gem_instdir}/Rakefile %{gem_instdir}/%{gem_name}.gemspec %changelog * Thu Feb 14 2013 Fedora Release Engineering - 0.8.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jul 24 2012 Vít Ondruch - 0.8.8-1 - Update to rb-inotify 0.8.8. * Sat Jul 21 2012 Fedora Release Engineering - 0.8.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Feb 03 2012 Vít Ondruch - 0.8.1-5 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 0.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Oct 11 2010 Michal Fojtik - 0.8.1-2 - Removed unused macros - Moved Rakefile into doc * Tue Oct 05 2010 Michal Fojtik - 0.8.1-1 - Initial package