Bug 1212399 - Review Request:harctoolbox - Programs for analyzing remote control signals
Summary: Review Request:harctoolbox - Programs for analyzing remote control signals
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-16 10:35 UTC by Alec Leamas
Modified: 2015-05-21 18:34 UTC (History)
2 users (show)

Fixed In Version: harctoolbox-1.1.2-4.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-01 16:52:15 UTC
Type: ---
Embargoed:
puntogil: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Alec Leamas 2015-04-16 10:35:08 UTC
Spec URL: https://leamas.fedorapeople.org/harctoolbox/harctoolbox.spec
SRPM URL: https://leamas.fedorapeople.org/harctoolbox/harctoolbox-1.1.2-1.fc21.src.rpm

Description: 
harctoolbox is a set of programs to catch, analyze and create data to/from
infrared remote controls. The package contains two applications:

- irscrutinizer, a GUI tool to make most operations om infrared data.
- irpmaster, a CLI tool which also is the the underpinnings of IrScrutinizer.

Fedora Account System Username: leamas
fedora-review: http://ur1.ca/k6pur 
As of now, package can only be built in rawhide.

Comment 1 Alec Leamas 2015-04-16 11:41:57 UTC
See also bug #1212420 and bug #1212417

Comment 2 gil cattaneo 2015-04-17 04:06:37 UTC
you should remove the native subdir

Comment 3 gil cattaneo 2015-04-17 04:21:35 UTC
and also IrScrutinizer/arduino/GirsLite.zip

Comment 4 gil cattaneo 2015-04-17 04:44:02 UTC
you should removed also these plugin:
maven-shade-plugin

[INFO] --- maven-shade-plugin:2.3:shade (default) @ harc-package ---
...
[INFO] Including de.moldaner:wakeonlan:jar:1.0.0 in the shaded jar.
...

No bundled libraries

use only for create bin or "sources" archives
IrScrutinizer/target/IrScrutinizer-bin.zip
package/target/harc-package-1.0.0-sources.zip
maven-assembly-plugin
maven-dependency-plugin

Comment 5 gil cattaneo 2015-04-17 05:50:24 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- 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 is included in %doc.
  Note: Cannot find LICENSE.txt in rpm(s)
  See:
  http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text
 IGNORE


===== MUST items =====

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
     Note: Using prebuilt packages
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "GPL (v3 or later)", "Unknown or generated", "*No copyright* Public
     domain". 36 files have unknown license. Detailed output of licensecheck
     in /home/gil/1212399-harctoolbox/review-harctoolbox/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/maven-metadata, /usr/share/licenses
[x]: Package must own all directories that it creates.
     Note: Directories without known owners:
     /usr/share/icons/hicolor/64x64/apps, /usr/share/icons/hicolor/48x48/apps,
     /usr/share/icons/hicolor/32x32/apps, /usr/share/icons/hicolor/48x48,
     /usr/share/xml, /usr/share/licenses, /usr/share/maven-metadata,
     /usr/share/icons/hicolor/128x128/apps, /usr/share/icons/hicolor/128x128,
     /usr/share/icons/hicolor/64x64, /usr/share/appdata,
     /usr/share/icons/hicolor/32x32, /usr/share/icons/hicolor
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
     Note: Using prebuilt rpms.
[?]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[!]: Sources contain only permissible code or content.
[-]: Development files must be in a -devel package
[-]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: gtk-update-icon-cache is invoked in %postun and %posttrans if package
     contains icons.
     Note: icons in harctoolbox
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or desktop-
     file-validate if there is such a file.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Java:
[x]: Bundled jar/class files should be removed before build
[x]: Packages have proper BuildRequires/Requires on jpackage-utils
     Note: Maven packages do not need to (Build)Require jpackage-utils. It is
     pulled in by maven-local
[x]: Javadoc documentation files are generated and included in -javadoc
     subpackage
[x]: Javadoc subpackages should not have Requires: jpackage-utils
[x]: Javadocs are placed in %{_javadocdir}/%{name} (no -%{version} symlink)

Maven:
[x]: If package contains pom.xml files install it (including depmaps) even
     when building with ant
[x]: POM files have correct Maven mapping
[x]: Maven packages should use new style packaging
[x]: Old add_to_maven_depmap macro is not being used
[x]: Packages DO NOT have Requires(post) and Requires(postun) on jpackage-
     utils for %update_maven_depmap macro
[x]: Package DOES NOT use %update_maven_depmap in %post/%postun
[x]: Packages use %{_mavenpomdir} instead of %{_datadir}/maven2/poms

===== SHOULD items =====

Generic:
[!]: Reviewer should test that the package builds in mock.
[-]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     harctoolbox-javadoc , harctoolbox-doc
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

Java:
[x]: Package uses upstream build method (ant/maven/etc.)
[x]: Packages are noarch unless they use JNI

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: harctoolbox-1.1.2-1.fc23.noarch.rpm
          harctoolbox-javadoc-1.1.2-1.fc23.noarch.rpm
          harctoolbox-doc-1.1.2-1.fc23.noarch.rpm
          harctoolbox-1.1.2-1.fc23.src.rpm
