Bug 677300 - Review Request: gtksourceviewmm3 - A C++ wrapper for gtksourceview3
Summary: Review Request: gtksourceviewmm3 - A C++ wrapper for gtksourceview3
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mathieu Bridon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-14 10:09 UTC by Haïkel Guémar
Modified: 2011-04-11 09:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-11 09:20:20 UTC
Type: ---
Embargoed:
bochecha: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Haïkel Guémar 2011-02-14 10:09:00 UTC
Spec URL: http://hguemar.fedorapeople.org/packages/gtksourceviewmm3.spec
SRPM URL: http://hguemar.fedorapeople.org/packages/gtksourceviewmm3-2.91.5-1.fc15.src.rpm
Description: gtksourceviewmm is a C++ wrapper for the gtksourceview widget
library. It offers all the power of gtksourceview with an interface
familiar to c++ developers, including users of the gtkmm library

Comment 1 Haïkel Guémar 2011-02-15 10:51:08 UTC
mock build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2841079
then rpmlint output on src.rpm and generated packages.

$ rpmlint -iv gtksourceviewmm3-2.91.5-1.fc16.src.rpm 
gtksourceviewmm3.src: I: checking
gtksourceviewmm3.src: W: spelling-error %description -l en_US gtksourceviewmm -> resourcefulness
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.src: W: spelling-error %description -l en_US gtksourceview -> resourcefulness, resourceful, sourceless
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.src: W: spelling-error %description -l en_US gtkmm 
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.src: I: checking-url http://projects.gnome.org/gtksourceviewmm/ (timeout 10 seconds)
gtksourceviewmm3.src: I: checking-url http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/2.91/gtksourceviewmm-2.91.5.tar.bz2 (timeout 10 seconds)
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

$ rpmlint -iv gtksourceviewmm3-2.91.5-1.fc16.x86_64.rpm 
gtksourceviewmm3.x86_64: I: checking
gtksourceviewmm3.x86_64: W: spelling-error %description -l en_US gtksourceviewmm -> resourcefulness
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.x86_64: W: spelling-error %description -l en_US gtksourceview -> resourcefulness, resourceful, sourceless
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.x86_64: W: spelling-error %description -l en_US gtkmm 
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.x86_64: I: checking-url http://projects.gnome.org/gtksourceviewmm/ (timeout 10 seconds)
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

$ rpmlint -iv gtksourceviewmm3-2.91.5-1.fc16.x86_64.rpm 
gtksourceviewmm3.x86_64: I: checking
gtksourceviewmm3.x86_64: W: spelling-error %description -l en_US gtksourceviewmm -> resourcefulness
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.x86_64: W: spelling-error %description -l en_US gtksourceview -> resourcefulness, resourceful, sourceless
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.x86_64: W: spelling-error %description -l en_US gtkmm 
The value of this tag appears to be misspelled. Please double-check.

gtksourceviewmm3.x86_64: I: checking-url http://projects.gnome.org/gtksourceviewmm/ (timeout 10 seconds)
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

Comment 2 Mathieu Bridon 2011-02-18 09:24:44 UTC
[x] package passes
[-] not applicable
[!] package fails

== MUST ==

[x] rpmlint output
[x] The package must be named according to the Package Naming Guidelines
[x] The spec file name must match the base package %{name}
[x] The package must meet the Packaging Guidelines
[x] The package must be licensed with a Fedora approved license
[x] The License field in the package spec file must match the actual license.
[x] If (and only if) the source package includes the text of the license(s) in its own file, then that file must be included in %doc
[x] The spec file must be written in American English
[x] The spec file for the package MUST be legible
[x] The sources used to build the package must match the upstream source, as provided in the spec URL
    $ sha1sum gtksourceviewmm-2.91.5.tar.bz2 
    54a83ddd5cd946f73180d51138f7a1781c655bb1  gtksourceviewmm-2.91.5.tar.bz2
[x] The package '''MUST''' successfully compile and build into binary rpms on at least one primary architecture
[-] The spec file MUST handle locales properly
[x] Every binary RPM package (or subpackage) which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun
[x] 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
[x] A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory.
[x] A Fedora package must not list a file more than once in the spec file's %files listings
[x] Permissions on files must be set properly
[x] Each package must consistently use macros
[x] The package must contain code, or permissable content
[x] Large documentation files must go in a -doc subpackage
    $ rpm2cpio gtksourceviewmm3-devel-2.91.5-1.fc16.x86_64.rpm | cpio -id
    5957 blocks
    $ du -sh usr/share/gtk-doc
    2.9M	usr/share/gtk-doc

[x] If a package includes something as %doc, it must not affect the runtime of the application
[x] Header files must be in a -devel package
[-] Static libraries must be in a -static package
[x] If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package
[!] Subpackages requiring the base package
[x] Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built
[-] Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section
[x] Packages must not own files or directories already owned by other packages
[x] All filenames in rpm packages must be valid UTF-8

== SHOULD ==

[-] If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it
[-] If scriptlets are used, those scriptlets must be sane
[-] Usually, subpackages other than devel should require the base package using a fully versioned dependency
[x] The placement of pkgconfig(.pc) files depends on their usecase, and this is usually for development purposes, so should 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
[-] your package should contain man pages for binaries/scripts

== To fix ==

The -devel subpackage requires the base one without specifying the architecture. From the packaging guidelines:
"""
When a subpackage requires the base package, it must do so using a fully versioned arch-specific (for non-noarch packages) dependency:
    Requires: %{name}%{?_isa} = %{version}-%{release}
"""

== Notes ==

The -devel subpackage includes this file:
    %{_includedir}/*

It doesn't seem necessary since all files installed in /usr/include are already covered by this line:
    %{_includedir}/%{tarname}-%{apiver}

Comment 3 Haïkel Guémar 2011-02-18 09:43:14 UTC
Thank you Mathieu for your review.
I already fixed the architecture requirements issue, for the headers, they are versionned as you might have different versions of the gtkmm stack installed in parallel (Fedora actually ships gtkmm24/gtkmm30).
The spec and src.rpm above were updated and i submitted a scratch build.
http://koji.fedoraproject.org/koji/taskinfo?taskID=2848773

Comment 4 Mathieu Bridon 2011-02-18 10:16:48 UTC
Ok, just remove the redondant %{_includedir}/* when importing the package then.

Package is approved.

Comment 5 Haïkel Guémar 2011-02-18 10:20:26 UTC
One shall not be hammered when packaging, i'll remove that useless bit before building. 

New Package SCM Request
=======================
Package Name: gtksourceviewmm3
Short Description: A C++ wrapper for gtksourceview3
Owners: hguemar
Branches: f15
InitialCC: hguemar

Comment 6 Jason Tibbitts 2011-02-18 13:53:18 UTC
The requested package name and the package name in the ticket summary do not
match.  Please fix whichever is incorrect and re-raise the fedora-cvs flag.

Comment 7 Haïkel Guémar 2011-02-18 14:44:26 UTC
fixed the typo in summary.

New Package SCM Request
=======================
Package Name: gtksourceviewmm3
Short Description: A C++ wrapper for gtksourceview3
Owners: hguemar
Branches: f15
InitialCC: hguemar

Comment 8 Jason Tibbitts 2011-02-18 19:32:49 UTC
Git done (by process-git-requests).


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