Bug 701785 - Review Request: puzzle-master - Fun and addictive jigsaw puzzle game
Summary: Review Request: puzzle-master - Fun and addictive jigsaw puzzle game
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: William Lima
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-03 20:29 UTC by Timur Kristóf
Modified: 2011-05-09 03:57 UTC (History)
4 users (show)

Fixed In Version: puzzle-master-1.2.2-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-09 03:57:13 UTC
Type: ---
Embargoed:
wlima: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Timur Kristóf 2011-05-03 20:29:00 UTC
Spec URL: http://venemo.fedorapeople.org/sources/puzzle-master.spec
SRPM URL: http://venemo.fedorapeople.org/sources/puzzle-master-1.2.2-1.fc15.src.rpm
Description: This is a jigsaw puzzle game that lets you use your own
images (and contains some built-in ones) for generating puzzles.
You can decide the size and thus the difficulty of the puzzle.

Comment 1 William Lima 2011-05-04 00:19:31 UTC
I do

Comment 2 William Lima 2011-05-04 02:09:25 UTC
Rpmlint output

[will@totoro rpmbuild]$ rpmlint SRPMS/puzzle-master-1.2.2-1.fc15.src.rpm 
puzzle-master.src: W: file-size-mismatch puzzle-master-1.2.2.tar.gz = 762626, http://venemo.fedorapeople.org/sources/puzzle-master-1.2.2.tar.gz = 762620
1 packages and 0 specfiles checked; 0 errors, 1 warnings.

You should document how to generate the tarball instead of linking to the
file on fedorapeople.

http://fedoraproject.org/wiki/Packaging/SourceURL

[will@totoro rpmbuild]$ rpmlint RPMS/x86_64/puzzle-master-1.2.2-1.fc15.x86_64.rpm 
puzzle-master.x86_64: E: script-without-shebang /usr/share/applications/puzzle-master.desktop
puzzle-master.x86_64: W: no-manual-page-for-binary puzzle-master
1 packages and 0 specfiles checked; 1 errors, 1 warnings.

[will@totoro rpmbuild]$ rpmlint puzzle-master
puzzle-master.x86_64: E: script-without-shebang /usr/share/applications/puzzle-master.desktop
puzzle-master.x86_64: W: no-manual-page-for-binary puzzle-master
1 packages and 0 specfiles checked; 1 errors, 1 warnings.

Looking at source, puzzle-master.desktop is executable.

The permission can be fixed with %attr:

%attr(644,root,root) %{_datadir}/applications/puzzle-master.desktop

other files have wrong permissions too, like png images.

Also check desktop-file-install usage:

http://fedoraproject.org/wiki/Packaging/Guidelines#desktop

Comment 3 David Riches 2011-05-04 10:55:40 UTC
not reviewing:

but, I couldn't even build the src.rpm because of:

BuildRequires: pkgconfig(QtCore), pkgconfig(QtGui), pkgconfig(QtOpenGL)

this line really needs to be the packages that we pull from the fedora repos

have a peek at http://fedoraproject.org/wiki/PackagingGuidelines#BuildRequires

Comment 4 Timur Kristóf 2011-05-04 12:04:29 UTC
(In reply to comment #2) 
> You should document how to generate the tarball instead of linking to the
> file on fedorapeople.

The upstream author (which happens to be myself) puts the released tarball onto Fedorapeople. So I see nothing wrong with that.
If you insist on the git instructions instead, I could of course include them in the .spec.

> Looking at source, puzzle-master.desktop is executable.
> 
> The permission can be fixed with %attr:
> 
> %attr(644,root,root) %{_datadir}/applications/puzzle-master.desktop

Thanks, I fixed the permissions for both the .desktop and the icon file.

> other files have wrong permissions too, like png images.

Only the icon file (puzzle-master.png) is relevant, the others are not in the package. (They are embedded into the executable by Qt.)

> Also check desktop-file-install usage:
> 
> http://fedoraproject.org/wiki/Packaging/Guidelines#desktop

Okay, I added desktop-file-validate to my .spec file.

Comment 5 Timur Kristóf 2011-05-04 12:05:37 UTC
(In reply to comment #3)
> but, I couldn't even build the src.rpm because of:
> BuildRequires: pkgconfig(QtCore), pkgconfig(QtGui), pkgconfig(QtOpenGL)
> this line really needs to be the packages that we pull from the fedora repos

Not true, even mock can understand these and yum can resolve them too.

Comment 6 William Lima 2011-05-04 12:20:13 UTC
(In reply to comment #3)
> not reviewing:
> 
> but, I couldn't even build the src.rpm because of:
> 
> BuildRequires: pkgconfig(QtCore), pkgconfig(QtGui), pkgconfig(QtOpenGL)
> 
> this line really needs to be the packages that we pull from the fedora repos
> 
> have a peek at http://fedoraproject.org/wiki/PackagingGuidelines#BuildRequires

There is no reference to pkgconfig use in BuildRequires. You can also install
using double quotes ("). It's OK.

Comment 8 William Lima 2011-05-04 18:05:35 UTC
This package is APPROVED.

Comment 9 Timur Kristóf 2011-05-04 19:20:00 UTC
New Package SCM Request
=======================
Package Name: puzzle-master
Short Description: Fun and addictive jigsaw puzzle game
Owners: venemo
Branches: f14 f15 el6
InitialCC: venemo

Comment 10 Jason Tibbitts 2011-05-05 19:46:26 UTC
Git done (by process-git-requests).

Comment 11 Fedora Update System 2011-05-05 23:01:04 UTC
puzzle-master-1.2.2-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/puzzle-master-1.2.2-2.fc15

Comment 12 Fedora Update System 2011-05-09 03:57:07 UTC
puzzle-master-1.2.2-2.fc15 has been pushed to the Fedora 15 stable repository.


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