harctoolbox.noarch: W: no-documentation
harctoolbox.noarch: W: dangling-relative-symlink /usr/share/icons/hicolor/48x48/apps/babelfish.png ../../../crystal_project/48x48/apps/babelfish.png
harctoolbox.noarch: W: dangling-symlink /usr/share/harctoolbox/icons/crystal /usr/share/icons/crystal_project
harctoolbox.noarch: W: dangling-relative-symlink /usr/share/icons/hicolor/64x64/apps/babelfish.png ../../../crystal_project/64x64/apps/babelfish.png
harctoolbox.noarch: W: dangling-relative-symlink /usr/share/icons/hicolor/32x32/apps/babelfish.png ../../../crystal_project/32x32/apps/babelfish.png
harctoolbox.noarch: W: dangling-relative-symlink /usr/share/icons/hicolor/128x128/apps/babelfish.png ../../../crystal_project/128x128/apps/babelfish.png
harctoolbox.noarch: W: no-manual-page-for-binary irscrutinizer
harctoolbox.noarch: W: no-manual-page-for-binary irpmaster
harctoolbox.src: W: strange-permission irpmaster 0755L
harctoolbox.src: W: strange-permission irscrutinizer 0755L
4 packages and 0 specfiles checked; 0 errors, 10 warnings.




Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Requires
--------
harctoolbox-javadoc (rpmlib, GLIBC filtered):
    jpackage-utils

harctoolbox (rpmlib, GLIBC filtered):
    /bin/sh
    crystal-project
    java-headless
    jpackage-utils
    mvn(com.beust:jcommander)
    mvn(com.eclipsesource.minimal-json:minimal-json)
    mvn(com.hifiremote:DecodeIRCaller)
    mvn(com.hifiremote:ExchangeIR)
    mvn(com.mrallen:tonto)
    mvn(de.moldaner:wakeonlan)
    mvn(org.antlr:antlr-runtime:3.2)
    mvn(org.antlr:stringtemplate)
    mvn(org.rxtx:rxtx)
    zenity

harctoolbox-doc (rpmlib, GLIBC filtered):



Provides
--------
harctoolbox-javadoc:
    harctoolbox-javadoc

harctoolbox:
    appdata()
    appdata(irscrutinizer.appdata.xml)
    application()
    application(irscrutinizer.desktop)
    harctoolbox
    irpmaster
    irscrutinizer
    mvn(org.harctoolbox:Girr)
    mvn(org.harctoolbox:Girr:pom:)
    mvn(org.harctoolbox:HarcHardware)
    mvn(org.harctoolbox:HarcHardware:pom:)
    mvn(org.harctoolbox:HarctoolboxBundle:pom:)
    mvn(org.harctoolbox:IrScrutinizer)
    mvn(org.harctoolbox:IrScrutinizer:pom:)
    mvn(org.harctoolbox:IrpMaster)
    mvn(org.harctoolbox:IrpMaster:pom:)
    mvn(org.harctoolbox:Jirc)
    mvn(org.harctoolbox:Jirc:pom:)
    mvn(org.harctoolbox:harc-package)
    mvn(org.harctoolbox:harc-package:pom:)

harctoolbox-doc:
    harctoolbox-doc



Source checksums
----------------
https://github.com/bengtmartensson/harctoolboxbundle/archive/8489337d43cc2f86f8072ea4f750077771ab85d9/harctoolboxbundle-8489337.tar.gz :
  CHECKSUM(SHA256) this package     : b4397c068f9b794d16de031760ead7dd84f031a97ae4e74efd8ca34f17c94a98
  CHECKSUM(SHA256) upstream package : b4397c068f9b794d16de031760ead7dd84f031a97ae4e74efd8ca34f17c94a98


Generated by fedora-review 0.5.2 (63c24cb) last change: 2014-07-14
Command line :/usr/bin/fedora-review -vpn harctoolbox -m fedora-rawhide-i386
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Shell-api, Java
Disabled plugins: C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

Comment 6 gil cattaneo 2015-04-17 05:58:21 UTC
File with "Public Domain" license is no packaged, license field is correct
Please, remove "native" folder from source archive
APPROVED

Comment 7 Alec Leamas 2015-04-17 07:07:42 UTC
New release:
  - Removing native/ and *zip files
  - The WakeOnLan files are not bundled.

Thanks for review!

Comment 8 Alec Leamas 2015-04-17 07:11:04 UTC
New Package SCM Request
=======================
Package Name: harctoolbox
Short Description: Programs for analyzing remote control signals
Upstream URL: http://www.harctoolbox.org
Owners: leamas
Branches: f21 f22
InitialCC:

Comment 9 Gwyn Ciesla 2015-04-17 10:46:18 UTC
Git done (by process-git-requests).

Comment 10 Fedora Update System 2015-04-23 16:23:11 UTC
harctoolbox-1.1.2-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/harctoolbox-1.1.2-4.fc22

Comment 11 Fedora Update System 2015-04-24 22:48:24 UTC
harctoolbox-1.1.2-4.fc22 has been pushed to the Fedora 22 testing repository.

Comment 12 Fedora Update System 2015-05-01 16:52:15 UTC
harctoolbox-1.1.2-4.fc22 has been pushed to the Fedora 22 stable repository.

Comment 13 Fedora Update System 2015-05-10 08:18:17 UTC
harctoolbox-1.1.2-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/harctoolbox-1.1.2-4.fc21

Comment 14 Fedora Update System 2015-05-21 17:34:23 UTC
harctoolbox-1.1.2-4.fc21 has been pushed to the Fedora 21 stable repository.


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