Initial import

epel9
Michal Fojtik 14 years ago committed by Michal fojtik
parent 2b5f225ca2
commit 589a1c64a4

1
.gitignore vendored

@ -0,0 +1 @@
/rb-inotify-0.8.1.gem

@ -0,0 +1,59 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname rb-inotify
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
Summary: A Ruby wrapper for Linux's inotify, using FFI
Name: rubygem-%{gemname}
Version: 0.8.1
Release: 2%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/nex3/rb-inotify
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Requires: rubygems
Requires: ruby(abi) = 1.8
Requires: rubygem(ffi)
BuildRequires: rubygems
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
%description
A Ruby wrapper for Linux's inotify, using FFI
%prep
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
--force --rdoc %{SOURCE0}
rm -f %{buildroot}/%{geminstdir}/.gitignore
rm -f %{buildroot}/%{geminstdir}/.yardopts
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{geminstdir}
%{geminstdir}/lib
%doc %{geminstdir}/Rakefile
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{geminstdir}/README.md
%doc %{geminstdir}/MIT-LICENSE
%doc %{geminstdir}/VERSION
%doc %{geminstdir}/%{gemname}.gemspec
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%changelog
* 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

@ -0,0 +1 @@
bdda71fa9eddcc0aa16811001f797b33 rb-inotify-0.8.1.gem
Loading…
Cancel
Save