]> git.pld-linux.org Git - packages/ruby-io-like.git/blame - ruby-io-like.spec
desc/summary from homepage
[packages/ruby-io-like.git] / ruby-io-like.spec
CommitLineData
16ca1114 1%define pkgname io-like
78aceb5f 2Summary: IO::Like - in the Likeness of IO
16ca1114
ER
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
78aceb5f
ER
17The IO::Like module provides all of the methods of typical IO
18implementations such as File; most importantly the read, write, and
19seek series of methods. A class which includes IO::Like needs to
20provide only a few methods in order to enable the higher level
21methods. Buffering is automatically provided by default for the
22methods which normally provide it in IO.
16ca1114
ER
23
24%prep
25%setup -q -n %{pkgname}-%{version}
26
27%build
28# write .gemspec
29%__gem_helper spec
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
34cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
35cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(644,root,root,755)
42%dir %{ruby_vendorlibdir}/io
43%{ruby_vendorlibdir}/io/like.rb
44%{ruby_specdir}/%{pkgname}-%{version}.gemspec
This page took 0.049952 seconds and 4 git commands to generate.