Bug 1893321 - Review Request: awf-gtk2 - A widget factory is a theme preview application for GTK
Summary: Review Request: awf-gtk2 - A widget factory is a theme preview application fo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-30 17:45 UTC by code@luigifab.fr
Modified: 2021-03-27 01:23 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-03-22 02:09:16 UTC
Type: ---
Embargoed:
eclipseo: fedora-review+


Attachments (Terms of Use)

Description code@luigifab.fr 2020-10-30 17:45:30 UTC
Spec URL: https://gist.githubusercontent.com/luigifab/2befcf27223049ee840fb4a4d1162dab/raw/b5a2457328905935aa3603c59d8875499901a0ec/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/2409/54652409/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=54652407
Description: It displays the various widget types provided by GTK in a single window allowing to see the visual effect of the applied theme. This package include the gtk2 version.
Fedora Account System Username: luigifab

Hello, I requesting a review for my first set of packages, and I need a sponsor.

I'm the upstream developer and the packager.

The program is available here: https://github.com/luigifab/awf-extended (v2.1)
The current request contain the package the next release (v2.2).

Thanks!

Comment 1 Robert-André Mauchin 🐧 2020-11-07 05:01:39 UTC
 - Not needed anymore:

%post
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :

%postun
update-mime-database %{_datadir}/mime &> /dev/null || :
update-desktop-database &> /dev/null || :


 - Not needed:

%defattr(-,root,root,-)

 - Please split your BR one per line:

BuildRequires: gtk2-devel 
BuildRequires: gettext 
BuildRequires: gcc 
BuildRequires: autoconf 
BuildRequires: automake 
BuildRequires: desktop-file-utils

 - Requires:  hicolor-icon-theme to own the icons directories

 - Where does that comes from? there is no version 2.2 to download from Github, it returns 404.

The program is available here: https://github.com/luigifab/awf-extended (v2.1)
The current request contain the package the next release (v2.2).

404 Client Error: Not Found for url: https://github.com/luigifab/awf-extended/releases/download/v2.2.0/awf-gtk2-2.2.0.tar.gz


I need to be able to d/l the archive.

Comment 2 code@luigifab.fr 2020-11-07 13:12:45 UTC
Thanks for your review.
Here are new links with your recommendations.

Spec URL: https://gist.githubusercontent.com/luigifab/2befcf27223049ee840fb4a4d1162dab/raw/a650929af4b30e567f4c530ffa5bd4ca18810e07/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/2244/55112244/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=55112243

The v2.2 is not yet released. I waiting the release date to publish it.
I created a temporary repository with v2.2 sources: https://github.com/luigifab/rpm-tests/tree/master/gtk-awf
With the futur archive: https://github.com/luigifab/rpm-tests/releases/download/v2.2.0/awf-2.2.0.tar.gz
Yes, this is not exactly that you want. I will update the main repository 11/11/2020.

Comment 3 Robert-André Mauchin 🐧 2020-11-08 07:09:04 UTC
Package approved. You still need to find a sponsor.


Package Review
==============

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



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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[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]: 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]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GNU General Public License". 16 files
     have unknown license. Detailed output of licensecheck in
     /home/bob/packaging/review/awf-gtk3/review-awf-gtk3/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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]: The spec file handles locales properly.
[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]: Useful -debuginfo package or justification otherwise.
[-]: Package is not known to require an ExcludeArch tag.
[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]: Package requires other packages for directories it uses.
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[-]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: 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]: 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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Package should not use obsolete m4 macros
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: awf-gtk3-2.2.0-1.fc34.x86_64.rpm
          awf-gtk3-debuginfo-2.2.0-1.fc34.x86_64.rpm
          awf-gtk3-debugsource-2.2.0-1.fc34.x86_64.rpm
          awf-gtk3-2.2.0-1.fc34.src.rpm
awf-gtk3.x86_64: E: changelog-time-in-future 2020-11-11
awf-gtk3.x86_64: W: no-documentation
awf-gtk3.x86_64: W: no-manual-page-for-binary awf-gtk3
awf-gtk3-debuginfo.x86_64: E: changelog-time-in-future 2020-11-11
awf-gtk3-debugsource.x86_64: E: changelog-time-in-future 2020-11-11
awf-gtk3.src: E: changelog-time-in-future 2020-11-11
awf-gtk3.src: W: invalid-url Source0: awf-gtk3-2.2.0.tar.gz
4 packages and 0 specfiles checked; 4 errors, 3 warnings.

Comment 4 Robert-André Mauchin 🐧 2020-11-08 07:10:22 UTC
Wrong tab sorry.

Comment 5 Robert-André Mauchin 🐧 2020-11-08 08:04:20 UTC
Package approved. You still need to find a sponsor.

Package Review
==============

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



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

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[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]: 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]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "GNU General Public License". 16 files
     have unknown license. Detailed output of licensecheck in
     /home/bob/packaging/review/awf-gtk2/review-awf-gtk2/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[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]: The spec file handles locales properly.
[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]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[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]: Package requires other packages for directories it uses.
[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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

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

Generic:
[-]: 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).
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: 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]: 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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

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

