Bug 1230149 - Review Request: zathura-pdf-mupdf - PDF support for zathura via mupdf
Summary: Review Request: zathura-pdf-mupdf - PDF support for zathura via mupdf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-10 11:05 UTC by Petr Šabata
Modified: 2015-07-03 08:33 UTC (History)
3 users (show)

Fixed In Version: zathura-pdf-mupdf-0.2.8-3.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-03 08:33:17 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1095455 0 unspecified CLOSED zathura-pdf-mupdf? 2021-02-22 00:41:40 UTC

Internal Links: 1095455

Description Petr Šabata 2015-06-10 11:05:41 UTC
Spec URL: https://psabata.fedorapeople.org/pkgs/zathura-pdf-mupdf/zathura-pdf-mupdf.spec
SRPM URL: https://psabata.fedorapeople.org/pkgs/zathura-pdf-mupdf/zathura-pdf-mupdf-0.2.8-1.fc22.src.rpm
Description: 
This plugin adds PDF support to zathura using the mupdf rendering engine.
Fedora Account System Username: psabata

Comment 1 tuxor 2015-06-23 10:22:34 UTC
You are listing `%{_libdir}/zathura/pdf.so.mupdf` twice (as %ghost and as an ordinary file). I suppose you want to list `%{_libdir}/zathura/pdf.so` as %ghost instead of `%{_libdir}/zathura/pdf.so.mupdf`.

Comment 2 Petr Šabata 2015-06-23 10:51:51 UTC
You're right, thanks.

Comment 4 Zbigniew Jędrzejewski-Szmek 2015-06-30 22:43:22 UTC
- Package installs a %{name}.desktop using desktop-file-install or desktop-
  file-validate if there is such a file.
- update-desktop-database is invoked in %post and %postun if package
  contains desktop file(s) with a MimeType: entry.
  Note: desktop file(s) with MimeType entry in zathura-pdf-mupdf
  See: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-
  database

Looks reasonable. I assume that you know what you are doing with the alternatives here.

Comment 5 Petr Šabata 2015-07-01 14:11:29 UTC
Thanks, updated.  I'll fix the rest of our affected zathura plugins, too.

SPEC: https://psabata.fedorapeople.org/pkgs/zathura-pdf-mupdf/zathura-pdf-mupdf.spec
SRPM: https://psabata.fedorapeople.org/pkgs/zathura-pdf-mupdf/zathura-pdf-mupdf-0.2.8-3.fc22.src.rpm

Comment 6 Zbigniew Jędrzejewski-Szmek 2015-07-01 15:41:59 UTC
OK, looks good, and seems to work (pdf loads :)).

One issue: nothing owns /usr/lib64/zathura. Since all plugin packages depend on zathura, I think it would be best for zathura.rpm to own this directory.

[x] OK
[-] not applicable
[!] issue

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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Unversioned so-files in private %_libdir subdirectory (see
     attachment). Verify they are not in ld path.
OK.

[x]: Package does not contain any libtool archives (.la)
[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]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated". 12 files have unknown license. Detailed
     output of licensecheck in /var/tmp/1230149-zathura-pdf-
     mupdf/licensecheck.txt
[!]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/lib64/zathura
[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/lib64/zathura
See above.

[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: 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]: update-desktop-database is invoked in %post and %postun if package
     contains desktop file(s) with a MimeType: entry.
     Note: desktop file(s) with MimeType entry in zathura-pdf-mupdf
[x]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 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.
[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 %license.
[x]: Package does not own files or directories owned by other packages.
[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 contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-install or
     desktop-file-validate if there is such a file.
[x]: Dist tag is present.
[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 does not use a name that already exists.
[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

Rpmlint
-------
Checking: zathura-pdf-mupdf-0.2.8-3.fc23.x86_64.rpm
          zathura-pdf-mupdf-0.2.8-3.fc23.src.rpm
zathura-pdf-mupdf.x86_64: W: desktopfile-without-binary /usr/share/applications/zathura-pdf-mupdf.desktop zathura
2 packages and 0 specfiles checked; 0 errors, 1 warnings.

Rpmlint (debuginfo)
-------------------
Checking: zathura-pdf-mupdf-debuginfo-0.2.8-3.fc23.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.


Rpmlint (installed packages)
----------------------------
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

Package is APPROVED.

Comment 7 Petr Šabata 2015-07-01 15:50:50 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #6)
> OK, looks good, and seems to work (pdf loads :)).
> 
> One issue: nothing owns /usr/lib64/zathura. Since all plugin packages depend
> on zathura, I think it would be best for zathura.rpm to own this directory.

Yes, that would be reasonable.

> Package is APPROVED.

Thanks!

Comment 8 Petr Šabata 2015-07-01 15:53:26 UTC
New Package SCM Request
=======================
Package Name: zathura-pdf-mupdf
Short Description: PDF support for zathura via mupdf
Upstream URL: http://pwmt.org/projects/zathura/plugins/zathura-pdf-mupdf
Owners: psabata
Branches: 
InitialCC:

Comment 9 Gwyn Ciesla 2015-07-02 18:38:33 UTC
Git done (by process-git-requests).

Comment 10 Petr Šabata 2015-07-03 08:33:17 UTC
Package built in Rawhide.  Thanks.


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