diff --git a/README.md b/README.md index 60d093b..7b61176 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ruby-progressbar +A Text Progress Bar Library for Ruby. + diff --git a/ruby-progressbar.spec b/ruby-progressbar.spec new file mode 100644 index 0000000..d376697 --- /dev/null +++ b/ruby-progressbar.spec @@ -0,0 +1,50 @@ +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 +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 0.9-2mamba +- automatic rebuild by autodist + +* Fri Jul 25 2008 gil 0.9-1mamba +- package created by autospec