File rubygem-fam.spec of Package rubygem-fam
# norootforbuild
%define mod_name FAM-Ruby
#
Name: rubygem-fam
Version: 0.2.0
Release: 0
#
Group: Development/Languages/Ruby
License: LGPL
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: rubygems > 0.8.11 fam-devel > 2.6.6.1
Requires: rubygems > 0.8.11 fam > 2.6.6.1
Provides: fam-ruby fam-ruby-%{version}
#
URL: http://pablotron.org/software/fam-ruby/
Source: http://pablotron.org/files/gems/%{mod_name}-%{version}.gem
#
#
Summary: FAM bindings for Ruby.
%description
FAM-Ruby is a Ruby interface to SGI’s File Alteration Monitor (oss.sgi.com/projects/fam/). FAM allows you to monitor files and directories for changes (file modification, creation, and removal) — in an event-driven manner. FAM is available on a variety of platforms, including Irix, Linux, and BSD variants (a patch for systems that use dnotify is also available). As of version 0.2.0, FAM-Ruby can also be used with Gamin (www.gnome.org/~veillard/gamin/), a GNOME library that is compatible with a subset of FAM. An RDoc-generated API reference is available in doc/, and a brief description of each event code is available in event_codes.txt.
%prep
%build
%install
gem install --build-root=%{buildroot} %{S:0}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
%changelog
* Fri Dec 29 2006 Martin Vuk <martin.vuk@fri.uni-lj.si>
- packaged as rubygem