[packages/ruby-text] Initial

arekm arekm at pld-linux.org
Fri Mar 20 01:28:15 CET 2026


commit 446e7d5af032c6201eeea7e08ece25f9f95f991f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Mar 20 01:27:57 2026 +0100

    Initial

 ruby-text.spec | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
---
diff --git a/ruby-text.spec b/ruby-text.spec
new file mode 100644
index 0000000..2234e10
--- /dev/null
+++ b/ruby-text.spec
@@ -0,0 +1,40 @@
+%define pkgname text
+Summary:	A collection of text algorithms
+Name:		ruby-%{pkgname}
+Version:	1.3.1
+Release:	1
+License:	MIT
+Group:		Development/Languages
+Source0:	https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5:	514c3d1db7a955fe793fc0cb149c164f
+URL:		http://github.com/threedaymonk/text
+BuildRequires:	rpm-rubyprov
+BuildRequires:	rpmbuild(macros) >= 1.665
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double
+Metaphone, Porter Stemming.
+
+%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}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rdoc COPYING.txt
+%{ruby_vendorlibdir}/text.rb
+%{ruby_vendorlibdir}/text
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-text.git/commitdiff/446e7d5af032c6201eeea7e08ece25f9f95f991f



More information about the pld-cvs-commit mailing list