[rubygem-fssm/f14/master] Initial import (#663914).

Vít Ondruch vondruch at fedoraproject.org
Mon Jan 10 11:25:31 UTC 2011


commit 646fedc61124d183231fc827082393ae3f473d49
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Mon Jan 10 12:25:17 2011 +0100

    Initial import (#663914).

 .gitignore        |    1 +
 rubygem-fssm.spec |   84 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..532d5c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fssm-0.2.2.gem
diff --git a/rubygem-fssm.spec b/rubygem-fssm.spec
new file mode 100644
index 0000000..11a3c44
--- /dev/null
+++ b/rubygem-fssm.spec
@@ -0,0 +1,84 @@
+%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
+%global gemname fssm
+%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+
+Summary: File system state monitor
+Name: rubygem-%{gemname}
+Version: 0.2.2
+Release: 3%{?dist}
+Group: Development/Languages
+License: MIT
+URL: http://github.com/ttilley/fssm
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires: ruby(abi) = 1.8
+Requires: rubygems
+Requires: rubygem(rspec)
+BuildRequires: rubygems
+BuildRequires: rubygem(rspec)
+BuildArch: noarch
+Provides: rubygem(%{gemname}) = %{version}
+
+%description
+The File System State Monitor keeps track of the state of any number of paths
+and will fire events when said state changes (create/update/delete).
+FSSM supports using FSEvents on MacOS (with ruby 1.8), Inotify on GNU/Linux,
+and polling anywhere else. 
+
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires:%{name} = %{version}-%{release}
+
+%description doc
+Documentation for %{name}
+
+%prep
+
+%build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{gemdir}
+gem install --local --install-dir %{buildroot}%{gemdir} \
+            --force --rdoc %{SOURCE0}
+
+rm %{buildroot}/%{geminstdir}/.document
+
+%check
+pushd %{buildroot}/%{geminstdir}
+%_bindir/spec spec
+popd
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%dir %{geminstdir}
+%{geminstdir}/lib/
+%{geminstdir}/Rakefile
+%{geminstdir}/VERSION.yml
+%doc %{geminstdir}/LICENSE
+%doc %{geminstdir}/README.markdown
+%{gemdir}/cache/%{gemname}-%{version}.gem
+%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+
+%files doc
+%defattr(-, root, root, -)
+%{geminstdir}/example.rb
+%{geminstdir}/%{gemname}.gemspec
+%{geminstdir}/profile/
+%{geminstdir}/spec/
+%doc %{gemdir}/doc/%{gemname}-%{version}
+
+%changelog
+* Fri Jan 07 2011 Vít Ondruch <vondruch at redhat.com> - 0.2.2-3
+- Removed explicit RubyGems version
+
+* Fri Dec 17 2010 Vít Ondruch <vondruch at redhat.com> - 0.2.2-2
+- Documentation moved into subpackage
+
+* Fri Dec 17 2010 Vít Ondruch <vondruch at redhat.com> - 0.2.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..e4cfae2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5a1ea465f0a86ed59e150ebf91193b19  fssm-0.2.2.gem


More information about the scm-commits mailing list