Bug 709949 (highlighting-kate)

Summary: Review Request: highlighting-kate - Source code highlighting tool and library
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: Package ReviewAssignee: Narasimhan <lakshminaras2002>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, haskell-devel, lakshminaras2002, notting
Target Milestone: ---Flags: lakshminaras2002: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pandoc-1.8.1.1-3.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-23 02:09:22 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:
Bug Depends On: 713361    
Bug Blocks: 634048    

Description Jens Petersen 2011-06-02 04:39:51 UTC
Spec URL: http://petersen.fedorapeople.org/highlighting-kate/highlighting-kate.spec
SRPM URL: http://petersen.fedorapeople.org/highlighting-kate/highlighting-kate-0.2.9-1.fc15.src.rpm
Description: 
A syntax highlighting library with support for over one hundred languages.
The syntax parsers are automatically generated from Kate syntax descriptions (http://kate-editor.org/), so any syntax supported by Kate can be added.
An command-line program is also provided.

Comment 1 Jens Petersen 2011-06-02 04:41:50 UTC
pandoc can use this library to provide syntax highlighting
of code included in its markup.

Comment 2 Narasimhan 2011-07-09 13:44:26 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.
pmlint  -i highlighting-kate.spec built/*.rpm
ghc-highlighting-kate.x86_64: W: spelling-error Summary(en_US) Sourcecode -> Source code, Source-code, Outsource
The value of this tag appears to be misspelled. Please double-check.

ghc-highlighting-kate.x86_64: W: spelling-error %description -l en_US parsers -> parser, parses, parers
The value of this tag appears to be misspelled. Please double-check.

ghc-highlighting-kate-devel.x86_64: W: spelling-error Summary(en_US) Sourcecode -> Source code, Source-code, Outsource
The value of this tag appears to be misspelled. Please double-check.

ghc-highlighting-kate-devel.x86_64: W: spelling-error %description -l en_US parsers -> parser, parses, parers
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.src: W: spelling-error Summary(en_US) Sourcecode -> Source code, Source-code, Outsource
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.src: W: spelling-error %description -l en_US parsers -> parser, parses, parers
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.src: W: spelling-error %description -l en_US commandline -> command line, command-line, commandment
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.x86_64: W: spelling-error Summary(en_US) Sourcecode -> Source code, Source-code, Outsource
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.x86_64: W: spelling-error %description -l en_US parsers -> parser, parses, parers
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.x86_64: W: spelling-error %description -l en_US commandline -> command line, command-line, commandment
The value of this tag appears to be misspelled. Please double-check.

highlighting-kate.x86_64: W: no-manual-page-for-binary Highlight
Each executable in standard binary directories should have a man page.

4 packages and 1 specfiles checked; 0 errors, 11 warnings.


[+]MUST: The package must be named according to the Package Naming Guidelines.
[+]MUST: The spec file name must match the base package %{name}, in the format %{name}.spec
[+]MUST: The package must meet the Packaging Guidelines.
        Naming-Yes
        Version-release - Matches
        License - OK, GPL v2 and above.
        No prebuilt external bits - OK. No binaries as such. Generated xml files are present. These have been generated 
        Spec legibity - OK
        Package template - OK
        Arch support - OK
        Libexecdir - OK
        rpmlint - yes
        changelogs - OK
        Source url tag  - OK, validated.
        Build Requires list - OK
        Summary and description - OK
        API documentation - OK, in devel package

[+]MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines .
GPLv2+ license
[+]MUST: The License field in the package spec file must match the actual license.
[+]MUST: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc.
LICENSE file is included in base package.
[+]MUST: The spec file must be written in American English.
[+]MUST: The spec file for the package MUST be legible.
[+]MUST: The sources used to build the package must match the upstream source,as provided in the spec URL. Reviewers should use md5sum for this task.

md5sum  highlighting-kate-0.2.9.tar.gz 
3a4fd1706020c8aa840c310b15528bca  highlighting-kate-0.2.9.tar.gz

md5sum  highlighting-kate-0.2.9-1.fc15.src/highlighting-kate-0.2.9.tar.gz 
3a4fd1706020c8aa840c310b15528bca  highlighting-kate-0.2.9-1.fc15.src/highlighting-kate-0.2.9.tar.gz

[+]MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture.
Built on x86_64
[+]MUST: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in
ExcludeArch.
[+]MUST: All build dependencies must be listed in BuildRequires.
[NA]MUST: The spec file MUST handle locales properly using the %find_lang macro
[NA]MUST: Packages stores shared library files must call ldconfig in %post and %postun.
[+]MUST: Packages must NOT bundle copies of system libraries.
Checked with rpmquery --list
[NA]MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review.
[+]MUST: A package must own all directories that it creates.
Checked with rpmquery --whatprovides
[+]MUST: A Fedora package must not list a file more than once in the spec file's %files listings.
[+]MUST: Permissions on files must be set properly.
Checked with ls -lR
[+]MUST: Each package must consistently use macros.
[+]MUST: The package must contain code, or permissable content.
[+]MUST: Large documentation files must go in a -doc subpackage.
API Documenation in devel package.
[+]MUST: If a package includes something as %doc, it must not affect the runtime of the application.
[+]MUST: Header files must be in a -devel package.
[NA]MUST: Static libraries must be in a -static package.
[NA]MUST: 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.
[+]MUST: devel packages must require the base package using a fully versioned dependency: Requires: {name} = %{version}-%{release}
rpm -e ghc-highlighting-kate
error: Failed dependencies:
        ghc-highlighting-kate = 0.2.9-1.fc15 is needed by (installed) ghc-highlighting-kate-devel-0.2.9-1.fc15.x86_64

[NA]MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.
[NA]MUST: 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
[+]MUST: Packages must not own files or directories already owned by other packages.
[+]MUST: All filenames in rpm packages must be valid UTF-8.

Should items
[+]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.
[+]SHOULD: The reviewer should test that the package functions as described.
Installed the packages.Ran Highlight program. No issues.
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK. Upgrade to latest cabal2spec.

APPROVED.

Comment 3 Jens Petersen 2011-07-12 01:15:33 UTC
Thank you for reviewing.   Yes, I'll the .spec file when importing.


New Package SCM Request
=======================
Package Name: highlighting-kate
Short Description: Source code highlighting tool and library
Owners: petersen
Branches: f15 f14
InitialCC: haskell-sig

Comment 4 Gwyn Ciesla 2011-07-12 02:37:25 UTC
Git done (by process-git-requests).

Comment 5 Jens Petersen 2011-07-12 11:46:07 UTC
Built for f16 rawhide.

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

Comment 6 Fedora Update System 2011-07-12 13:25:41 UTC
ghc-pcre-light-0.4-4.fc15, highlighting-kate-0.2.9-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ghc-pcre-light-0.4-4.fc15,highlighting-kate-0.2.9-2.fc15

Comment 7 Fedora Update System 2011-07-12 13:42:41 UTC
ghc-pcre-light-0.4-4.fc14, highlighting-kate-0.2.9-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ghc-pcre-light-0.4-4.fc14,highlighting-kate-0.2.9-2.fc14

Comment 8 Fedora Update System 2011-07-12 21:57:13 UTC
ghc-pcre-light-0.4-4.fc14, highlighting-kate-0.2.9-2.fc14 has been pushed to the Fedora 14 testing repository.

Comment 9 Fedora Update System 2011-07-23 02:09:12 UTC
pandoc-1.8.1.1-3.fc15, ghc-pcre-light-0.4-4.fc15, highlighting-kate-0.2.9-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-07-31 03:35:42 UTC
pandoc-1.8.1.1-3.fc14, ghc-pcre-light-0.4-4.fc14, highlighting-kate-0.2.9-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Jens Petersen 2012-06-20 08:41:09 UTC
Package Change Request
======================
Package Name: highlighting-kate
New Branches: el6
Owners: petersen
InitialCC: haskell-sig

Comment 12 Gwyn Ciesla 2012-06-20 12:26:44 UTC
Git done (by process-git-requests).