|
|
|
%global gem_name rb-inotify
|
|
|
|
|
|
|
|
Summary: A Ruby wrapper for Linux's inotify, using FFI
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
Version: 0.8.1
|
|
|
|
Release: 5%{?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(rubygems)
|
|
|
|
Requires: ruby(abi) = 1.9.1
|
|
|
|
Requires: rubygem(ffi)
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
BuildArch: noarch
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Ruby wrapper for Linux's inotify, using FFI
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{gem_dir}
|
|
|
|
gem install --local --install-dir %{buildroot}%{gem_dir} \
|
|
|
|
--force --rdoc %{SOURCE0}
|
|
|
|
rm -f %{buildroot}/%{gem_instdir}/.gitignore
|
|
|
|
rm -f %{buildroot}/%{gem_instdir}/.yardopts
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
%{gem_libdir}
|
|
|
|
%doc %{gem_instdir}/Rakefile
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
%doc %{gem_instdir}/README.md
|
|
|
|
%doc %{gem_instdir}/MIT-LICENSE
|
|
|
|
%doc %{gem_instdir}/VERSION
|
|
|
|
%doc %{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
%{gem_cache}
|
|
|
|
%{gem_spec}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Fri Feb 03 2012 Vít Ondruch <vondruch@redhat.com> - 0.8.1-5
|
|
|
|
- Rebuilt for Ruby 1.9.3.
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Oct 11 2010 Michal Fojtik <mfojtik@patashnik> - 0.8.1-2
|
|
|
|
- Removed unused macros
|
|
|
|
- Moved Rakefile into doc
|
|
|
|
|
|
|
|
* Tue Oct 05 2010 Michal Fojtik <mfojtik@patashnik> - 0.8.1-1
|
|
|
|
- Initial package
|