Spec URL: http://mso.fedorapeople.org/packages/SPECS/tagainijisho.spec SRPM URL: http://mso.fedorapeople.org/packages/SRPMS/tagainijisho-0.9.4-1.fc17.src.rpm Description: A free Japanese dictionary and study assistant Fedora Account System Username: mso
Dictionaries are split by language into sub-packages, at least one needs to be present, so I use virtual provides for them. As for rpmlint output: tagainijisho.i686: W: spelling-error %description -l en_US Tagaini -> Again name of the program tagainijisho.i686: W: spelling-error %description -l en_US kanji -> Kantian kanji=chinese characters tagainijisho.i686: W: spelling-error %description -l en_US lookup -> lockup, hookup, look up my dictionary (New Oxford American Dictionary) contains this word tagainijisho.i686: E: zero-length /usr/share/tagainijisho/detailed_default.html tagainijisho.i686: E: zero-length /usr/share/tagainijisho/detailed_jmdict.css these files seem to be needed, but I'm not 100% sure.
Missed BRs, otherwise not built in mock: BuildRequires: sqlite-devel BuildRequires: desktop-file-utils And you may remove the bundled sqlite '3rdparty/sqlite' explicitly.
Thanks for picking it up. I've added the BRs and removed (in prep section) the bundled sqlite. This time to be sure I haven't missed any BRs I ran a scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=4868822 New SPEC: http://mso.fedorapeople.org/packages/SPECS/tagainijisho.spec New SRPM: http://mso.fedorapeople.org/packages/SRPMS/tagainijisho-0.9.4-2.fc17.src.rpm
Package Review ============== Key: [x] = Pass [!] = Fail [-] = Not applicable [?] = Not evaluated [ ] = Manual review needed ===== MUST items ===== C/C++: [x]: Header files in -devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: Rpath absent or only used for internal libs. 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]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [x]: Package contains no bundled libraries. [x]: Changelog in prescribed format. [!]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. Note: rm -rf %{buildroot} present but not required [x]: Sources contain only permissible code or content. [x]: Each %files section contains %defattr if rpm < 4.4 [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktop-file-install if there is such a file. [-]: Development files must be in a -devel package [x]: Package requires other packages for directories it uses. [x]: Package uses nothing in %doc for runtime. [x]: Package is not known to require ExcludeArch. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Fully versioned dependency in subpackages, if present. [x]: Package complies to the Packaging Guidelines [x]: Spec file lacks Packager, Vendor, PreReq tags. [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. [!]: License field in the package spec file matches the actual license. Note: JMdict and kanjidic2 is licensed under CC-BY-SA. Upstream statement: http://www.edrdg.org/edrdg/licence.html So the main package License should be 'GPLv3+ and CC-BY-SA', and the License of dic packages should be 'CC-BY-SA'. [x]: License file installed when any subpackage combination is installed. [x]: Package consistently uses macro is (instead of hard-coded directory names). [x]: Package is named using only allowed ASCII characters. [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package do not use a name that already exist [x]: Package obeys FHS, except libexecdir and /usr/target. [x]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: Package installs properly. [x]: Package is not relocatable. [x]: Requires correct, justified where necessary. [x]: CheckResultdir [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file is legible and written in American English. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [-]: Package contains systemd file(s) if in need. [x]: File names are valid UTF-8. [x]: Useful -debuginfo package or justification otherwise. [x]: Large documentation must go in a -doc subpackage. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [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]: 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]: Dist tag is present. [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Final provides and requires are sane (rpm -q --provides and rpm -q --requires). [x]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [x]: The placement of pkgconfig(.pc) files are correct. [x]: Scriptlets must be sane, if used. [x]: SourceX tarball generation or download is documented. [x]: SourceX / PatchY prefixed with %{name}. [x]: SourceX is a working URL. [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. [-]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Spec use %global instead of %define. ===== 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. [!]: Large data in /usr/share should live in a noarch subpackage if package is arched. Note: Arch-ed rpms have a total of 66068480 bytes in /usr/share 66068480 tagainijisho-0.9.4-2.fc19.x86_64.rpm %{_datadir}/%{name} directory can be packaged into a separate noarch subpackage like %{name}-common. And %{name} and %{name}-common can require each other. Rpmlint ------- Checking: tagainijisho-dic-fr-0.9.4-2.fc19.noarch.rpm tagainijisho-dic-de-0.9.4-2.fc19.noarch.rpm tagainijisho-dic-tr-0.9.4-2.fc19.noarch.rpm tagainijisho-debuginfo-0.9.4-2.fc19.x86_64.rpm tagainijisho-dic-en-0.9.4-2.fc19.noarch.rpm tagainijisho-0.9.4-2.fc19.x86_64.rpm tagainijisho-dic-es-0.9.4-2.fc19.noarch.rpm tagainijisho-dic-it-0.9.4-2.fc19.noarch.rpm tagainijisho-dic-ru-0.9.4-2.fc19.noarch.rpm tagainijisho-0.9.4-2.fc19.src.rpm tagainijisho-dic-pt-0.9.4-2.fc19.noarch.rpm tagainijisho-dic-th-0.9.4-2.fc19.noarch.rpm tagainijisho-dic-fr.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-fr.noarch: W: no-documentation tagainijisho-dic-de.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-de.noarch: W: no-documentation tagainijisho-dic-tr.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-tr.noarch: W: no-documentation tagainijisho-dic-en.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-en.noarch: W: no-documentation tagainijisho.x86_64: W: spelling-error %description -l en_US Tagaini -> Again tagainijisho.x86_64: W: spelling-error %description -l en_US kanji -> Kantian tagainijisho.x86_64: W: spelling-error %description -l en_US lookup -> lockup, hookup, look up tagainijisho.x86_64: E: zero-length /usr/share/tagainijisho/detailed_default.html tagainijisho.x86_64: E: zero-length /usr/share/tagainijisho/detailed_jmdict.css tagainijisho.x86_64: W: no-manual-page-for-binary tagainijisho tagainijisho-dic-es.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-es.noarch: W: no-documentation tagainijisho-dic-it.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-it.noarch: W: no-documentation tagainijisho-dic-ru.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-ru.noarch: W: no-documentation tagainijisho.src: W: spelling-error %description -l en_US Tagaini -> Again tagainijisho.src: W: spelling-error %description -l en_US kanji -> Kantian tagainijisho.src: W: spelling-error %description -l en_US lookup -> lockup, hookup, look up tagainijisho-dic-pt.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-pt.noarch: W: no-documentation tagainijisho-dic-th.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-th.noarch: W: no-documentation 12 packages and 0 specfiles checked; 2 errors, 25 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint tagainijisho-dic-th tagainijisho-dic-fr tagainijisho-debuginfo tagainijisho-dic-pt tagainijisho-dic-es tagainijisho-dic-it tagainijisho-dic-e n tagainijisho-dic-ru tagainijisho-dic-tr tagainijisho-dic-de tagainijisho tagainijisho-dic-th.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-th.noarch: W: no-documentation tagainijisho-dic-fr.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-fr.noarch: W: no-documentation tagainijisho-dic-pt.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-pt.noarch: W: no-documentation tagainijisho-dic-es.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-es.noarch: W: no-documentation tagainijisho-dic-it.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-it.noarch: W: no-documentation tagainijisho-dic-en.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-en.noarch: W: no-documentation tagainijisho-dic-ru.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-ru.noarch: W: no-documentation tagainijisho-dic-tr.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-tr.noarch: W: no-documentation tagainijisho-dic-de.noarch: W: spelling-error Summary(en_US) Tagaini -> Again tagainijisho-dic-de.noarch: W: no-documentation tagainijisho.x86_64: W: spelling-error %description -l en_US Tagaini -> Again tagainijisho.x86_64: W: spelling-error %description -l en_US kanji -> Kantian tagainijisho.x86_64: W: spelling-error %description -l en_US lookup -> lockup, hookup, look up tagainijisho.x86_64: E: zero-length /usr/share/tagainijisho/detailed_default.html tagainijisho.x86_64: E: zero-length /usr/share/tagainijisho/detailed_jmdict.css tagainijisho.x86_64: W: no-manual-page-for-binary tagainijisho 11 packages and 0 specfiles checked; 2 errors, 22 warnings. # echo 'rpmlint-done:' Requires -------- tagainijisho-dic-fr-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-dic-de-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-dic-tr-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-debuginfo-0.9.4-2.fc19.x86_64.rpm (rpmlib, GLIBC filtered): tagainijisho-dic-en-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-0.9.4-2.fc19.x86_64.rpm (rpmlib, GLIBC filtered): /bin/sh libQtCore.so.4()(64bit) libQtGui.so.4()(64bit) libQtNetwork.so.4()(64bit) libc.so.6()(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) rtld(GNU_HASH) tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-es-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-dic-it-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-dic-ru-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-dic-pt-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 tagainijisho-dic-th-0.9.4-2.fc19.noarch.rpm (rpmlib, GLIBC filtered): tagainijisho = 0.9.4-2.fc19 Provides -------- tagainijisho-dic-fr-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-fr = 0.9.4-2.fc19 tagainijisho-dic-de-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-de = 0.9.4-2.fc19 tagainijisho-dic-tr-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-tr = 0.9.4-2.fc19 tagainijisho-debuginfo-0.9.4-2.fc19.x86_64.rpm: tagainijisho-debuginfo = 0.9.4-2.fc19 tagainijisho-debuginfo(x86-64) = 0.9.4-2.fc19 tagainijisho-dic-en-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-en = 0.9.4-2.fc19 tagainijisho-0.9.4-2.fc19.x86_64.rpm: tagainijisho = 0.9.4-2.fc19 tagainijisho(x86-64) = 0.9.4-2.fc19 tagainijisho-dic-es-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-es = 0.9.4-2.fc19 tagainijisho-dic-it-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-it = 0.9.4-2.fc19 tagainijisho-dic-ru-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-ru = 0.9.4-2.fc19 tagainijisho-dic-pt-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-pt = 0.9.4-2.fc19 tagainijisho-dic-th-0.9.4-2.fc19.noarch.rpm: tagainijisho-dic = 0.9.4-2.fc19 tagainijisho-dic-th = 0.9.4-2.fc19 SHA256-sum check ------------- https://github.com/downloads/Gnurou/tagainijisho/tagainijisho-0.9.4.tar.gz : CHECKSUM(SHA256) this package : 61b840d1252c459d1130c24dfa7883b50ced513e076cf31388c88ab5eca4f0e0 CHECKSUM(SHA256) upstream package : 61b840d1252c459d1130c24dfa7883b50ced513e076cf31388c88ab5eca4f0e0 Generated by fedora-review 0.3.1 (b71abc1) last change: 2012-10-16 Buildroot used: fedora-rawhide-x86_64 Command line :/usr/bin/fedora-review -b 893566 ===== Other comments ===== * Remember to add the dic packages to proper language comps, so that yum-langpacks can work as usaul. Sorry for my late reply. Pretty busy month.
(In reply to comment #4) > [!]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the > beginning of %install. > Note: rm -rf %{buildroot} present but not required Fixed. > [!]: License field in the package spec file matches the actual license. > > Note: JMdict and kanjidic2 is licensed under CC-BY-SA. Upstream > statement: > http://www.edrdg.org/edrdg/licence.html > > So the main package License should be 'GPLv3+ and CC-BY-SA', and the > License of dic packages should be 'CC-BY-SA'. Fixed. (Also the db files moved to noarch subpackage as mentioned bellow, by the docs and some of the icons are CC-BY-SA as well, so leaving that there as well). > [!]: Large data in /usr/share should live in a noarch subpackage if package > is > arched. > Note: Arch-ed rpms have a total of 66068480 bytes in /usr/share 66068480 > tagainijisho-0.9.4-2.fc19.x86_64.rpm > > %{_datadir}/%{name} directory can be packaged into a separate noarch > subpackage like %{name}-common. And %{name} and %{name}-common can require > each other. I moved the main jmdict and kanjidic2 database file to %{name}-common and made the language specific databases' subpackages depend on that instead. > tagainijisho-dic-fr.noarch: W: spelling-error Summary(en_US) Tagaini -> Again > tagainijisho-dic-fr.noarch: W: no-documentation Tagaini is program name. > tagainijisho.x86_64: W: spelling-error %description -l en_US Tagaini -> Again > tagainijisho.x86_64: W: spelling-error %description -l en_US kanji -> Kantian kanji the name of the Japanese characters > tagainijisho.x86_64: W: spelling-error %description -l en_US lookup -> Missing in the dictionary? See e.g. http://www.merriam-webster.com/dictionary/lookup > tagainijisho.x86_64: E: zero-length > /usr/share/tagainijisho/detailed_default.html > tagainijisho.x86_64: E: zero-length > /usr/share/tagainijisho/detailed_jmdict.css I'm not 100% sure if it would work fully correctly without them. > tagainijisho.x86_64: W: no-manual-page-for-binary tagainijisho GUI app, does not have any. > ===== Other comments ===== > * Remember to add the dic packages to proper language comps, so that > yum-langpacks can work as usaul. Thanks for the reminder. New SPEC: http://mso.fedorapeople.org/packages/SPECS/tagainijisho.spec New SRPM: http://mso.fedorapeople.org/packages/SRPMS/tagainijisho-0.9.4-3.fc18.src.rpm
[!]: Package does not include license text files separate from upstream. Note: Source1 and Source2 are not needed. * If all the 'CC-BY-SA' data is moved to %{name}-common, the main package can be left as GPLv3+ [!] The description of %{name}-common is wrong.
(In reply to comment #6) > [!]: Package does not include license text files separate from upstream. > Note: Source1 and Source2 are not needed. Yes. Removed. > * If all the 'CC-BY-SA' data is moved to %{name}-common, the main package > can be left as GPLv3+ Cannot be done -> the CC-BY-SA icons seem to be linked into the binary. > [!] The description of %{name}-common is wrong. Fixed. New SPEC: http://mso.fedorapeople.org/packages/SPECS/tagainijisho.spec New SRPM: http://mso.fedorapeople.org/packages/SRPMS/tagainijisho-0.9.4-4.fc18.src.rpm
Approved by cheeselee.
New Package SCM Request ======================= Package Name: tagainijisho Short Description: A free Japanese dictionary and study assistant Owners: mso Branches: f17 f18 InitialCC:
Git done (by process-git-requests).
tagainijisho-0.9.4-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/tagainijisho-0.9.4-4.fc18
tagainijisho-0.9.4-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/tagainijisho-0.9.4-4.fc17
tagainijisho-0.9.4-4.fc18 has been pushed to the Fedora 18 testing repository.
tagainijisho-0.9.4-5.fc17 has been pushed to the Fedora 17 stable repository.
tagainijisho-0.9.4-5.fc18 has been pushed to the Fedora 18 stable repository.
Package Change Request ====================== Package Name: tagainijisho New Branches: epel7 Owners: mso
tagainijisho-1.0.3-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/tagainijisho-1.0.3-1.el7
tagainijisho-1.0.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository.