54 lines
1.4 KiB
RPMSpec
54 lines
1.4 KiB
RPMSpec
Name: ruby-progressbar
|
|
Version: 0.9
|
|
Release: 3mamba
|
|
Summary: A Text Progress Bar Library for Ruby
|
|
Group: System/Internationalization
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://namazu.org/~satoru/ruby-progressbar/
|
|
Source: http://0xcc.net/ruby-progressbar/ruby-progressbar-%{version}.tar.gz
|
|
License: GPL
|
|
Requires: ruby >= 2.5.1
|
|
BuildRequires: ruby >= 2.5.1
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A Text Progress Bar Library for Ruby.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
mkdir -p %{buildroot}%{ruby_sitelib}
|
|
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
|
|
cp progressbar.rb %{buildroot}%{ruby_sitelib}
|
|
#cp ChangeLog progressbar.en.rd progressbar.ja.rd test.rb %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
#% check
|
|
#ruby test.rb
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{ruby_sitelib}/progressbar.rb
|
|
%doc ChangeLog
|
|
#progressbar.en.rd progressbar.ja.rd test.rb
|
|
|
|
%changelog
|
|
* Wed Jul 18 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-3mamba
|
|
- rebuilt for ruby 2.5.1
|
|
|
|
* Sun Sep 01 2013 Automatic Build System <autodist@mambasoft.it> 0.9-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Fri Jul 25 2008 gil <puntogil@libero.it> 0.9-1mamba
|
|
- package created by autospec
|