|
|
|
@ -1,17 +1,20 @@
|
|
|
|
|
%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.1
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.8.8
|
|
|
|
|
Release: 1%{?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: ruby(abi) = 1.9.1
|
|
|
|
|
Requires: rubygem(ffi)
|
|
|
|
|
BuildRequires: ruby(abi) = %{rubyabi}
|
|
|
|
|
BuildRequires: rubygems-devel
|
|
|
|
|
BuildRequires: ruby
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
|
|
|
|
@ -19,36 +22,50 @@ Provides: rubygem(%{gem_name}) = %{version}
|
|
|
|
|
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
|
|
|
|
|
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}
|
|
|
|
|
cp -a .%{gem_dir}/* \
|
|
|
|
|
%{buildroot}%{gem_dir}/
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
|
%dir %{gem_instdir}
|
|
|
|
|
%exclude %{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}
|
|
|
|
|
%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
|
|
|
|
|
* Tue Jul 24 2012 Vít Ondruch <vondruch@redhat.com> - 0.8.8-1
|
|
|
|
|
- Update to rb-inotify 0.8.8.
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|