Bug 561276 - Review Request: cal10n - Compiler assisted localization library (CAL10N)
Summary: Review Request: cal10n - Compiler assisted localization library (CAL10N)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mary Ellen Foster
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-03 08:55 UTC by Alexander Kurtakov
Modified: 2010-02-10 10:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-10 10:06:12 UTC
Type: ---
Embargoed:
mefoster: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Alexander Kurtakov 2010-02-03 08:55:02 UTC
Spec URL: http://akurtakov.fedorapeople.org/cal10n.spec
SRPM URL: http://akurtakov.fedorapeople.org/cal10n-0.7.2-1.fc12.src.rpm
Description: Compiler Assisted Localization, abbreviated as CAL10N (pronounced as "calion") 
is a java library for writing localized (internationalized) messages.
Features:
    * java compiler verifies message keys used in source code
    * tooling to detect errors in message keys
    * native2ascii tool made superfluous, as you can directly encode bundles 
      in the most convenient charset, per locale.
    * good performance (300 nanoseconds per key look-up)
    * automatic reloading of resource bundles upon change

Comment 1 Mary Ellen Foster 2010-02-03 11:20:13 UTC
Review:
OK: rpmlint must be run on every package. Output:
cal10n.src: W: spelling-error %description -l en_US calion -> cation, ca lion, ca-lion
cal10n.src: W: spelling-error %description -l en_US ascii -> ASCII
cal10n.src: W: spelling-error %description -l en_US charset -> char set, char-set, Charles
cal10n.noarch: W: spelling-error %description -l en_US calion -> cation, ca lion, ca-lion
cal10n.noarch: W: spelling-error %description -l en_US ascii -> ASCII
cal10n.noarch: W: spelling-error %description -l en_US charset -> char set, char-set, Charles
cal10n.noarch: W: no-documentation
cal10n.noarch: W: non-conffile-in-etc /etc/maven/fragments/cal10n
maven-cal10n-plugin.noarch: W: spelling-error %description -l en_US enum -> menu, en um, en-um
maven-cal10n-plugin.noarch: W: no-documentation
4 packages and 0 specfiles checked; 0 errors, 10 warnings.

All of these appear to be false positives

OK: The package must be named according to the Package Naming Guidelines .
OK: The spec file name must match the base package %{name}, in the format
%{name}.spec unless your package has an exemption.
OK: The package must meet the Packaging Guidelines .
OK: The package must be licensed with a Fedora approved license and meet the
Licensing Guidelines .
OK: The License field in the package spec file must match the actual license.
OK: The spec file must be written in American English.
OK: The spec file for the package MUST be legible.
OK: The sources used to build the package must match the upstream source, as
provided in the spec URL.
OK: The package MUST successfully compile and build into binary rpms on at
least one primary architecture.
OK: All build dependencies must be listed in BuildRequires
OK: Packages must NOT bundle copies of system libraries.
OK: A package must own all directories that it creates. 
OK: A Fedora package must not list a file more than once in the spec file's
%files listings. 
OK: Permissions on files must be set properly. 
OK: Each package must have a %clean section, which contains rm -rf %{buildroot}
(or $RPM_BUILD_ROOT). 
OK: Each package must consistently use macros. 
OK: The package must contain code, or permissable content.
OK: Packages must not own files or directories already owned by other packages. 
OK: At the beginning of %install, each package MUST run rm -rf %{buildroot}
OK: All filenames in rpm packages must be valid UTF-8. 

Just a couple of small things:
- What's the need for the external_repo stuff at the start of %prep?
- The macro %{_mavenpomdir} expands to %{_datadir}/maven2/poms, which makes things a bit neater

Neither is a show stopper ...

Comment 2 Alexander Kurtakov 2010-02-03 11:41:51 UTC
Comments fixed.
Thanks for the _mavenpomdir. I didn't knew about it.

New sources:
Spec URL: http://akurtakov.fedorapeople.org/cal10n.spec
SRPM URL: http://akurtakov.fedorapeople.org/cal10n-0.7.2-1.fc12.src.rpm

Can you set the fedora-review flag.

Comment 3 Alexander Kurtakov 2010-02-03 11:44:16 UTC
Err, 
New sources:
Spec URL: http://akurtakov.fedorapeople.org/cal10n.spec
SRPM URL: http://akurtakov.fedorapeople.org/cal10n-0.7.2-2.fc12.src.rpm

Comment 4 Mary Ellen Foster 2010-02-03 11:54:38 UTC
Looks good -- you can also use %{_mavenpomdir} in the %files section if you want but that's not a showstopper.

APPROVED.

Comment 5 Alexander Kurtakov 2010-02-03 11:59:12 UTC
New Package CVS Request
=======================
Package Name: cal10n
Short Description: Compiler assisted localization library (CAL10N)
Owners: akurtakov
Branches: 
InitialCC:

Comment 6 Kevin Fenzi 2010-02-04 02:35:57 UTC
CVS done (by process-cvs-requests.py).

Comment 7 Alexander Kurtakov 2010-02-10 10:06:12 UTC
Build in rawhide.
http://koji.fedoraproject.org/koji/buildinfo?buildID=155206


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