Summary: The Mmap class implement memory-mapped file objects for Ruby
Name: mmap
Version: 0.2.6
Release: 1%{?_dist_release}
URL: ftp://moulon.inra.fr/pub/ruby/
Source0: ftp://moulon.inra.fr/pub/ruby/%{name}-%{version}.tar.gz
License: Ruby's
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: ruby
Requires: ruby

%description
The Mmap class implement memory-mapped file objects for Ruby

%prep
%setup -q

%build
ruby extconf.rb
#make sitearchdir=%{rarchdir}
make
make test

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} sitearchdir=%{buildroot}%{rarchdir} install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc doc Changes README.en mmap.html mmap.rd
%{rarchdir}/mmap.so

%changelog
* Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.2.6-1vl5
- applied new versioning policy

* Sat Dec 29 2006 Shu KONNO <owa@bg.wakwak.com> 0.2.6-0vl1
- new upstream release
- dropt option sitearchdir to make

* Tue Oct  7 2003 IWAI, Masaharu <iwai@alib.jp> 0.2.2-0vl1
- new upstream release
- build with ruby-1.8.0

* Wed Apr 23 2003 IWAI Masaharu <iwai@alib.jp> 0.2.0-0vl1
- first release for Vine Linux

* Sun Jan 19 2003 IWAI Masaharu <iwai@alib.jp> 0.2.0-1
- Initial build.


