Bug 654848

Summary: Review Request: apvlv - PDF viewer which behaves like Vim
Product: [Fedora] Fedora Reporter: Pierre Carrier <prc>
Component: Package ReviewAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, lemenkov, notting
Target Milestone: ---Flags: lemenkov: fedora-review+
j: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: apvlv-0.0.9.8-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-10 20:34:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pierre Carrier 2010-11-18 21:11:38 UTC
Spec URL: http://pcarrier.fedorapeople.org/wip/apvlv/apvlv.spec
SRPM URL: http://pcarrier.fedorapeople.org/wip/apvlv/apvlv-0.0.9.8-1.fc14.src.rpm
Description:
--- 8< ---
apvlv is a GTK2 PDF and DjVu viewer with a vim look-and-feel.
It can also browse through directories of such documents.
--- >8 ---

Comment 2 Peter Lemenkov 2010-11-19 06:26:55 UTC
I'll review it

Comment 3 Peter Lemenkov 2010-11-20 09:20:00 UTC
REVIEW:

Legend: + = PASSED, - = FAILED, 0 = Not Applicable

- rpmlint is not silent

sulaco ~/Desktop: rpmlint apvlv-*
apvlv.src: W: no-cleaning-of-buildroot %clean
apvlv.src: W: no-buildroot-tag
apvlv.src: W: no-%clean-section

^^^ ok for F-14+

apvlv.src: W: invalid-url Source0: http://apvlv.googlecode.com/files/apvlv-0.0.9.8.tar.gz HTTP Error 404: Not Found

^^^ false positive

apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvParams.cpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvMenu.cpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvFile.cpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvParams.hpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvInfo.hpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/main.cpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvUtil.hpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvCmds.hpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvUtil.cpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvInfo.cpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvMenu.hpp
apvlv-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/apvlv-0.0.9.8/src/ApvlvFile.hpp

^^^ these messages MUST be fixed. Just add the following line to %prep section:

chmod -x src/*

3 packages and 0 specfiles checked; 0 errors, 16 warnings.
sulaco ~/Desktop:

+ The package is named according to the  Package Naming Guidelines.
+ The spec file name matches the base package %{name}, in the format %{name}.spec.
+ The package meets the Packaging Guidelines.
+ The package is licensed with a Fedora approved license and meets the Licensing Guidelines.
+ The License field in the package spec file matches the actual license (GPLv2 or later).
+ The file, containing the text of the license(s) for the package, is included in %doc.
+ The spec file is written in American English.
+ The spec file for the package is legible.
+ The sources used to build the package, match the upstream source, as provided in the spec URL.

sulaco ~/rpmbuild/SOURCES: sha256sum apvlv-0.0.9.8.tar.gz*
adb2ac18e3e75c51b2a5e378d67837b0c15b87e1e3aad05f3501565c4671f902  apvlv-0.0.9.8.tar.gz
adb2ac18e3e75c51b2a5e378d67837b0c15b87e1e3aad05f3501565c4671f902  apvlv-0.0.9.8.tar.gz.1
sulaco ~/rpmbuild/SOURCES:

+ The package successfully compiles and builds into binary rpms on at least one primary architecture. See koji links above.
+ All build dependencies are listed in BuildRequires.
0 No need to handle locales.
0 No shared library files in some of the dynamic linker's default paths.
+ The package does NOT bundle copies of system libraries.
0 The package is not designed to be relocatable.
+ The package owns all directories that it creates.
+ The package does not list a file more than once in the spec file's %files listings.

+/- Permissions on files are set properly (except the issue with sources, mentioned above).

+ The package consistently uses macros.
+ The package contains code, or permissible content.
0 No extremely large documentation files.
+ Anything, the package includes as %doc, does not affect the runtime of the application.
0 No header files.
0 No static libraries.
0 No pkgconfig(.pc) files.
0 The package doesn't contain library files without a suffix (e.g. libfoo.so).
0 No devel sub-package.
+ The package does NOT contain any .la libtool archives.

+/- The typical GUI application should include a %{name}.desktop file, and this file should be properly installed with desktop-file-install in the %install section. I'm not insisting absolutely on this, but at least you should advice upstream to add one to the future releases.

+ The package does not own files or directories already owned by other packages.
+ All filenames in rpm packages are valid UTF-8.


Ok, please, unset executable bits from sources, and I'll finish this review.

Comment 4 Pierre Carrier 2010-11-20 12:10:28 UTC
Yes, the .desktop file... I logged that in http://pcarrier.fedorapeople.org/wip/apvlv/README 3 weeks ago and forgot about it...

I'm working on one, at least to claim the application/pdf and image/x.djvu mime-types. Removing the x bit at the same time.

Thanks!

Comment 5 Pierre Carrier 2010-11-20 13:48:41 UTC
Updated packages with .desktop file (no icon yet, still passes validation and is available in the Gnome "Open with" contextual menu) I will submit to upstream, and chmod as required.

Thanks lemenkov!

-- 
Pierre

Comment 6 Peter Lemenkov 2010-11-20 14:20:13 UTC
Ok, looks good now. This package is


APPROVED.

Comment 7 Pierre Carrier 2010-11-21 18:06:40 UTC
New Package SCM Request
=======================
Package Name: apvlv
Short Description: PDF viewer which behaves like Vim
Owners: pcarrier
Branches: f14 el6
InitialCC:

Comment 8 Jason Tibbitts 2010-11-22 14:05:47 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2010-12-02 13:46:11 UTC
apvlv-0.0.9.8-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/apvlv-0.0.9.8-1.fc14

Comment 10 Fedora Update System 2010-12-02 19:10:52 UTC
apvlv-0.0.9.8-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update apvlv'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/apvlv-0.0.9.8-1.fc14

Comment 11 Fedora Update System 2010-12-10 20:34:12 UTC
apvlv-0.0.9.8-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.