Generic:
[x]: Rpmlint is run on debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Package should not use obsolete m4 macros
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: awf-gtk2-2.2.0-1.fc34.x86_64.rpm
          awf-gtk2-debuginfo-2.2.0-1.fc34.x86_64.rpm
          awf-gtk2-debugsource-2.2.0-1.fc34.x86_64.rpm
          awf-gtk2-2.2.0-1.fc34.src.rpm
awf-gtk2.x86_64: E: changelog-time-in-future 2020-11-11
awf-gtk2.x86_64: W: no-documentation
awf-gtk2.x86_64: W: no-manual-page-for-binary awf-gtk2
awf-gtk2-debuginfo.x86_64: E: changelog-time-in-future 2020-11-11
awf-gtk2-debugsource.x86_64: E: changelog-time-in-future 2020-11-11
awf-gtk2.src: E: changelog-time-in-future 2020-11-11
awf-gtk2.src: W: invalid-url Source0: awf-gtk2-2.2.0.tar.gz
4 packages and 0 specfiles checked; 4 errors, 3 warnings.

Comment 6 code@luigifab.fr 2020-11-08 13:18:47 UTC
Thank you very much!

I see an interesting thing in the SHOULD list: "Description and summary sections in the package spec file contains translations for supported Non-English languages, if available.". So I updated my work:

Spec URL: https://gist.githubusercontent.com/luigifab/2befcf27223049ee840fb4a4d1162dab/raw/f985d411ed283da78a6304712bd3b032f46ffe83/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/4819/55164819/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=55164810

Now, I hope to find a sponsor :)

Comment 7 code@luigifab.fr 2020-11-11 11:29:45 UTC
Sorry for this not really usefull message, but I updated the main repo with 2.2.0 final.
SPEC URL: https://github.com/luigifab/awf-extended/blob/v2.2.0/fedora-gtk2/awf-gtk2.spec

Comment 8 code@luigifab.fr 2020-11-16 08:25:35 UTC
I read more docs, and thanks to Andy (in another package), I fixed many things for this package.
There is a big mistake before, because I did not publish awf-gtk2-2.2.0.tar.gz but only awf-2.2.0.tar.gz.

So I fixed my spec file. What's new?
- Source0
- Source1
- %{expand: ... } for %description
- -n awf-%{version} for %setup and %autosetup
- some configuration to build only with gtk2 in %build
- msgfmt to create mo file in %install

I updated the main repository.
Spec URL: https://github.com/luigifab/awf-extended/raw/levelup/fedora-gtk2/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/3107/55673107/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=55673105

I hope it is better.
Sorry for my multiple attempts.

Comment 9 code@luigifab.fr 2020-11-17 17:55:44 UTC
Here is a new build with missing:
- %license LICENSE
- %doc README.md
- Source2

Spec URL: https://github.com/luigifab/awf-extended/raw/levelup/fedora-gtk2/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/4726/55754726/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=55754719

I'm not gifted!

Comment 10 code@luigifab.fr 2020-11-19 20:09:11 UTC
Here is new build without Source1/Source2 (Andy suggestion), but with a different source archive.

Spec URL: https://github.com/luigifab/awf-extended/raw/levelup/fedora-gtk2/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/8855/55898855/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=55898854

Comment 11 code@luigifab.fr 2020-11-29 11:31:43 UTC
Here is new build, I moved desktop file from debian-gtk2 to applications directory.

Spec URL: https://github.com/luigifab/awf-extended/raw/levelup/fedora-gtk2/awf-gtk2.spec
SRPM URL: https://kojipkgs.fedoraproject.org//work/tasks/6276/56396276/awf-gtk2-2.2.0-1.fc32.src.rpm
KOJI BUILD: https://koji.fedoraproject.org/koji/taskinfo?taskID=56396275

Comment 12 Robert-André Mauchin 🐧 2021-03-17 14:15:55 UTC
Sponsored + flag refresh

Comment 13 Tomas Hrcka 2021-03-17 20:09:39 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/awf-gtk2

Comment 14 Fedora Update System 2021-03-18 19:00:45 UTC
FEDORA-2021-8c9f681ae0 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8c9f681ae0

Comment 15 Fedora Update System 2021-03-18 19:01:52 UTC
FEDORA-2021-dd2eb32c3c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dd2eb32c3c

Comment 16 Fedora Update System 2021-03-18 19:02:20 UTC
FEDORA-2021-fe69842a34 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-fe69842a34

Comment 17 Fedora Update System 2021-03-18 21:49:06 UTC
FEDORA-2021-8c9f681ae0 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-8c9f681ae0 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8c9f681ae0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2021-03-19 19:30:36 UTC
FEDORA-2021-fe69842a34 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-fe69842a34 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-fe69842a34

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Fedora Update System 2021-03-19 19:38:30 UTC
FEDORA-2021-dd2eb32c3c has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-dd2eb32c3c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dd2eb32c3c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2021-03-22 02:09:16 UTC
FEDORA-2021-8c9f681ae0 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2021-03-27 01:10:34 UTC
FEDORA-2021-dd2eb32c3c has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2021-03-27 01:23:32 UTC
FEDORA-2021-fe69842a34 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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