Spec URL: http://fedora.allisson.eti.br/ruby-cairo/ruby-cairo.spec SRPM URL: http://fedora.allisson.eti.br/ruby-cairo/ruby-cairo-1.4.1-1.src.rpm Description: Ruby bindings for cairo. Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, and image buffers.
For 1.4.1-1: * License - Well as Ruby uses "Ruby License/GPL", I would prefer to use it. * Group - "Development/Languages" is for -devel package. For libraries, this should be "System Environment/Libraries" * Release number specific dependency - Usually, provides or Requires for main package should be release number specific. * Ownership - The following directories are not owned by any packages. ------------------------------------------------- %{ruby_sitelib}/cairo/ %{ruby_sitelib}/cairo/context/ ------------------------------------------------- NOTE: When you just write ------------------------------------------------- %files ..... foo/ ------------------------------------------------- (where foo is a directory), this means the directory foo itself and all files/directories/etc under foo directory. While if you write ------------------------------------------------- %files ...... %dir foo/ ------------------------------------------------- This only contains the directory foo itself. * Timestamps - Again keep timestamps on non-generated files. For this package, the following works. ------------------------------------------------- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p" ------------------------------------------------- * %check - Empty %check is not needed and please remove this. * Requires - %{ruby_sitearch}/rb_cairo.h contains the line: ------------------------------------------------ 39 #include "ruby.h" ------------------------------------------------ This means that -devel package needs "Requires: ruby-devel". NOTE: - When you update spec file, please describe briefly how you changed it in %changelog entry, not just write "Fix .spec".
Update package: Spec URL: http://fedora.allisson.eti.br/ruby-cairo/ruby-cairo.spec SRPM URL: http://fedora.allisson.eti.br/ruby-cairo/ruby-cairo-1.4.1-2.src.rpm
Okay. ------------------------------------------- This package (ruby-cairo) is APPROVED by me. -------------------------------------------
New Package CVS Request ======================= Package Name: ruby-cairo Short Description: ruby bindings for cairo Owners: allisson Branches: FC-6
Package build ok: http://buildsys.fedoraproject.org/logs/fedora-development-extras/30734-ruby-cairo-1.4.1-2.fc7/ http://buildsys.fedoraproject.org/logs/fedora-6-extras/30735-ruby-cairo-1.4.1-2.fc6/