Bug 991286 - Review Request: pyhoca-gui - Graphical X2Go client written in (wx)Python
Summary: Review Request: pyhoca-gui - Graphical X2Go client written in (wx)Python
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Alec Leamas
QA Contact: Fedora Extras Quality Assurance
Depends On: 990817
Blocks: 998551
TreeView+ depends on / blocked
Reported: 2013-08-02 05:19 UTC by Orion Poplawski
Modified: 2013-10-19 21:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-08-31 04:13:58 UTC
Type: ---
leamas.alec: fedora-review+
gwync: fedora-cvs+

Attachments (Terms of Use)

Description Orion Poplawski 2013-08-02 05:19:47 UTC
Spec URL: http://www.cora.nwra.com/~orion/fedora/nx/pyhoca-gui.spec
SRPM URL: http://www.cora.nwra.com/~orion/fedora/nx/pyhoca-gui-
X2Go is a server based computing environment with:
   - session resuming
   - low bandwidth support
   - LDAP support
   - client side mass storage mounting support
   - client side printing support
   - audio support
   - authentication by smartcard and USB stick

PyHoca-GUI is a slim X2Go client that docks to the desktop's
notification area and allows multiple X2Go session handling.

Fedora Account System Username:orion

Comment 1 Alec Leamas 2013-08-29 21:01:34 UTC
I owe you one, remember? taking this review

Comment 2 Alec Leamas 2013-08-29 21:56:25 UTC
I got build errors:
RPM build errors:
    File must begin with "/": %{_desktopdir}/pyhoca-gui.desktop
    File must begin with "/": %{_iconsdir}/PyHoca/

Most likely because of some missing build dependency which have these macro definitions. Got it running with this diff (sorry, wrong format, I bet you can handle that).

< %{_desktopdir}/%{name}.desktop
< %{_iconsdir}/PyHoca/
> /usr/share/applications/%{name}.desktop
> /usr/share/icons/PyHoca/

Package Review

[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

- gtk-update-icon-cache is invoked in %postun and %posttrans if package
  contains icons.
  Note: icons in pyhoca-gui
  See: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
- Package installs a %{name}.desktop using desktop-file-install or desktop-
  file-validate if there is such a file. -> You need desktop-file-validate
  in %install.
- License field in the package spec file matches the actual license.
  --> Here is in one GPLv2 file: icon2exe.py. So license is AGPLv3 and GPLv2+
- Fix the rpmlint warning about mixed use of tabs and space in specfile
- The directory ownership issues below needs a clarification.

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

[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
[ ]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/pyhoca
     --> Is this covered by the nxproxy dependency?
[ ]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/pyhoca
     --> Same question: Is this covered by the nxproxy dependency?
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[!]: Package consistently uses macros (instead of hard-coded directory names).
     I would prefer not using the non-standard %_desktopdir and %_iconsdir
     macros. They create more problems than they solve.
[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]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 40960 bytes in 3 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: 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.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[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]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[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
[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
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

[?]  Package installs properly.
     Note: Installation errors (see attachment)
     --> Can't install without nxproxy. This not a problem
[-]: Python eggs must not download any dependencies during the build process.
[-]: A package which is used by another package via an egg interface should
     provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep

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

[-]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[-]: Package should compile and build into binary rpms on all supported
[!]: %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]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

[!]: Rpmlint is run on all installed packages.
     Note: Mock build failed
     See: http://fedoraproject.org/wiki/Packaging/Guidelines#rpmlint
[x]: Large data in /usr/share should live in a noarch subpackage if package is

Installation errors
ERROR: Command failed:
 # ['/usr/bin/yum', '--installroot', '/var/lib/mock/fedora-rawhide-x86_64/root/', 'install', '/home/mk/FedoraReview/pyhoca-gui/results/pyhoca-gui-']
Error: Package: python-x2go- (fedora)
           Requires: nxproxy

Checking: pyhoca-gui-
pyhoca-gui.noarch: W: spelling-error Summary(en_US) wx -> ex, w, x
pyhoca-gui.noarch: W: spelling-error %description -l en_US smartcard -> smart card, smart-card, MasterCard
pyhoca-gui.noarch: W: invalid-license AGPLv3+
pyhoca-gui.src: W: spelling-error Summary(en_US) wx -> ex, w, x
pyhoca-gui.src: W: spelling-error %description -l en_US smartcard -> smart card, smart-card, MasterCard
pyhoca-gui.src: W: invalid-license AGPLv3+
pyhoca-gui.src:14: W: mixed-use-of-spaces-and-tabs (spaces: line 14, tab: line 1)
2 packages and 0 specfiles checked; 0 errors, 7 warnings.

pyhoca-gui (rpmlib, GLIBC filtered):


Source checksums
http://code.x2go.org/releases/source/pyhoca-gui/pyhoca-gui- :
  CHECKSUM(SHA256) this package     : b1f6c2cfea9fd3b100376a41bf204476209d7a3c811d3bd0f5fa1c547f65cc7f
  CHECKSUM(SHA256) upstream package : b1f6c2cfea9fd3b100376a41bf204476209d7a3c811d3bd0f5fa1c547f65cc7f

Generated by fedora-review 0.5.0 (07d62ff) last change: 2013-08-29
Command line :./try-fedora-review -rn pyhoca-gui-
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Python, Shell-api
Disabled plugins: Java, C/C++, SugarActivity, Perl, R, PHP, Ruby
Disabled flags: EPEL5, EXARCH, DISTTAG

Comment 3 Christopher Meng 2013-08-30 03:55:13 UTC
Please change bug status next time if taken.


Comment 4 Orion Poplawski 2013-08-30 05:05:23 UTC
Apologies for the crappy state of this package.


* Thu Aug 29 2013 Orion Poplawski <orion.com> -
- Update to
- Add BR on desktop-file-utils, validate the desktop file
- Add gtk-update-icon-cache scriptlets
- Own /usr/share/pyhoca
- Change tabs to spaces

Since we don't ship icon2exe.py, I do not believe it should be included in the license field.

Comment 5 Alec Leamas 2013-08-30 05:27:58 UTC
(In reply to Orion Poplawski from comment #4)

> Since we don't ship icon2exe.py, I do not believe it should be included in
> the license field.

Indeed, I should have noted that. All looks good.


Comment 6 Orion Poplawski 2013-08-30 13:49:10 UTC
New Package SCM Request
Package Name: pyhoca-gui
Short Description: Graphical X2Go client written in (wx)Python
Owners: orion
Branches: f20 f19 f18 el6

Comment 7 Gwyn Ciesla 2013-08-30 14:15:33 UTC
Git done (by process-git-requests).

Comment 8 Orion Poplawski 2013-08-31 04:13:58 UTC
Checked in and built

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