[packages/ruby-forwardable] Initial
arekm
arekm at pld-linux.org
Fri Mar 20 01:46:13 CET 2026
commit 850625735ece89ae3389084e2faf47427602c069
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Mar 20 01:45:55 2026 +0100
Initial
ruby-forwardable.spec | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
---
diff --git a/ruby-forwardable.spec b/ruby-forwardable.spec
new file mode 100644
index 0000000..c34f7ad
--- /dev/null
+++ b/ruby-forwardable.spec
@@ -0,0 +1,38 @@
+%define pkgname forwardable
+Summary: Provides delegation of specified methods to a designated object
+Name: ruby-forwardable
+Version: 1.3.3
+Release: 1
+License: Ruby or BSD-2-Clause
+Group: Development/Languages
+Source0: https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 1c545aebc853bf352f43e6801ed1c1f4
+URL: https://github.com/ruby/forwardable
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.665
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides delegation of specified methods to a designated object.
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+
+%build
+%__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}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_vendorlibdir}/forwardable.rb
+%{ruby_vendorlibdir}/forwardable
+%{ruby_specdir}/%{pkgname}.gemspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-forwardable.git/commitdiff/850625735ece89ae3389084e2faf47427602c069
More information about the pld-cvs-commit
mailing list