]> git.pld-linux.org Git - packages/ruby-io-like.git/commitdiff
new, version 0.3.0
authorElan Ruusamäe <glen@delfi.ee>
Thu, 2 Jun 2016 13:55:54 +0000 (16:55 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 2 Jun 2016 13:55:54 +0000 (16:55 +0300)
created with gem2rpm

ruby-io-like.spec [new file with mode: 0644]

diff --git a/ruby-io-like.spec b/ruby-io-like.spec
new file mode 100644 (file)
index 0000000..ff6b7a1
--- /dev/null
@@ -0,0 +1,41 @@
+%define        pkgname io-like
+Summary:       A module which provides the functionality of an IO object to any class which provides a couple of simple methods
+Name:          ruby-%{pkgname}
+Version:       0.3.0
+Release:       1
+License:       GPL v2+ or Ruby
+Group:         Development/Languages
+Source0:       http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 7a16ea4dfd897a9af9855d19416f3e4a
+URL:           http://io-like.rubyforge.org/
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.656
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The IO::Like module provides the methods of an IO object based upon on
+a few simple methods provided by the including class: unbuffered_read,
+unbuffered_write, and unbuffered_seek.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{ruby_vendorlibdir}/io
+%{ruby_vendorlibdir}/io/like.rb
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
This page took 0.062833 seconds and 4 git commands to generate.