Bug 3429

Summary: Review request: frobtads - Text interpreter for Tads games
Product: Package Reviews Reporter: František Dvořák <valtri>
Component: Review RequestAssignee: Hans de Goede <hans>
Status: RESOLVED FIXED    
Severity: normal CC: hans, rpmfusion-package-review, sergio
Priority: P5    
Version: Current   
Hardware: All   
OS: GNU/Linux   
namespace:
Bug Depends on:    
Bug Blocks: 4    

Description František Dvořák 2014-12-02 19:34:01 CET
Spec URL: http://scientific.zcu.cz/fedora/frobtads-1.2.3-1/frobtads.spec
SRPM URL: http://scientific.zcu.cz/fedora/frobtads-1.2.3-1/frobtads-1.2.3-1.fc22.src.rpm
Description: TADS stands for "Text Adventure Development System". It's a set of tools that allow easy implementation of text adventures, or "Interactive Fiction".

Why this package is not eligible to be included in Fedora: non-commercial license of the bundled parts (tads2, tads3)

Rpmlint:
frobtads.src: W: invalid-license non-commercial
frobtads.src:12: W: unversioned-explicit-provides bundled(md5-deutsch-c++)
frobtads.src:13: W: unversioned-explicit-provides bundled(sha2-gladman)
frobtads.x86_64: W: invalid-license non-commercial
frobtads.x86_64: W: no-manual-page-for-binary frob
frobtads-debuginfo.x86_64: W: invalid-license non-commercial
frobtads-devel.x86_64: W: invalid-license non-commercial
frobtads-devel.x86_64: W: no-manual-page-for-binary tadsc
frobtads-devel.x86_64: W: no-manual-page-for-binary t3make
4 packages and 0 specfiles checked; 0 errors, 9 warnings.

invalid-license: non-free licenses are not known to rpmlint
unversioned-explicit-provides: this bundled pieces has no version (it is also in other packages)
no-manual-page-for-binary: not strictly required by guidelines :-)
Comment 1 Hans de Goede 2015-12-28 12:36:28 CET
Hi,

I've had this package on my list of interesting pkgs to review for a while now. So here we are almost a year later and I finally have some time to review this. I should have a review done for this pkg soon,

Note that currently rpmfusion infra is being migrated to git + koji, so atm new pkg requests are not being processed. So once this pkg passes review you unfortunately still need to wait a bit longer... But first lets get the review done.

Regards,

Hans
Comment 2 Hans de Goede 2015-12-28 15:58:36 CET
Full review done:

