[rubygem-rb-inotify/f13/master] Initial import

Michal Fojtik mfojtik at fedoraproject.org
Thu Oct 14 10:19:19 UTC 2010


commit 88a010be071fd5d6e7caae810cbce3361de14eee
Author: Michal Fojtik <mfojtik at redhat.com>
Date:   Thu Oct 14 12:19:11 2010 +0200

    Initial import

 .gitignore              |    1 +
 rubygem-rb-inotify.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c6fb842 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/rb-inotify-0.8.1.gem
diff --git a/rubygem-rb-inotify.spec b/rubygem-rb-inotify.spec
new file mode 100644
index 0000000..9191af7
--- /dev/null
+++ b/rubygem-rb-inotify.spec
@@ -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 at patashnik> - 0.8.1-2
+- Removed unused macros
+- Moved Rakefile into doc
+
+* Tue Oct 05 2010 Michal Fojtik <mfojtik at patashnik> - 0.8.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7a35632 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bdda71fa9eddcc0aa16811001f797b33  rb-inotify-0.8.1.gem


More information about the scm-commits mailing list