Bug 718502 - Review Request: Temperature.app - Window Maker applet which fetches local temperature information
Summary: Review Request: Temperature.app - Window Maker applet which fetches local tem...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-03 16:30 UTC by Mario Blättermann
Modified: 2012-01-23 22:02 UTC (History)
3 users (show)

Fixed In Version: Temperature.app-1.5-8.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 22:02:44 UTC
Type: ---
Embargoed:
pikachu.2014: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Mario Blättermann 2011-07-03 16:30:33 UTC
Spec URL: http://mariobl.fedorapeople.org/Review/SPECS/Temperature.app.spec
SRPM URL: http://mariobl.fedorapeople.org/Review/SRPMS/Temperature.app-1.5-1.fc15.src.rpm
Description:
Temperature.app is a Window Maker applet which fetches local temperature
information every 15 minutes from http://weather.noaa.gov and displays it
(in Celsius or Fahrenheit).

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

Comment 1 Mario Blättermann 2011-07-03 17:04:21 UTC
I've just written a manpage to make rpmlint happy and added it to the package:

Spec URL: http://mariobl.fedorapeople.org/Review/SPECS/Temperature.app.spec
SRPM URL:
http://mariobl.fedorapeople.org/Review/SRPMS/Temperature.app-1.5-2.fc15.src.rpm

Comment 2 Mario Blättermann 2011-07-04 19:08:47 UTC
The "Group" tag was missing. New files:

Spec URL: http://mariobl.fedorapeople.org/Review/SPECS/Temperature.app.spec
SRPM URL:
http://mariobl.fedorapeople.org/Review/SRPMS/Temperature.app-1.5-3.fc15.src.rpm

Comment 3 Mario Blättermann 2011-07-17 16:19:17 UTC
I've completed and tweaked the manpage a bit:

Spec URL: http://mariobl.fedorapeople.org/Review/SPECS/Temperature.app.spec
SRPM URL:
http://mariobl.fedorapeople.org/Review/SRPMS/Temperature.app-1.5-4.fc15.src.rpm

Comment 4 Mohamed El Morabity 2011-11-20 02:15:37 UTC
The packaging looks quite good and the application seems to work.
Anyway:
- dockapps.org seems dead unfortunately; is there an alternate place where the WM applet are now available?
- in %install, you don't have to refer to %{_builddir} to manually install files:
      install -p -m 755 %{name} %{buildroot}%{_bindir}
   You can even discard all the mkdir commands, since install can create the destination directories on the fly:
       %install
       install -D -p -m 755 %{name} %{buildroot}%{_bindir}/%{name}
       install -D -p -m 755 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1.gz
- about the man page: where does it come from? If you didn't write it, you should specify its source.

Comment 5 Mario Blättermann 2011-11-20 22:48:08 UTC
Here's the new spec:
http://mariobl.fedorapeople.org/Review/SPECS/Temperature.app.spec

But there remains the problem with the dead source location. The dockapps.org registration is expired, and the domain has been moved to a domain parking system, that's why I don't expect to get it back in the nearest future. In other cases, I've used the source pool at the Debian servers, but there's no such package. Well, there's another pool for unmaintained dockapps at http://repo.or.cz/w/dockapps.git, perhaps I should use it. It also includes some bugfixes, seems to be the best way for me.

