Bug 484704 (libapogee) - Review Request: libapogee - Library for Apogee CCD Cameras
Summary: Review Request: libapogee - Library for Apogee CCD Cameras
Keywords:
Status: CLOSED NEXTRELEASE
Alias: libapogee
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jaroslav Reznik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-09 16:19 UTC by Sergio Pascual
Modified: 2009-02-14 13:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-14 13:17:06 UTC
Type: ---
Embargoed:
jreznik: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Sergio Pascual 2009-02-09 16:19:42 UTC
Spec URL: http://sergiopr.fedorapeople.org/libapogee.spec
SRPM URL: http://sergiopr.fedorapeople.org/libapogee-2.2-1.fc10.src.rpm
Description: 
Apogee library is used by applications to control Apogee CCDs.

Comment 1 Jaroslav Reznik 2009-02-09 16:53:15 UTC
rpmlint output:
libapogee.x86_64: W: shared-lib-calls-exit /usr/lib64/libapogeee.so.2.2 exit.5
libapogee.x86_64: W: shared-lib-calls-exit /usr/lib64/libapogeeu.so.2.2 exit.5

Please report upstream bug as for libindi. I'll continue later, I have to leave now, but from first view it looks OK for me.

License typo - it is GPLv2+ not GPL+

Comment 2 Jaroslav Reznik 2009-02-12 09:43:10 UTC
Package Review
==============

Key:
 - = N/A
 x = Check
 ! = Problem
 ? = Not evaluated

=== REQUIRED ITEMS ===
 [x] Package is named according to the Package Naming Guidelines.
 [x] Spec file name must match the base package %{name}, in the format %{name}.spec.
 [x] Package meets the Packaging Guidelines.
 [x] Package successfully compiles and builds into binary rpms on at least one
supported architecture.
     Tested on: f11 / i386, x86_64
     Build failure on: ppc, ppc64, see summary
 [!] Rpmlint output: not clean
     - libapogee.x86_64: W: shared-lib-calls-exit /usr/lib64/libapogeee.so.2.2 exit.5
     - libapogee.x86_64: W: shared-lib-calls-exit /usr/lib64/libapogeeu.so.2.2 exit.5
 [-] Package is not relocatable.
 [x] Buildroot is correct
 [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.
     License type: GPLv2+
     - SPEC file contains GPL+ 
 [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] Spec file is legible and written in American English.
 [x] Sources used to build the package matches the upstream source, as provided
in the spec URL.
 [x] All build dependencies are listed in BuildRequires, except for any that are
listed in the exceptions section of Packaging Guidelines.
 [-] The spec file handles locales properly.
 [x] ldconfig called in %post and %postun if required.
 [x] Package must own all directories that it creates.
 [-] Package requires other packages for directories it uses.
 [x] Package does not contain duplicates in %files.
 [x] Permissions on files are set properly.
 [x] Package has a %clean section, which contains rm -rf %{buildroot} (or
$RPM_BUILD_ROOT).
 [x] Package consistently uses macros.
 [x] Package contains code, or permissable content.
 [-] Large documentation files are in a -doc subpackage, if required.
 [x] Package uses nothing in %doc for runtime.
 [x] Header files in -devel subpackage, if present.
 [-] Static libraries in -devel subpackage, if present.
 [-] Package requires pkgconfig, if .pc files are present.
 [x] Development .so files in -devel subpackage, if present.
 [x] Package does not contain any libtool archives (.la).
 [-] Package contains a properly installed %{name}.desktop file if it is a GUI
application.
 [x] Package does not own files or directories owned by other packages.

=== SUGGESTED ITEMS ===
 [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.
 [x] Reviewer should test that the package builds in koji.
     - koji dist-f11  
 [!] Package should compile and build into binary rpms on all supported
architectures.
     - package does not build on PPC, PPC64

       Building CXX object CMakeFiles/apogeeu.dir/ApnCamera_Linux.o
       error: 
       sys/io.h: No such file or directory

 [?] Package functions as described.
 [-] Scriptlets must be sane, if used.
 [-] The placement of pkgconfig(.pc) files are correct.
 [-] File based requires are sane.

=== SUMMARY ===
- Ask upstream to fix rpmlint output
- Fix license
- Package should compile and build on PPC, PPC64! 
  * If the package does not successfully compile, build or work on an architecture, 
    then those architectures should be listed in the spec in ExcludeArch. Each architecture 
    listed in ExcludeArch MUST have a bug filed in bugzilla, describing the reason that the 
    package does not compile/build/work on that architecture. The bug number MUST be placed 
    in a comment, next to the corresponding ExcludeArch line. 
  * http://fedoraproject.org/wiki/Packaging/Guidelines#Architecture_Build_Failures

Comment 3 Sergio Pascual 2009-02-13 12:34:54 UTC
Spec URL: http://sergiopr.fedorapeople.org/libapogee.spec
SRPM URL: http://sergiopr.fedorapeople.org/libapogee-2.2-2.fc10.src.rpm

I have fixed the license and submitted a new bug about library-calling-exit

Regarding ppc ppc64, there was already a bug filled about the problem. The solutions seems to be as easy as removing sys/io.h includes. 

https://sourceforge.net/tracker2/?func=detail&aid=2215787&group_id=90275&atid=593019

So I have created a patch that does exactly that. The package now builds in koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1124525

Comment 4 Jaroslav Reznik 2009-02-13 13:56:23 UTC
Ok, thank you!

- license is OK
- build is OK

APPROVED

Comment 5 Sergio Pascual 2009-02-13 14:15:39 UTC
New Package CVS Request
=======================
Package Name: libapogee
Short Description: Library for Apogee CCD Cameras
Owners: sergiopr
Branches: F-10 F-9
InitialCC:

Comment 6 Kevin Fenzi 2009-02-14 00:40:36 UTC
cvs done.


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