Bug 1958

Summary: Review request: gmtk - Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer
Product: Package Reviews Reporter: Julian Sikorski <belegdol>
Component: Review RequestAssignee: Brendan Jones <brendan.jones.it>
Status: RESOLVED FIXED    
Severity: normal CC: brendan.jones.it, kdekorte, rpmfusion-package-review
Priority: P5    
Version: Current   
Hardware: All   
OS: GNU/Linux   
namespace:
Bug Depends on: 2041    
Bug Blocks: 4    

Description Julian Sikorski 2011-09-28 19:59:38 CEST
Spec URL: http://belegdol.fedorapeople.org/gmtk.spec
SRPM URL: http://belegdol.fedorapeople.org/gmtk-1.0.5b1-1.fc15.src.rpm

Description:
Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer

Why not in fedora:
It requires mplayer

rpmlint output:
$ rpmlint /var/lib/mock/fedora-15-x86_64/result/*.rpm gmtk.spec
gmtk.src: W: spelling-error Summary(en_US) mplayer -> player, m player, mp layer
gmtk.src: W: spelling-error Summary(en_US) mediaplayer -> media player, media-player, hypermedia
gmtk.src: W: spelling-error %description -l en_US mplayer -> player, m player, mp layer
gmtk.src: W: spelling-error %description -l en_US mediaplayer -> media player, media-player, hypermedia
gmtk.src: W: invalid-url Source0: http://code.google.com/p/gmtk/files/gmtk-1.0.5b1.tar.gz HTTP Error 404: Not Found
gmtk.x86_64: W: spelling-error Summary(en_US) mediaplayer -> media player, media-player, hypermedia
gmtk.x86_64: W: spelling-error %description -l en_US mediaplayer -> media player, media-player, hypermedia
gmtk-devel.x86_64: W: no-documentation
gmtk.spec: W: invalid-url Source0: http://code.google.com/p/gmtk/files/gmtk-1.0.5b1.tar.gz HTTP Error 404: Not Found
4 packages and 1 specfiles checked; 0 errors, 9 warnings.

404 is because the tarball is made by me in order to start the review before 1.0.5 is out. This way the delay for updating gnome-mplayer and gecko-mediaplayer will be shorter.

There is one problem: the COPYING file contains GPLv3 while the files seem to be GPLv2+. I'll clarify that with upstream.
Comment 1 Kevin DeKorte 2011-09-28 20:47:59 CEST
COPYING file changed to the v2 version of the GPL like gnome-mplayer and gecko-mediaplayer. Anjuta created that file using the wrong license.
Comment 2 Kevin DeKorte 2011-09-28 20:51:18 CEST
I think the spec if reversed on with_gconf. It should be with_gconf on < 15 and without_gconf >= 15 
Comment 3 Julian Sikorski 2011-09-28 21:01:15 CEST
Thanks for fixing the copying file.
Wrt. the conditionals they just work in this counter-intuitive way:
http://www.rpm.org/wiki/PackagerDocs/ConditionalBuilds
Comment 4 Julian Sikorski 2011-10-09 19:22:51 CEST
New release:
Spec URL: http://belegdol.fedorapeople.org/gmtk.spec
SRPM URL: http://belegdol.fedorapeople.org/gmtk-1.0.5b1-2.fc15.src.rpm

Changes:
- Updated to upstream 1.0.5b1 sources

Sources should contain proper license file now.
Comment 5 Julian Sikorski 2011-11-14 21:28:24 CET
I was wondering if it would make sense to put this package in Fedora proper. It does not seem to have too much sense, and rolling out updates could be a pain. Feel free to correct me if I am wrong, though.
Comment 6 Kevin DeKorte 2011-11-14 21:35:40 CET
Because it depends on mplayer for the media player portion, I don't think it can be in Fedora proper.
Comment 7 Brendan Jones 2011-11-15 21:38:02 CET
Hi Julian,

I can review this for you - on first looks you could consider dropping the gconf condition clause as Fedora 14 will be EOL very soon. You also need to add an explicit requires: https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package

rpmlint gives a warning on the URL but I can wget it just fine.
Comment 8 Julian Sikorski 2011-11-15 23:59:29 CET
Sure, I can drop the f14 stuff. The URL problem is common for google code, I am not sure what is the reason for it.
I am not sure what you mean by explicit requires - missing %{?_isa}, or something else?
Comment 9 Julian Sikorski 2011-11-16 00:11:28 CET
New release:
Spec URL: http://belegdol.fedorapeople.org/gmtk.spec
SRPM URL: http://belegdol.fedorapeople.org/gmtk-1.0.5b1-3.fc16.src.rpm

Changes:
- Removed GConf logic since F-14 is going EOL soon
- Added %%{?_isa} to explicit Requires
Comment 10 Brendan Jones 2011-11-19 14:55:07 CET
Hi Julian,

All good except rpmlint gives a warning about INSTALL files in %doc

Required
========

[-] Not applicable
[+] OK
[!] Attention
[ ] Not done

[+] named according to the Package Naming Guidelines 
[+] The spec file name must match the base package %{name}, in the format
%{name}.spec 
[+] Meet the Packaging Guidelines
[+] Approved license and meet the Licensing Guidelines 
[+] The License field in the package spec file must match the actual license 
[+] License file must be included in %doc
[+] The spec file must be written in American English
[+] The spec file for the package MUST be legible
[+] The sources used to build the package must match the upstream source
sha1sum:f3968d678724a0e0c0af811aec971d83839fe3b4 
[+] Successfully compile and build into binary rpms on at least one arch
[+] Proper use of ExcludeArch 
[+] All build dependencies must be listed in BuildRequires
[+] The spec file MUST handle locales properly
[+] Shared library files (not just symlinks) in any of the dynamic linker's
default paths, must call ldconfig in %post and %postun
[+] Packages must NOT bundle copies of system libraries
[+] If the package is designed to be relocatable, the packager must state this
fact in the request for review, along with the rationalization for relocation
of that specific package
[+] A package must own all directories that it creates
[+] A Fedora package must not list a file more than once 
[+] Permissions on files must be set properly
[+] Each package must consistently use macros
[+] The package must contain code, or permissable content
[-] Large documentation files must go in a -doc subpackage
[+] If a package includes something as %doc, it must not affect the runtime of
the application
[-] Header files must be in a -devel package
[-] Static libraries must be in a -static package
[+] library files that end in .so (without suffix) must go in a -devel package
[+] devel packages must require the base package using a fully versioned
dependency
[+] Packages must NOT contain any .la libtool archives
[-] GUI apps must include a %{name}.desktop file, properly installed with
desktop-file-install in the %install section 
[+] Packages must not own files or directories already owned by other packages
[+] All filenames in rpm packages must be valid UTF-8

Should Items
============
[+] the packager SHOULD query upstream for any missing license text files to
include it
[-] Non-English language support for description and summary sections in the
package spec if available
[+] The reviewer should test that the package builds in mock
[ ] The reviewer should test that the package functions as described
[+] If scriptlets are used, those scriptlets must be sane
[+] Usually, subpackages other than devel should require the base package using
a fully versioned dependency
[+] The placement of pkgconfig(.pc) should usually be placed in a -devel pkg
[-] If the package has file dependencies outside of /etc, /bin, /sbin,
/usr/bin, or /usr/sbin consider requiring the package which provides the file
instead of the file itself
[+] Should contain man pages for binaries/scripts
None available

gmtk.src: W: spelling-error Summary(en_US) mplayer -> player, m player, mp layer
gmtk.src: W: spelling-error Summary(en_US) mediaplayer -> media player, media-player, hypermedia
gmtk.src: W: spelling-error %description -l en_US mplayer -> player, m player, mp layer
gmtk.src: W: spelling-error %description -l en_US mediaplayer -> media player, media-player, hypermedia
gmtk.x86_64: W: spelling-error Summary(en_US) mplayer -> player, m player, mp layer
gmtk.x86_64: W: spelling-error Summary(en_US) mediaplayer -> media player, media-player, hypermedia
gmtk.x86_64: W: spelling-error %description -l en_US mplayer -> player, m player, mp layer
gmtk.x86_64: W: spelling-error %description -l en_US mediaplayer -> media player, media-player, hypermedia
gmtk.x86_64: W: install-file-in-docs /usr/share/doc/gmtk-1.0.5b1/INSTALL
gmtk-devel.x86_64: W: no-documentation
4 packages and 0 specfiles checked; 0 errors, 10 warnings.
Comment 11 Brendan Jones 2011-11-19 14:55:52 CET
This package is APPROVED
Comment 12 Julian Sikorski 2011-11-19 16:30:24 CET
Package CVS request
======================
Package Name: gmtk
Short Description: Library of common functions and widgets for gnome-mplayer and gecko-mediaplayer
Owners: belegdol
Branches: F-16 F-15
InitialCC:
----------------------
License tag: [free]