Bug 1092096 - Review Request: jortho - A spell checker for Java
Summary: Review Request: jortho - A spell checker for Java
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 923959 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-28 18:06 UTC by Michael Simacek
Modified: 2014-05-20 11:08 UTC (History)
3 users (show)

Fixed In Version: jortho-1.0-2.fc19
Clone Of:
Environment:
Last Closed: 2014-05-14 23:59:27 UTC
Type: ---
Embargoed:
puntogil: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Michael Simacek 2014-04-28 18:06:57 UTC
Spec URL: http://msimacek.fedorapeople.org/JOrtho.spec
SRPM URL: http://msimacek.fedorapeople.org/JOrtho-1.0-0.fc20.src.rpm
Description: JOrtho is a spell checker for Java. The library works with any
JTextComponent from the Swing framework and checks as you type.
The dictionary is based on the free Wiktionary.org, and is
applicable for multiple languages. You can select the
spell checking language via a context menu. The features
of JOrtho are the highlighting of potentially wrongly spelled words,
a context menu with suggestions for correct forms of the word
and a context menu with option to change the checking language.
At the moment there are eight languages for spell checking available:
English, German, French, Spanish, Italian, Russian, Polish, and Arabic.

Fedora Account System Username: msimacek

Comment 1 hannes 2014-04-28 18:08:38 UTC
*** Bug 923959 has been marked as a duplicate of this bug. ***

Comment 2 Michael Simacek 2014-04-29 14:14:27 UTC
Spec URL: http://msimacek.fedorapeople.org/jortho.spec
SRPM URL: http://msimacek.fedorapeople.org/jortho-1.0-0.fc20.src.rpm

I renamed the package to lowercase to be consistent with other Java packages

Comment 3 gil cattaneo 2014-04-29 21:56:08 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- This seems like a Java package, please install fedora-review-plugin-java to
  get additional checks


===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "GPL (v2 or later) (with incorrect FSF address)". Detailed output of
     licensecheck in /home/gil/1092096-jortho/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package contains no bundled libraries without FPC exception.
[!]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 40960 bytes in 2 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Java:
[x]: Bundled jar/class files should be removed before build

===== SHOULD items =====

Generic:
[x]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in jortho-
     javadoc
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[!]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: jortho-1.0-0.fc21.noarch.rpm
          jortho-javadoc-1.0-0.fc21.noarch.rpm
          jortho-1.0-0.fc21.src.rpm
jortho.noarch: W: incoherent-version-in-changelog 1.0-1 ['1.0-0.fc21', '1.0-0']
jortho.noarch: E: non-standard-dir-perm /usr/share/jortho 0775L
3 packages and 0 specfiles checked; 1 errors, 1 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint jortho jortho-javadoc
jortho.noarch: W: incoherent-version-in-changelog 1.0-1 ['1.0-0.fc21', '1.0-0']
jortho.noarch: E: non-standard-dir-perm /usr/share/jortho 0775L
2 packages and 0 specfiles checked; 1 errors, 1 warnings.
# echo 'rpmlint-done:'



Requires
--------
jortho (rpmlib, GLIBC filtered):
    java-headless
    jpackage-utils

jortho-javadoc (rpmlib, GLIBC filtered):
    jpackage-utils



Provides
--------
jortho:
    jortho
    mvn(com.inet.jortho:jortho)

jortho-javadoc:
    jortho-javadoc



Source checksums
----------------
http://downloads.sourceforge.net/project/jortho/JOrtho Library/1.0/JOrtho_1.0.zip :
  CHECKSUM(SHA256) this package     : fbe9019ced6d13901024948f9f6dcc14a7faf7bafcae841399c0564d0b0456c2
  CHECKSUM(SHA256) upstream package : fbe9019ced6d13901024948f9f6dcc14a7faf7bafcae841399c0564d0b0456c2
http://downloads.sourceforge.net/project/jortho/Dictionaries/2013-03/dictionary_en_2013_03.zip :
  CHECKSUM(SHA256) this package     : 3575cad3eaaa87e69a84cde687397394c430acb7b6e06132fae826cc6f29ddde
  CHECKSUM(SHA256) upstream package : 3575cad3eaaa87e69a84cde687397394c430acb7b6e06132fae826cc6f29ddde


Generated by fedora-review 0.5.1 (bb9bf27) last change: 2013-12-13
Command line :/usr/bin/fedora-review -b 1092096 -m fedora-rawhide-i386
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Shell-api, Java
Disabled plugins: C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG

Comment 4 gil cattaneo 2014-04-29 21:57:39 UTC
Please, fix:
jortho.noarch: W: incoherent-version-in-changelog 1.0-1 ['1.0-0.fc21', '1.0-0']
jortho.noarch: E: non-standard-dir-perm /usr/share/jortho 0775L
use:
mkdir -p %{buildroot}%{_datadir}/%{name}
install -pm 644 dicts/dictionary_en.ortho %{buildroot}%{_datadir}/%{name}/

Comment 5 gil cattaneo 2014-04-29 22:12:15 UTC
more of resources are copied in wrong place
see http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
can you try to change your template pom with

          <resource>
              <directory>src</directory>
              <includes>
                <include>**/*.cnf</include>
                <include>**/*.properties</include>
                <include>**/*.png</include>
              </includes>
              <excludes>
                <exclude>**/*.java</exclude>
                <exclude>**/*.html</exclude>
              </excludes>
          </resource>

Comment 6 Michael Simacek 2014-04-30 18:24:33 UTC
Done. Thanks for suggestions.

Spec URL: http://msimacek.fedorapeople.org/jortho.spec
SRPM URL: http://msimacek.fedorapeople.org/jortho-1.0-1.fc20.src.rpm

Koji scratch-build: http://koji.fedoraproject.org/koji/taskinfo?taskID=6800060

Comment 7 gil cattaneo 2014-04-30 21:47:58 UTC
APPROVED

Comment 8 Michael Simacek 2014-05-01 08:33:13 UTC
Thanks!

New Package SCM Request
=======================
Package Name: jortho
Short Description: A spell checker for Java
Owners: msimacek mizdebsk msrb
Branches: f19 f20
InitialCC: java-sig

Comment 9 Gwyn Ciesla 2014-05-01 11:50:08 UTC
Git done (by process-git-requests).

Comment 10 Fedora Update System 2014-05-01 14:12:43 UTC
jortho-1.0-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/jortho-1.0-1.fc20

Comment 11 Fedora Update System 2014-05-01 14:22:01 UTC
jortho-1.0-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/jortho-1.0-1.fc19

Comment 12 Fedora Update System 2014-05-01 22:20:15 UTC
jortho-1.0-1.fc20 has been pushed to the Fedora 20 testing repository.

Comment 13 Fedora Update System 2014-05-02 15:51:45 UTC
jortho-1.0-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/jortho-1.0-2.fc19

Comment 14 Fedora Update System 2014-05-02 15:52:50 UTC
jortho-1.0-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/jortho-1.0-2.fc20

Comment 15 Fedora Update System 2014-05-14 23:59:27 UTC
jortho-1.0-2.fc20 has been pushed to the Fedora 20 stable repository.

Comment 16 Fedora Update System 2014-05-15 00:00:00 UTC
jortho-1.0-2.fc19 has been pushed to the Fedora 19 stable repository.


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