Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 3bf5386f2a02c6235a0ced0324c21fad > files > 2

ruby-fastthread-1.0.7-4.mga1.src.rpm

%define oname   fastthread

Name:       ruby-%{oname}
Version:    1.0.7
Release:    %mkrel 4
Summary:    Optimized replacement for thread.rb primitives
Group:      Development/Ruby
License:    GPLv2+ or Ruby License
URL:        http://%{oname}.rubyforge.org/
Source0:    http://rubygems.org/downloads/%{oname}-%{version}.gem
BuildRequires: rubygems
BuildRequires: ruby-devel
BuildRequires: rubygem(echoe)
Requires:   ruby(abi) = 1.8

%description
Optimized replacement for thread.rb primitives.

%files
%defattr(-, root, root, -)
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec
%{ruby_sitearchdir}/%{oname}.so

#-------------------------------------------------------------------------------
%package        doc
Summary:    Documentation for %{name}
Group:      Development/Ruby
Requires:   %{name} = %{version}-%{release}

%description    doc
Documents, Rdoc & RI documentation for %{name}.
%files          doc
%defattr(-,root,root,-)
%doc %{ruby_gemdir}/doc/%{oname}-%{version}
%doc %{ruby_gemdir}/gems/%{oname}-%{version}/CHANGELOG
#-------------------------------------------------------------------------------

%prep
%setup -q
tar xmf data.tar.gz

%build
%gem_build

%install
rm -rf %{buildroot}
%gem_install

rm -rf %{buildroot}%{ruby_gemdir}/gems/%{oname}-%{version}/ext

%check
ruby test/test_all.rb

%clean
rm -rf %{buildroot}



%changelog
* Fri Feb 04 2011 shikamaru <shikamaru> 1.0.7-4.mga1
+ Revision: 46968
- Add check section - bump rel

* Mon Jan 31 2011 shikamaru <shikamaru> 1.0.7-3.mga1
+ Revision: 45471
- imported package ruby-fastthread


* Mon Jan 31 2011 Rémy Clouard <shikamaru@mandriva.org> - 1.0.7-3mdv2011.0
- Apply new ruby policy
- Apply general mageia rules

* Sat Dec 04 2010 Rémy Clouard <shikamaru@mandriva.org> 1.0.7-2mdv2011.0
+ Revision: 609387
- fix license
- add provides
- move arch dependant files to ruby_sitearchdir

* Thu Feb 04 2010 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.0.7-1mdv2010.1
+ Revision: 500868
- add missing buildrequires
- import rubygem-fastthread


* Mon Feb  4 2010 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.0.7-1
- initial release