[packages/ruby-hoe] Up to 4.6.1
arekm
arekm at pld-linux.org
Thu Mar 19 07:47:56 CET 2026
commit 17afc672b267326e9ca29e9ffd8a2ed8f3118847
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Mar 19 07:47:45 2026 +0100
Up to 4.6.1
ruby-hoe.spec | 79 +++++++++++------------------------------------------------
1 file changed, 14 insertions(+), 65 deletions(-)
---
diff --git a/ruby-hoe.spec b/ruby-hoe.spec
index fd70400..93ca8a5 100644
--- a/ruby-hoe.spec
+++ b/ruby-hoe.spec
@@ -1,80 +1,37 @@
-#
-# Conditional build:
-%bcond_with tests # build without tests
-
%define pkgname hoe
-Summary: Rake/rubygems helper for project Rakefiles
+Summary: Hoe is a rake/rubygems helper for project Rakefiles
Name: ruby-%{pkgname}
-Version: 3.17.0
-Release: 2
-License: MIT/Ruby License
+Version: 4.6.1
+Release: 1
+License: MIT
Group: Development/Languages
-Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5: 32e173e0c6bdc3d27c6ab305416a4603
-URL: http://www.zenspider.com/projects/hoe.html
+Source0: https://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: c94e07b94b61e835f3889fdcde310cfe
+URL: https://zenspider.com/projects/hoe.html
BuildRequires: rpm-rubyprov
-BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: rpmbuild(macros) >= 1.665
BuildRequires: sed >= 4.0
-%if %{with tests}
-BuildRequires: ruby-minitest >= 5.0
-BuildRequires: ruby-rdoc >= 4.0
-BuildRequires: ruby-rdoc < 6
-%endif
-Requires: ruby-rubygems >= 1.4
-Requires: ruby-rake >= 0.8
-Requires: ruby-rake < 13.0
+Requires: ruby-rake >= 13.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Hoe is a rake/rubygems helper for project Rakefiles. It helps you
-manage and maintain, and release your project and includes a dynamic
-plug-in system allowing for easy extensibility. Hoe ships with
-plug-ins for all your usual project tasks including rdoc generation,
-testing, packaging, and deployment.
-
-%package rdoc
-Summary: Documentation files for %{pkgname}
-Group: Documentation
-Requires: ruby >= 1:1.8.7-4
-
-%description rdoc
-Documentation files for %{pkgname}.
-
-%package ri
-Summary: ri documentation for %{pkgname}
-Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{pkgname}
-Group: Documentation
-Requires: ruby
-
-%description ri
-ri documentation for %{pkgname}.
+manage, maintain, and release your project and includes a dynamic
+plug-in system allowing for easy extensibility.
%prep
%setup -q -n %{pkgname}-%{version}
-%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/sow
%build
-# write .gemspec
%__gem_helper spec
-rdoc --ri --op ri lib
-rdoc --op rdoc lib
-rm -rf ri/{File,Rake,String,Object}
-rm -f ri/created.rid
-rm -f ri/cache.ri
-
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir},%{ruby_ridir},%{ruby_rdocdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{_bindir}}
cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
-
-cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
-cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
-
-# install gemspec
-install -d $RPM_BUILD_ROOT%{ruby_specdir}
cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
%clean
@@ -82,16 +39,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc History.rdoc README.rdoc Hoe.pdf
+%doc History.rdoc README.rdoc
%attr(755,root,root) %{_bindir}/sow
%{ruby_vendorlibdir}/%{pkgname}.rb
%{ruby_vendorlibdir}/%{pkgname}
%{ruby_specdir}/%{pkgname}-%{version}.gemspec
-
-%files rdoc
-%defattr(644,root,root,755)
-%{ruby_rdocdir}/%{name}-%{version}
-
-%files ri
-%defattr(644,root,root,755)
-%{ruby_ridir}/Hoe
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-hoe.git/commitdiff/17afc672b267326e9ca29e9ffd8a2ed8f3118847
More information about the pld-cvs-commit
mailing list