Good:
====
- rpmlint checks return:
[hans@shalem rpmbuild]$ rpmlint SRPMS/* RPMS/x86_64/*
frobtads.src: W: invalid-license non-commercial
frobtads.src:12: W: unversioned-explicit-provides bundled(md5-deutsch-c++)
frobtads.src:13: W: unversioned-explicit-provides bundled(sha2-gladman)
frobtads.x86_64: W: invalid-license non-commercial
frobtads-debuginfo.x86_64: W: invalid-license non-commercial
frobtads-devel.x86_64: W: invalid-license non-commercial
4 packages and 0 specfiles checked; 0 errors, 6 warnings.
 These can all be ignored
- package meets naming guidelines
- package meets packaging guidelines
- license (non-commercial) OK, matches source
- spec file legible, in am. english
- source matches upstream
- no missing BR
- no unnecessary BR
- no locales
- not relocatable
- owns all directories that it creates
- no duplicate files
- permissions ok
- macro use consistent
- code, not content
- no need for -docs
- nothing in %doc affects runtime
- no need for .desktop file

Needs work:
========
-license text not in %license, the actual license text is in tads3/LICENSE.TXT so the %license line should read:
 %license doc/COPYING tads3/LICENSE.TXT
-Package does not build, this is caused by you moving the installed tads manual to %{_pkgdocdir}-devel
 but not having a matching %doc line in %files. For the review I've fixed this by replacing the mkdir + mv
 you do after make install with:
rm -rf %{buildroot}%{_datadir}/frobtads/tads3/doc
 and adding the docs in question to "%files devel" like this:
%doc doc/COMPILERS tads3/doc/*
 Letting rpmbuild take care if the installation of the docs, which usually is the best way to deal with docs
-Why is %{_datadir}/frobtads/tads2 owned by the -devel pkg and not by the main pkg ?
Comment 3 František Dvořák 2015-12-28 23:59:09 CET
Thanks for the reviews! Both packages have some complications - like the complex licensing and bundled stuff...

(In reply to comment #2)
> 
> Needs work:
> ========
> -license text not in %license, the actual license text is in tads3/LICENSE.TXT
> so the %license line should read:
>  %license doc/COPYING tads3/LICENSE.TXT

I overlook that, good catch. Fixed.

> -Package does not build, this is caused by you moving the installed tads manual
> to %{_pkgdocdir}-devel
>  but not having a matching %doc line in %files. For the review I've fixed this
> by replacing the mkdir + mv
>  you do after make install with:
> rm -rf %{buildroot}%{_datadir}/frobtads/tads3/doc
>  and adding the docs in question to "%files devel" like this:
> %doc doc/COMPILERS tads3/doc/*
>  Letting rpmbuild take care if the installation of the docs, which usually is
> the best way to deal with docs

Right, fixed this way.

> -Why is %{_datadir}/frobtads/tads2 owned by the -devel pkg and not by the main
> pkg ?

These files are include files used only by Tads 2 compiler. I placed header files and the compilers (+ the TADS includes) into the -devel subpackage.

On other hand, tads3/res/charmap/cmaplib.t3r is needed for runtime and in the main package.


Updated version:

Spec URL: http://scientific.zcu.cz/fedora/frobtads-1.2.3-1b/frobtads.spec
SRPM URL: http://scientific.zcu.cz/fedora/frobtads-1.2.3-1b/frobtads-1.2.3-1.fc24.src.rpm
Comment 4 Hans de Goede 2015-12-29 13:08:11 CET
Hi,

(In reply to comment #3)
> > -Why is %{_datadir}/frobtads/tads2 owned by the -devel pkg and not by the main
> > pkg ?
> 
> These files are include files used only by Tads 2 compiler. I placed header
> files and the compilers (+ the TADS includes) into the -devel subpackage.
> 
> On other hand, tads3/res/charmap/cmaplib.t3r is needed for runtime and in the
> main package.

Ok, thanks for the explanation. 

> Updated version:
> 
> Spec URL: http://scientific.zcu.cz/fedora/frobtads-1.2.3-1b/frobtads.spec
> SRPM URL:
> http://scientific.zcu.cz/fedora/frobtads-1.2.3-1b/frobtads-1.2.3-1.fc24.src.rpm

Looks good now. Next time you do a new version for a pkg-review please bump the release field and at a changelog with the changes you made, just like you would do in a Fedora pkg review. No need to respin for that now.

This package is approved.

Regards,

Hans
Comment 5 František Dvořák 2015-12-30 21:15:22 CET
Package CVS request
======================
Package Name: frobtads
Short Description: Text interpreter for Tads games
Owners: valtri
Branches: f23
InitialCC:
----------------------
License tag: nonfree
Comment 6 Sérgio Basto 2016-07-20 02:38:22 CEST
https://pkgs.rpmfusion.org/cgit/?q=frobtads this package wasn't created , this is correct or should we block #33 again ?
Comment 7 František Dvořák 2016-07-20 08:21:15 CEST
Yes, 'rfpkg clone frobtads' still fails (checkout of the other packages works fine, like 'qtads'). -- Thanks
Comment 8 Sérgio Basto 2016-07-26 19:54:32 CEST
(In reply to comment #7)
> Yes, 'rfpkg clone frobtads' still fails (checkout of the other packages works
> fine, like 'qtads'). -- Thanks

https://pkgs.rpmfusion.org/cgit/?q=frobtads 

All should be fixed: 

rfpkg clone nonfree/frobtads 

works here 

You should got all instruction here: 

http://rpmfusion.org/Contributors#Import_your_package
http://rpmfusion.org/Contributors#Request_a_build
Note , just work with rfpkg >= 1.23.4 doesn't work with 1.23.3
Comment 9 František Dvořák 2016-10-29 10:19:23 CEST
Added -fpermissive C++ build flag yet - required by 32-bit platforms (ix86) and arm.

The build has been successful (branches: master, f25, f24, f23).