]> git.pld-linux.org Git - packages/ruby-io-like.git/blame - ruby-io-like.spec
new, version 0.3.0
[packages/ruby-io-like.git] / ruby-io-like.spec
CommitLineData
16ca1114
ER
1%define pkgname io-like
2Summary: A module which provides the functionality of an IO object to any class which provides a couple of simple methods
3Name: ruby-%{pkgname}
4Version: 0.3.0
5Release: 1
6License: GPL v2+ or Ruby
7Group: Development/Languages
8Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
9# Source0-md5: 7a16ea4dfd897a9af9855d19416f3e4a
10URL: http://io-like.rubyforge.org/
11BuildRequires: rpm-rubyprov
12BuildRequires: rpmbuild(macros) >= 1.656
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17The IO::Like module provides the methods of an IO object based upon on
18a few simple methods provided by the including class: unbuffered_read,
19unbuffered_write, and unbuffered_seek.
20
21%prep
22%setup -q -n %{pkgname}-%{version}
23
24%build
25# write .gemspec
26%__gem_helper spec
27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
31cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
32cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
33
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%files
38%defattr(644,root,root,755)
39%dir %{ruby_vendorlibdir}/io
40%{ruby_vendorlibdir}/io/like.rb
41%{ruby_specdir}/%{pkgname}-%{version}.gemspec
This page took 0.048335 seconds and 4 git commands to generate.