# Generated from imagesize-0.1.1.gem by gem2rpm -*- rpm-spec -*- %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") %define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null) %define gemname imagesize %define geminstdir %{gemdir}/gems/%{gemname}-%{version} Summary: measure image size(GIF, PNG, JPEG ,,, etc) Name: rubygem-%{gemname} Version: 0.1.1 Release: 1%{?dist} Group: Development/Languages License: Ruby URL: http://imagesize.rubyforge.org Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: rubygems BuildRequires: rubygems Provides: rubygem(%{gemname}) = %{version} %description measure image size(GIF, PNG, JPEG ,,, etc) %prep %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{gemdir} gem install --local --install-dir %{buildroot}%{gemdir} \ --force --rdoc %{SOURCE0} %clean rm -rf %{buildroot} %files %defattr(-, root, root, -) %{gemdir}/gems/%{gemname}-%{version}/ %doc %{gemdir}/doc/%{gemname}-%{version} %doc %{geminstdir}/README.txt %{gemdir}/cache/%{gemname}-%{version}.gem %{gemdir}/specifications/%{gemname}-%{version}.gemspec %changelog * Thu Jun 12 2008 Ralph Angenendt - 0.1.1-1 - Initial package