Bug 719975 - Review Request: rubygem-chunky_png - Pure ruby library for read/write, chunk-level access to PNG files
Summary: Review Request: rubygem-chunky_png - Pure ruby library for read/write, chunk-...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mo Morsi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-08 15:06 UTC by Chris Lalancette
Modified: 2011-07-20 17:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-20 17:36:35 UTC
Type: ---
mmorsi: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Chris Lalancette 2011-07-08 15:06:40 UTC
Spec URL: http://people.redhat.com/clalance/rubygem-chunky_png/rubygem-chunky_png.spec
SRPM URL: http://people.redhat.com/clalance/rubygem-chunky_png/rubygem-chunky_png-1.2.0-1.fc14.src.rpm

Description:
This pure Ruby library can read and write PNG images without depending on
an external image library, like RMagick. It tries to be memory efficient and
reasonably fast.
It supports reading and writing all PNG variants that are defined in the
specification, with one limitation: only 8-bit color depth is supported. It
supports all transparency, interlacing and filtering options the PNG
specifications allows. It can also read and write textual metadata from PNG
files. Low-level read/write access to PNG chunks is also possible.
This library supports simple drawing on the image canvas and simple operations
like alpha composition and cropping. Finally, it can import from and export to
RMagick for interoperability.
Also, have a look at OilyPNG at http://github.com/wvanbergen/oily_png. OilyPNG
is a drop in mixin module that implements some of the ChunkyPNG algorithms in C,
which provides a massive speed boost to encoding and decoding.


[clalance@localhost SPECS]$ rpmlint rubygem-chunky_png.spec
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
[clalance@localhost SPECS]$ rpmlint ../SRPMS/rubygem-chunky_png-1.2.0-1.fc14.src.rpm 
rubygem-chunky_png.src: W: spelling-error %description -l en_US metadata -> meta data, meta-data, metatarsus
rubygem-chunky_png.src: W: spelling-error %description -l en_US mixin -> mixing, mirin, mix in
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

Comment 1 Mo Morsi 2011-07-14 21:35:36 UTC
Taking this one

Comment 2 Mo Morsi 2011-07-14 21:40:18 UTC
Overall looks good. Koji build is green:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3199631

Specific notes:

- the requires rubygem(rake) and rubygem(rspec) should be changed to buildrequires. Since the gem ships w/ a spec suite, it should be invoked in a %check section

- need a Requires: ruby(abi) = 1.8 and a BuildRequires: ruby

- include a "--ri" flag in the gem install command

- rpmlint complains about the following hidden files which should be removed: .yardopts, .gitignore, .infinity_test (not sure what the last one is and/or if it's needed)

- the following files should be marked as %doc in the %files section: spec/ directory, license, readme, rakefile, chunky_png.gemspec, benchmarks

- consider dropping the "also have a look at oilypng..." blurb from the package description

Comment 3 Chris Lalancette 2011-07-19 19:13:52 UTC
(In reply to comment #2)
> Overall looks good. Koji build is green:
> 
> http://koji.fedoraproject.org/koji/taskinfo?taskID=3199631
> 
> Specific notes:
> 
> - the requires rubygem(rake) and rubygem(rspec) should be changed to
> buildrequires. Since the gem ships w/ a spec suite, it should be invoked in a
> %check section

I tried doing this, but I haven't been able to successfully run the test suite.  I'm not sure if the version of rspec is too old, or what, but it always fails to load some files.  I've removed the two buildrequires for now, and we can revisit it later on.

> 
> - need a Requires: ruby(abi) = 1.8 and a BuildRequires: ruby

Fixed.

> 
> - include a "--ri" flag in the gem install command

Fixed.

> 
> - rpmlint complains about the following hidden files which should be removed:
> .yardopts, .gitignore, .infinity_test (not sure what the last one is and/or if
> it's needed)

Removed.

> 
> - the following files should be marked as %doc in the %files section: spec/
> directory, license, readme, rakefile, chunky_png.gemspec, benchmarks

Fixed.

> 
> - consider dropping the "also have a look at oilypng..." blurb from the package
> description

Removed.

New SRPM: http://people.redhat.com/clalance/rubygem-chunky_png/rubygem-chunky_png-1.2.0-2.fc14.src.rpm
New SPEC: http://people.redhat.com/clalance/rubygem-chunky_png/rubygem-chunky_png.spec

Comment 4 Mo Morsi 2011-07-20 13:59:53 UTC
Looks good. APPROVED.

Comment 5 Chris Lalancette 2011-07-20 14:04:40 UTC
New Package SCM Request
=======================
Package Name: rubygem-chunky_png
Short Description: Pure ruby library for read/write, chunk-level access to PNG files
Owners: clalance mmorsi

Comment 6 Gwyn Ciesla 2011-07-20 15:46:52 UTC
Git done (by process-git-requests).


Note You need to log in before you can comment on or make changes to this bug.