ruby-progressbar/ruby-progressbar.spec

51 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: ruby-progressbar
Version: 0.9
Release: 2mamba
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
BuildRequires: ruby
## 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
* 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