Bug 431181 - Review Request: libitl - Libraries for The Islamic Tools and Libraries Project
Summary: Review Request: libitl - Libraries for The Islamic Tools and Libraries Project
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jason Tibbitts
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 431186 431188
TreeView+ depends on / blocked
Reported: 2008-02-01 11:03 UTC by Mohd Izhar Firdaus Ismail
Modified: 2008-02-15 02:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-02-15 02:24:44 UTC
Type: ---
j: fedora-review+
kevin: fedora-cvs+

Attachments (Terms of Use)

Description Mohd Izhar Firdaus Ismail 2008-02-01 11:03:53 UTC
Spec URL: http://izhar.fedorapeople.org/itl/libitl.spec
SRPM URL: http://izhar.fedorapeople.org/itl/libitl-0.6.4-1.fc8.src.rpm

The Islamic Tools and Libraries (ITL) is a project
to provide a plethora of useful Islamic tools and
applications as well as a comprehensive feature-full
Islam-centric library. The ITL project currently
includes Hijri date, Muslim prayer times, and Qibla.

This package contains the libraries for applications using ITL

Comment 1 Jason Tibbitts 2008-02-02 05:34:42 UTC
Builds OK and rpmlint is clean.  Some comments:

It seems that you have no choice but to run the autotools since upstream does
not ship generated copies, but you should ask upstream to do this before
creating your tarball.  Otherwise there could be problems when the version of
Fedora's autotools doesn't match what upstream expects to use.

I do not see where the license version is specified.  The source files seem to
say "under LGPL license" but do not specify a version.  The included COPYING
file says only that you can use any version ever published in this case.  So
instead of LGPLv2 as you have, I think the license tag should be LGPLv2+.  See
this text from http://fedoraproject.org/wiki/Licensing:
A GPL or LGPL licensed package that lacks any statement of what version that
it's licensed under in the source code/program output/accompanying docs is
technically licensed under *any* version of the GPL or LGPL, not just the
version in whatever COPYING file they include.

The unversioned .so file needs to be in the -devel package.

This package installs a library into /usr/lib/itl but doesn't configure the
linker to look into that directory.  I haven't yet looked at the packages which
use this library, but I'm not sure how that can work unless they open this
library with dlopen() or they use rpath (which they probably shouldn't).  In any
case, the ldconfig calls are pointless in this case because they will not find
the libraries you have added.  Is there some reason this library needs to be in
its own, separate directory?

* source files match upstream:
* package meets naming and versioning guidelines.
* specfile is properly named, is cleanly written and uses macros consistently.
* summary is OK.
* description is OK.
* dist tag is present.
* build root is OK.
X license field does not match the actual license.
* license is open source-compatible.
* license text included in package.
* latest version is being packaged.
* BuildRequires are proper.
* compiler flags are appropriate.
* %clean is present.
* package builds in mock (rawhide, x86_64).
* package installs properly
* debuginfo package looks complete.
* rpmlint is silent.
* final provides and requires are sane:
   libitl = 0.6.4-1.fc9

   libitl-devel = 0.6.4-1.fc9
   libitl = 0.6.4-1.fc9

* %check is not present; no test suite upstream.
? a shared library is installed, but not into a standard location; a call to 
   ldconfig is pointless in this case.
X unversioned .so files should be in the -devel package.
* owns the directories it creates.
* doesn't own any directories it shouldn't.
* no duplicates in %files.
* file permissions are appropriate.
* code, not content.
* documentation is small, so no -doc subpackage is necessary.
* %docs are not necessary for the proper functioning of the package.
* headers are in the -devel package.
* no pkgconfig files.
* no static libraries.
* no libtool .la files.

Comment 2 Mohd Izhar Firdaus Ismail 2008-02-03 07:10:11 UTC

About the autotools issue, I've just sent an email to upstream developer and
waiting for his reply.

in the meantime:

- changed the license tag to LGPLv2+ 
- moved the so files to %{_libdir}.
- considering the current autoconf version works with this tarball, I've ran it
and generated a patch to include a working configure script until upstream
provided their own generated configure script.


Comment 3 Mamoru TASAKA 2008-02-10 12:17:56 UTC
Jason, this bug blocks the following two review requests. Would
you update the status?

Comment 4 Jason Tibbitts 2008-02-11 20:24:25 UTC
Aargh, setting needinfo made this drop out of my TODO list and I missed it when
I was going over my tickets this weekend.  I really wish needinfo worked better.

Anyway, the new package looks better, but there's a problem with the avoidance
of autoconf.

First off, if you're going to provide a built configure file, please just supply
it as Souce1: instead of patching it in.  A patch that does nothing more than
add a source file is rather strange.

But honestly, I'm not really sure that patching in the configure file is any
better than just generating it.  It has the benefit of not requiring the
autotools and not being dependent on the specific autotools versions that might
be installed on each release you're building on, so I guess it's no worse. 
Frankly I'm not really sure which is the right thing to do, but I've held this
ticket up long enough thinking about the issue.

So I'll go ahead and approve this, but please move the new configure file to a
source file instead of a patch before you check things in.


Comment 5 Mohd Izhar Firdaus Ismail 2008-02-14 12:53:33 UTC
New Package CVS Request
Package Name: libitl
Short Description: Libraries for The Islamic Tools and Libraries Project
Owners: izhar
Branches: F-7 F-8
InitialCC: izhar
Cvsextras Commits: yes

Comment 6 Kevin Fenzi 2008-02-14 22:13:30 UTC
cvs done.

Comment 7 Mohd Izhar Firdaus Ismail 2008-02-15 02:24:44 UTC
Thanks all

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