Bug 689685 - Review Request: anchorman - The recording studio in-a-box
Summary: Review Request: anchorman - The recording studio in-a-box
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-22 05:47 UTC by Torrie Fischer
Modified: 2011-11-10 17:29 UTC (History)
7 users (show)

Fixed In Version: anchorman-0.0.1-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-10 17:29:27 UTC
Type: ---
Embargoed:
rdieter: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)

Description Torrie Fischer 2011-03-22 05:47:58 UTC
Spec URL: http://tdfischer.fedorapeople.org/anchorman.spec
SRPM URL: http://tdfischer.fedorapeople.org/anchorman-0.0.1-1.fc14.src.rpm
Description, from my spec file:

> Ever wanted to run your own recording studio? Need to handle multiple streams of
> audio, video, and possibly even subtitles? Anchorman can't do that. Yet.
> However, it can stream a webcam to an icecast server. Included is support for
> suspending/resuming the stream when the device is inserted/removed.

Anchorman is a small program that waits for a webcam to be attached. Once attached, the camera stream is sent off to an icecast or shoutcast server for broadcasting. The stream stops once the camera is removed.

This is my first package (and first release of anchorman), so I need a sponsor. More features will be coming to anchorman when I have the time to write them.

In case it isn't clear, I am upstream for anchorman.

Comment 1 Elad Alfassa 2011-03-28 13:37:23 UTC
I'll do an unofficial review.

Comment 2 Elad Alfassa 2011-03-28 14:25:21 UTC
+ Package meets naming and packaging guidelines
+ Spec file matches base package name.
? Spec has consistent macro usage.
? Meets Packaging Guidelines.
+ License
+ License field in spec matches
+ License file included in package
+ Spec in American English
+ Spec is legible.
? Sources match upstream md5sum:

- Package needs ExcludeArch
? BuildRequires correct
- Spec handles locales/find_lang
- Package is relocatable and has a reason to be.
+ Package has %defattr and permissions on files is good.
+ Package has a correct %clean section.
+ Package has correct buildroot
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+ Package is code or permissible content.
- Doc subpackage needed/used.
+ Packages %doc files don't affect runtime.

- Headers/static libs in -devel subpackage.
- Spec has needed ldconfig in post and postun
- .pc files in -devel subpackage/requires pkgconfig
- .so files in -devel subpackage.
- -devel package Requires: %{name} = %{version}-%{release}
- .la files are removed.

- Package is a GUI app and has a .desktop file

+ Package compiles and builds on at least one arch.
- Package has no duplicate files in %files.
+ Package doesn't own any directories other packages own.
+ Package owns all the directories it creates.
+ No rpmlint output. (Only spelling warnings, which are wrong)
- final provides and requires are sane:

SHOULD Items:

- Should build in mock.
- Should build on all supported archs
- Should function as described.
- Should have sane scriptlets.
- Should have subpackages require base package with fully versioned depend.
+ Should have dist tag
+ Should package latest version

Issues:

1.Replace every instance of anchorman with %{name}
2.Replace the version in the source URL to %{version}
3.Use %{_bindir} instead of /usr/bin
4.BuildRequires missing: gcc-c++ (cmake didn't want to configure without this package installed)
4.Please provide md5 sum for released tarball.

Warnings:
1.Clean section is not required for Fedora 13 or above
2.I think you should change the summary, it does not matching the description (it's a webcam streaming application, not a recording studio)
3.Your test section is broken, It outputs
*********************************
No test configuration file found!
*********************************
and then the usage information.
4.(Not directly related to the review): Your project's fedorahosted page lists the wrong link for anonymous git access.

Please fix these errors and warnings, and update the spec and SRPM accordingly.

Comment 3 Elad Alfassa 2011-03-28 16:59:59 UTC
Forgot to mention:
+ = OK
- = NA
? = issue

Comment 4 Trever Fischer 2011-04-05 19:39:41 UTC
Issues fixed. Updated SRPM and .spec file uploaded.

Comment 5 Elad Alfassa 2011-04-06 05:37:52 UTC
(In reply to comment #4)
> Issues fixed. Updated SRPM and .spec file uploaded.
Uploaded to where exactly? 
Please update the spec (use the same link you used before) and upload a new SRPM. Don't forget to bump the release and add a changelog entry for every change you make.

Comment 6 David Nalley 2011-04-10 04:23:05 UTC
You don't need gcc-c++ as a BR: 
http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2

Comment 7 Rex Dieter 2011-04-18 19:13:38 UTC
I can review/sponsor here, as promised.

Comment 8 Rex Dieter 2011-04-18 19:25:37 UTC
1.
As mentioned in comment #6, 
BR: gcc-c++ 
should be dropped.

Scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3009270

sources ok
ba211b882225cec7a85923b0d626ef57  anchorman-0.0.1.tar.gz


rpmlint *.rpm x86_64/*.rpm
anchorman.src: W: spelling-error %description -l en_US webcam -> web cam, web-cam, webcast
anchorman.src: W: spelling-error %description -l en_US icecast -> ice cast, ice-cast, icecap
anchorman.x86_64: W: spelling-error %description -l en_US webcam -> web cam, web-cam, webcast
anchorman.x86_64: W: spelling-error %description -l en_US icecast -> ice cast, ice-cast, icecap
anchorman.x86_64: W: no-manual-page-for-binary anchorman
3 packages and 0 specfiles checked; 0 errors, 5 warnings.

mostly harmless here.


licensing: ok
naming: ok
scriptlets: n/a

runtime:  naively running the binary (without option or webcam hardware present), gives me a segfault, but we can let that slide being a very new project.


otherwise, nice-n-simple source and packaging all around.  I won't block on item 1 above, but would appreciate it being fixed prior to doing any official builds.


APPROVED
(lifting NEEDSPONSOR)

Comment 9 Torrie Fischer 2011-04-25 00:55:11 UTC
New Package SCM Request
=======================
Package Name: anchorman
Short Description: The recording studio in-a-box
Owners: tdfischer
Branches: f14 f15
InitialCC: tdfischer

Comment 10 Jason Tibbitts 2011-04-25 01:10:23 UTC
The requested package name does not match the name in the ticket summary.
Please correct whichever is wrong and re-raise the fedora-cvs flag.

Comment 11 Torrie Fischer 2011-04-25 01:32:51 UTC
(In reply to comment #10)
> The requested package name does not match the name in the ticket summary.
> Please correct whichever is wrong and re-raise the fedora-cvs flag.

I'm not sure what you mean. The package name should be 'anchorman', which is the same name that the project uses internally, and in the spec file. Are you referring to the capital "A" in the ticket title?

Comment 12 Torrie Fischer 2011-05-09 18:40:21 UTC
New Package SCM Request
=======================
Package Name: anchorman
Short Description: The recording studio in-a-box
Owners: tdfischer
Branches: f14 f15
InitialCC: tdfischer

Comment 13 Jason Tibbitts 2011-05-10 15:28:21 UTC
Git done (by process-git-requests).

Comment 14 Fedora Update System 2011-05-11 06:53:50 UTC
anchorman-0.0.1-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/anchorman-0.0.1-1.fc14

Comment 15 Fedora Update System 2011-05-13 22:56:46 UTC
anchorman-0.0.1-1.fc14 has been pushed to the Fedora 14 testing repository.

Comment 16 Rex Dieter 2011-07-20 16:43:56 UTC
Did you ever build/release this for f15+ too?  If not, why not?

Comment 17 Fedora Update System 2011-11-10 17:29:27 UTC
anchorman-0.0.1-1.fc14 has been pushed to the Fedora 14 stable repository.


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