File ruby-gdchart.spec of Package ruby-gdchart
#
# spec file for package ruby-gdchart (Version 1.0.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: ruby-gdchart
BuildRequires: freetype2-devel gd-devel gdchart libjpeg-devel libpng-devel ruby-devel xorg-x11-devel
Version: 1.0.0
Release: 23
Group: Development/Languages/Ruby
License: Other uncritical OpenSource License
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://rubyforge.org/projects/ruby-gdchart/
Source: http://rubyforge.org/frs/download.php/6952/ruby-gdchart-1.0.0.tar.gz
Summary: A Ruby Wrapper around Bruce Verderaime's GDChart Chart Drawing Utility
%description
This is an extension library designed by Arjen Laarhoven, Takehiro
Yonekura, and most recently Daniel Wislocki to wrap the GDChart C
library written by Bruce Verderaime (http://www.fred.net/brv/chart/).
Authors:
--------
Daniel Wislocki <daniel.wislocki@gmail.com>
%prep
%setup
%build
pushd ext
ruby -rvendor-specific extconf.rb
%{__make}
popd
%install
%makeinstall -C ext
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/GDChart.so
%doc ChangeLog README examples/
%changelog -n ruby-gdchart
* Fri Oct 20 2006 - mrueckert@suse.de
- install into vendor_ruby
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Nov 18 2005 - mrueckert@suse.de
- Initial package: version 1.0.0