Bug 1318381 - Review Request: gtengine - Library for computations in mathematics, graphics, image analysis, and physics
Summary: Review Request: gtengine - Library for computations in mathematics, graphics,...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-16 17:33 UTC by Antonio T. (sagitter)
Modified: 2016-04-10 14:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-10 14:22:46 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+


Attachments (Terms of Use)

Description Antonio T. (sagitter) 2016-03-16 17:33:04 UTC
Spec URL: https://sagitter.fedorapeople.org/gtengine/GTEngine.spec
SRPM URL: https://sagitter.fedorapeople.org/gtengine/GTEngine-2.3-1.fc23.src.rpm

Description:
A library of source code for computing in the fields of mathematics,
graphics, image analysis, and physics.
The engine is written in C++ 11 and, as such, has portable access
to standard constructs for multithreading programming on cores.
The engine also supports high-performance computing using general
purpose GPU programming (GPGPU).
SIMD code is also available using Intel Streaming SIMD Extensions (SSE).
This is new version of Wild Magic 5 Engine.

Fedora Account System Username: sagitter

This package is for Fedora only.

Comment 1 Zbigniew Jędrzejewski-Szmek 2016-04-01 15:59:24 UTC
Name should be gtengine [https://fedoraproject.org/wiki/Packaging:NamingGuidelines#General_Naming].

%description should be wrapped to 80 columns.

Comment 3 Zbigniew Jędrzejewski-Szmek 2016-04-01 16:53:02 UTC
rm -rf $RPMBUILDROOT is unnecessary.

Hm, what is the "touch $RPM_BUILD_ROOT%{_libdir}/libgtengine.so.2" for?

ln -sf %{_libdir}/libgtengine.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libgtengine.so.2
...
I think this should be
ln -s libgtengine.so.2.0 ${buildroot}%{_libdir}/libgtengine.so.2
ln -s libgtengine.so.2 ${buildroot}%{_libdir}/libgtengine.so

(Links should be relative.)

+ license is acceptable (Boost)
+ license file is present, %license is used
+ name is OK
+ latest version
+ scriptlets look sane
+ provides/requires look fine
+ fedora-review has nothing interesting to say
+ devel subpackage is split out correctly

rpmlint:
gtengine.i686: W: spelling-error %description -l en_US multithreading -> multitasking
gtengine.i686: W: no-documentation
gtengine.src: W: spelling-error %description -l en_US multithreading -> multitasking
gtengine-devel.i686: W: no-documentation
4 packages and 0 specfiles checked; 0 errors, 4 warnings.
All OK.

So the only thing is the strange installation commands.

Comment 4 Zbigniew Jędrzejewski-Szmek 2016-04-01 17:02:40 UTC
Hm, does the license which forbids the distribution of the PDFs also apply to the installation instructions? It's only 5 pages and is included in the tarball, but strict reading of the notice suggests that it does:
"The PDF documents at our site are copyrighted but not subject to the liberal terms of the Boost License".

Comment 5 Antonio T. (sagitter) 2016-04-01 17:42:26 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #3)
> rm -rf $RPMBUILDROOT is unnecessary.
> 
> Hm, what is the "touch $RPM_BUILD_ROOT%{_libdir}/libgtengine.so.2" for?
> 
> ln -sf %{_libdir}/libgtengine.so.2.0
> $RPM_BUILD_ROOT%{_libdir}/libgtengine.so.2

I didn't knew that was enough the link only.

> ...
> I think this should be
> ln -s libgtengine.so.2.0 ${buildroot}%{_libdir}/libgtengine.so.2
> ln -s libgtengine.so.2 ${buildroot}%{_libdir}/libgtengine.so
> 

Spec URL: https://sagitter.fedorapeople.org/gtengine/gtengine.spec
SRPM URL: https://sagitter.fedorapeople.org/gtengine/gtengine-2.3-3.fc23.src.rpm

> Hm, does the license which forbids the distribution of the PDFs also apply to > the installation instructions? It's only 5 pages and is included in the 
> tarball, but strict reading of the notice suggests that it does:
> "The PDF documents at our site are copyrighted but not subject to the liberal > terms of the Boost License".

I think that Installation PDF is not useful for packaging. Real documentation is online: http://www.geometrictools.com/Documentation/Documentation.html

Comment 6 Zbigniew Jędrzejewski-Szmek 2016-04-01 17:50:34 UTC
> I think that Installation PDF is not useful for packaging.
Yes, I don't think it should be put in the binary RPM.
The problem is different: *if* the PDF is non-distributable, it has to be removed from the tarball in the SRPM. So the question is whether the PDF is under the boost license like the rest of the tarball, of it is under the license for documentation pdfs. Maybe you could query upstream?

Comment 7 Antonio T. (sagitter) 2016-04-01 18:12:44 UTC
Upstream maintainer replies me right now:

"That PDF is a simple description for installation and release notes.  There are no licensing issues for it.  I intentionally did NOT include a copyright notice in the PDF, so it may be freely copied and redistributed without any restrictions."

Comment 8 Zbigniew Jędrzejewski-Szmek 2016-04-01 18:50:34 UTC
The links are still wrong (they *must* be relative):

ln -sf %{_libdir}/libgtengine.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libgtengine.so.2
ln -sf %{_libdir}/libgtengine.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libgtengine.so
↓
ln -sf libgtengine.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libgtengine.so.2
ln -sf libgtengine.so.2.0 $RPM_BUILD_ROOT%{_libdir}/libgtengine.so

Summary could be changed to:
Summary: Library for computations in mathematics, graphics, image analysis, and physics

Package is APPROVED.

Comment 9 Antonio T. (sagitter) 2016-04-01 19:13:55 UTC
Spec URL: https://sagitter.fedorapeople.org/gtengine/gtengine.spec
SRPM URL: https://sagitter.fedorapeople.org/gtengine/gtengine-2.3-3.fc23.src.rpm

Thank you.
I kept same release number.

Comment 10 Gwyn Ciesla 2016-04-01 21:51:07 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/gtengine

Comment 11 Fedora Update System 2016-04-02 11:02:01 UTC
gtengine-2.3-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0007fb788b

Comment 12 Fedora Update System 2016-04-02 11:02:08 UTC
gtengine-2.3-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-07dddc7cb8

Comment 13 Fedora Update System 2016-04-02 21:19:37 UTC
gtengine-2.3-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0007fb788b

Comment 14 Fedora Update System 2016-04-02 21:21:28 UTC
gtengine-2.3-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-07dddc7cb8

Comment 15 Fedora Update System 2016-04-10 14:22:44 UTC
gtengine-2.3-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2016-04-10 14:38:41 UTC
gtengine-2.3-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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