Comment 6 Mohamed El Morabity 2011-12-01 00:17:05 UTC
(In reply to comment #5)
> Well, there's another pool for unmaintained dockapps at
> http://repo.or.cz/w/dockapps.git, perhaps I should use it. It also includes
> some bugfixes, seems to be the best way for me.
That seems good to me too. That's a guarantee to have maintained sources.

Comment 7 Mario Blättermann 2011-12-14 13:57:56 UTC
The download URL is up again! It's now a subdomain of windowmaker.org.

New spec:
http://mariobl.fedorapeople.org/Review/SPECS/Temperature.app.spec

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

Comment 8 Mohamed El Morabity 2011-12-16 10:56:36 UTC
(In reply to comment #7)
> The download URL is up again! It's now a subdomain of windowmaker.org.
Great news :)

About the man page: you should provide it uncompressed: when building a RPM, man pages are automatically compressed.

Comment 10 Mohamed El Morabity 2011-12-29 22:50:11 UTC
Here is the review:

 +:ok, =:needs attention, -:needs fixing

MUST Items:

[-] MUST: rpmlint must be run on every package.
Temperature.app.src: I: enchant-dictionary-not-found de
Temperature.app.src: W: invalid-url URL: http://www.dockapps.windowmaker.org/file.php/id/86 <urlopen error [Errno -2] Name or service not known>
Temperature.app.src: W: invalid-url Source0: http://www.dockapps.windowmaker.org/download.php/id/816/Temperature.app-1.5.tar.gz <urlopen error [Errno -2] Name or service not known>
Temperature.app.x86_64: W: invalid-url URL: http://www.dockapps.windowmaker.org/file.php/id/86 <urlopen error [Errno -2] Name or service not known>
Temperature.app.x86_64: W: spurious-executable-perm /usr/share/man/man1/Temperature.app.1.gz
Temperature.app.x86_64: E: incorrect-fsf-address /usr/share/doc/Temperature.app-1.5/COPYING
Temperature.app-debuginfo.x86_64: W: invalid-url URL: http://www.dockapps.windowmaker.org/file.php/id/86 <urlopen error [Errno -2] Name or service not known>
Temperature.app-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Temperature.app-1.5/Xpm.cc
Temperature.app-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Temperature.app-1.5/Xpm.h
Temperature.app-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Temperature.app-1.5/Temperature.h
Temperature.app-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Temperature.app-1.5/Temperature.cc
Temperature.app-debuginfo.x86_64: E: incorrect-fsf-address /usr/src/debug/Temperature.app-1.5/Main.cc
3 packages and 0 specfiles checked; 6 errors, 5 warnings.
>>The warnings can be safely ignored, except  the one about the permissions on Temperature.app; fix it as below in %install:
   install -D -p -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
>>The source URL must be fixed too : it has no « www » in fact.

[+] MUST: The package must be named according to the Package Naming Guidelines.

[+] MUST: The spec file name must match the base package %{name}

[+] MUST: The package must meet the Packaging Guidelines.

[+] MUST: The package must be licensed with a Fedora approved license and meet
the Licensing Guidelines.

[+] MUST: The License field in the package spec file must match the actual
license.

[+] MUST: 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 must be included in %doc.

[+] MUST: The spec file must be written in American English.

[+] MUST: The spec file for the package MUST be legible.

[+] MUST: The sources used to build the package must match the upstream source,
as provided in the spec URL.
>>MD5 sum=e8d294085ebbe062f0d7b02dfb1d1071 OK

[+] MUST: The package must successfully compile and build into binary rpms on
at least one supported architecture.

[+] MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.

[+] MUST: All build dependencies must be listed in BuildRequires

[+] MUST: The spec file MUST handle locales properly. This is done by using the
%find_lang macro.

[+] MUST: Every binary RPM package which stores shared library files (not just
symlinks) in any of the dynamic linker's default paths, must call ldconfig in
%post and %postun.

[+] MUST: If the package is designed to be relocatable, the packager must state
this fact in the request for review

[+] MUST: A package must own all directories that it creates. If it does not
create a directory that it uses, then it should require a package which does
create that directory.

[+] MUST: A package must not contain any duplicate files in the %files listing.

[+] MUST: Permissions on files must be set properly. Executables should be set
with executable permissions, for example.

[+] MUST: Each package must consistently use macros, as described in the macros
section of Packaging Guidelines.

[+] MUST: The package must contain code, or permissible content. This is
described in detail in the code vs. content section of Packaging Guidelines.

[+] MUST: Large documentation files should go in a doc subpackage.

[+] MUST: If a package includes something as %doc, it must not affect the
runtime of the application.

[+] MUST: Header files must be in a -devel package.

[+] MUST: Static libraries must be in a -static package.

[+] MUST: If a package contains library files with a suffix (e.g.
libfoo.so.1.1), then library files that end in .so (without suffix) must go in
a -devel package.

[+] MUST: In the vast majority of cases, devel packages must require the base
package using a fully versioned dependency: Requires: %{name} =
%{version}-%{release} 

[+] MUST: Packages must NOT contain any .la libtool archives, these should be
removed in the spec.

[+] MUST: Packages containing GUI applications must include a %{name}.desktop
file, and that file must be properly installed with desktop-file-install in the
%install section.

[+] MUST: Packages must not own files or directories already owned by other
packages.

[+] MUST: All filenames in rpm packages must be valid UTF-8.

Once the source URL fixed and the permissions on the man page fixed, I will approve your package.

Comment 12 Mohamed El Morabity 2012-01-08 12:23:31 UTC
APPROVED

Comment 13 Mario Blättermann 2012-01-08 13:00:52 UTC
Many thanks for your approval!

Comment 14 Mario Blättermann 2012-01-08 13:05:06 UTC
New Package SCM Request
=======================
Package Name: Temperature.app
Short Description: Window Maker applet which fetches local temperature information
Owners: mariobl
Branches: f16

Comment 15 Gwyn Ciesla 2012-01-08 22:05:30 UTC
Git done (by process-git-requests).

Comment 16 Fedora Update System 2012-01-13 22:10:09 UTC
Temperature.app-1.5-8.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/Temperature.app-1.5-8.fc16

Comment 17 Fedora Update System 2012-01-15 20:05:08 UTC
Temperature.app-1.5-8.fc16 has been pushed to the Fedora 16 testing repository.

Comment 18 Fedora Update System 2012-01-23 22:02:44 UTC
Temperature.app-1.5-8.fc16 has been pushed to the Fedora 16 stable repository.


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