Bug 438932

Summary: Review Request: libotf - Library for handling OpenType Font
Product: [Fedora] Fedora Reporter: Neal Becker <ndbecker2>
Component: Package ReviewAssignee: Parag AN(पराग) <panemade>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting
Target Milestone: ---Flags: panemade: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-26 00:24:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Becker 2008-03-26 01:03:43 UTC
Spec URL: http://nbecker.dyndns.org:8080/RPM/libotf.spec
SRPM URL: http://nbecker.dyndns.org:8080/RPM/libotf-0.9.7-1.fc8.src.rpm
Description: The library "libotf" provides the following facilites.
Read Open Type Layout Tables from OTF file. Currently these tables are
supported; head, name, cmap, GDEF, GSUB, and GPOS.  Convert a Unicode
character sequence to a glyph code sequence by using the above tables.
The combination of libotf and the FreeType library (Ver.2) realizes
CTL (complex text layout) by OpenType fonts. This library is currently
used by the m17n library. It seems that the probject Free Type Layout
provides the similar (or better) facility as this library, but
currently they have not yet released their library. So, we have
developed this one.

Useful for emacs-23.0.60.1
Mock build OK

Comment 1 Parag AN(पराग) 2008-03-26 04:01:48 UTC
1)No need of INSTALL as %doc
2)add Requires: pkgconfig to -devel package
3)Use following to preserve timestamps while installing
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
4) rpmlint gave me

libotf.i386: W: devel-file-in-non-devel-package /usr/bin/libotf-config
A development file (usually source code) is located in a non-devel
package. If you want to include source code in your package, be sure to
create a development package.
==> Good if you move file libotf-config to -devel package

Comment 2 Neal Becker 2008-03-26 11:38:37 UTC
I believe all the above have been fixed.

Please see:
http://nbecker.dyndns.org:8080/RPM/libotf.spec
http://nbecker.dyndns.org:8080/RPM/libotf-0.9.7-2.fc8.src.rpm

Comment 3 Parag AN(पराग) 2008-03-28 08:53:40 UTC
Review:
+ package builds in mock.
koji build => http://koji.fedoraproject.org/koji/taskinfo?taskID=535524
+ rpmlint is silent for SRPM and RPM.
+ source files match upstream.
017dc38925ffe33cc76d6d29c7757d36  libotf-0.9.7.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is small so no need of -doc subpackage.
+ BuildRequires are proper.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code.
+ no static libraries.
+ libotf.pc files are present.
+ -devel subpackage exists.
+ no .la files.
+ no translations are available.
+ Does owns the directories it creates.
+ no duplicates in %files.
+ file permissions are appropriate.
+ ldconfig scriptlets are used.
+ package libotf-0.9.7-2.fc9->
  Provides: libotf.so.0
  Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4)
libfreetype.so.6 libotf.so.0 rtld(GNU_HASH)
+ package libotf-devel-0.9.7-2.fc9 ->
  Requires: /bin/sh libotf.so.0
+ Not a GUI app.

SHOULD:
 1) change license to LGPLv2+
 2) add examples directory to %doc of -devel package.  
 3) Source URL should be
   http://www.m17n.org/%{name}/%{name}-%{version}.tar.gz


Comment 4 Parag AN(पराग) 2008-03-28 08:55:34 UTC
Please submit updated SRPM here.

Comment 5 Neal Becker 2008-03-28 11:03:26 UTC
Updated SRPM:
http://nbecker.dyndns.org:8080/RPM/libotf-0.9.7-3.fc8.src.rpm

Minor: installing example also installs subdir .deps.  I recommend ignoring 
this because removing it will break the Makefile.

Comment 6 Parag AN(पराग) 2008-03-31 06:30:47 UTC
simple way then is to add to -devel 
%doc example/*.c


Comment 7 Parag AN(पराग) 2008-04-04 03:41:35 UTC
ping for updated SRPM

Comment 8 Neal Becker 2008-04-07 16:01:06 UTC
You mean only install example/*.c and not Makefile?  I think the original 
(including Makefile and .deps) is better - at least it has then a working 
Makefile.

Comment 9 Parag AN(पराग) 2008-04-14 11:02:04 UTC
I have not seen such case where .deps also got installed. Just search for .deps
under /usr/share/doc and afaics there is no .deps there.

so if you want .deps also then I will ask you to drop 
%doc example/*.c



Comment 10 Neal Becker 2008-04-14 12:26:36 UTC
OK, .deps removed

http://nbecker.fedorapeople.org/libotf-0.9.7-4.fc8.src.rpm

Comment 11 Parag AN(पराग) 2008-04-27 10:28:29 UTC
sorry I thought I posted review here but it seems I need to do that yet. Will
review this tomorrow.

Comment 12 Neal Becker 2008-05-04 16:58:30 UTC
(In reply to comment #11)
> sorry I thought I posted review here but it seems I need to do that yet.
Will
> review this tomorrow.

Ping?

Comment 13 Parag AN(पराग) 2008-05-05 03:53:12 UTC
sorry. I got so busy schedule at home and work also. will review now.

Comment 14 Parag AN(पराग) 2008-05-05 03:58:59 UTC
koji build http://koji.fedoraproject.org/koji/taskinfo?taskID=595436
Package looks Ok now.

APPROVED.

Comment 15 Neal Becker 2008-05-05 12:22:04 UTC
New Package CVS Request
=======================
Package Name: libotf
Short Description: Library for handling OpenType Font
Owners: nbecker
Branches: F-8 F-9
InitialCC:
Cvsextras Commits: yes

Comment 16 Kevin Fenzi 2008-05-05 15:47:01 UTC
cvs done.

Comment 17 Brian Pepple 2008-05-25 23:55:31 UTC
Neal, has this been built?  If so, you can close this bug.