Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 170978

Summary: Review Request: nomadsync
Product: [Fedora] Fedora Reporter: Linus Walleij <triad>
Component: Package ReviewAssignee: Michael A. Peters <mpeters>
Status: CLOSED NEXTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, fedora-extras-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-15 22:13:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 163779    

Description Linus Walleij 2005-10-16 20:19:03 UTC
Spec Name or Url:
SRPM Name or Url:

This package provides an application to synchronize music trees
with Creative NOMAD Jukebox, Creative Zen and Dell DJ line of
MP3 players.

Patched to add a .desktop file in order to conform with FE 
packaging guidelines.

Comment 1 Bastien Nocera 2005-11-10 19:27:18 UTC
Is id3lib already shipped in the extras?
Also, you could simply have your .desktop file as another Source:
Source1:	nomadsync.desktop

Comment 2 Ville Skyttä 2005-11-10 21:07:25 UTC
(In reply to comment #1) 
> Is id3lib already shipped in the extras? 

Comment 3 Linus Walleij 2005-11-16 21:17:06 UTC
It's not id3lib it's libid3tag (there is also taglib and libmetatag somehwere
just to add to your confusion) and yes, that is already in the extras too.

I switched to using a Source1: line instead of a patch, much smarter, indeed.

Fixed package:
Spec Name or Url:
SRPM Name or Url:

Comment 4 Linus Walleij 2005-11-16 21:18:23 UTC
EH sorry yes, no its id3lib not libid3tag and yes as pointed out its in
the extras already. I was drunk... or rather... well.

Comment 5 Michael A. Peters 2005-11-29 20:27:41 UTC
In %install section - please change



make DESTDIR=%buildroot install

I don't know if it is issue here, but I've had issue with the former before that
don't happen with the latter (strings including the buildroot in files)

I tested the change - it works.

%defattr(-, root, root)

please change to


rpmlint errors (after mock build):

[mpeters@utility result]$ rpmlint *.rpm
E: nomadsync script-without-shellbang /usr/share/doc/nomadsync-0.4.2/copying
E: nomadsync script-without-shellbang /usr/share/doc/nomadsync-0.4.2/ChangeLog
E: nomadsync wrong-script-end-of-line-encoding
E: nomadsync script-without-shellbang /usr/share/doc/nomadsync-0.4.2/install
E: nomadsync script-without-shellbang /usr/share/doc/nomadsync-0.4.2/readme
E: nomadsync wrong-script-end-of-line-encoding /usr/share/doc/nomadsync-0.4.2/readme
E: nomadsync script-without-shellbang /usr/share/doc/nomadsync-0.4.2/authors
[mpeters@utility result]$ 

The "script-without-shellbang" errors can be fixed by removing execution bit on
those files.
The "wrong-script-end-of-line-encoding" errors can be fixed with sed.

In %prep after extraction do something like:

%{__sed} -i 's?\r??' ChangeLog
%{__sed} -i 's?\r??' readme

Please don't %doc the install file.
It is already installed once the user installs the rpm.

Comment 6 Linus Walleij 2005-12-18 07:37:40 UTC
I fixed these things, but no cigar, because now it doesn't compile under
GCC 4.0.2 so more things need to be done...

Comment 7 Linus Walleij 2005-12-18 07:39:35 UTC
Hm the package is set into review, but who reviews it? It is still assigned
to Greg, which is also default. Greg, is it really you who review this package?

Comment 8 Michael A. Peters 2005-12-18 12:27:07 UTC
I think I set it to review and forgot to set it to me.

Comment 9 Linus Walleij 2005-12-18 22:00:40 UTC
OK thanks Michael, I'll get back as soon as I find a proper patch for
GCC 4.0.2.

Comment 10 Linus Walleij 2006-01-14 08:19:52 UTC
Fixed package:
Spec Name or Url:
SRPM Name or Url:

Turns out there was no compiler issue, it was the unicodification of wxGTK
2.6 that was the culprit, so this requires 2.4.x. I saw that package was 
pulled from Extras anyway... Will need some compat package in devel I guess?

Comment 11 Linus Walleij 2006-01-14 20:35:29 UTC
I figure I will replace wxGTK-devel for compat-wxGTK or compat-wxGTK2 in
the devel (FC5) version. Do you want me to provide a separate spec for

Comment 12 Michael A. Peters 2006-01-14 23:41:55 UTC
That would be best.

Comment 13 Linus Walleij 2006-01-15 21:27:57 UTC
Fixed package:
Spec Name or Url:
SRPM Name or Url:

I actually detect FC version instead since it's a oneliner. Doesn't hurt to
have a generic specfile in this case.

Comment 14 Michael A. Peters 2006-01-15 21:58:42 UTC
Would it better to simply

BuildRequires %{_bindir}/wxgtk-2.4-config 

rather than fedora specific macros ??

How does the 64-bit package for wxgtk-devel handle that? (can 32 and 64 bit be
|| installed?)

Comment 15 Linus Walleij 2006-03-07 21:14:06 UTC
Yes, that works much better. Sorry for fat delay on this, I missed it somehow:
Spec Name or Url:
SRPM Name or Url:

Comment 16 Michael A. Peters 2006-03-08 12:25:36 UTC

* Builds fine in mock (fc4 i386)
* rpmlint clean
* owns all directories it installs
* proper rpm Group
* clean rpm spec file
* proper summary and description in American English
* spec file understabdable
* proper and consistent use of macros
* proper installation of Desktop file, with X-Fedora category and fedora vendor
* proper permissions on files

md5sum in src.rpm: f8d50c14fae3f8cdedc57c491c7d65d4 
md5sum upstream: fd55927c54cd0737cdecb88e4bfbf0b7  nomadsync-0.4.2.tar.gz

looking at the two - nomadsync is upstream source unpacked, nomadsync-0.4.2.src
is from the src.rpm

[mpeters@jerusalem delete_me]$ diff -u nomadsync nomadsync-0.4.2.src
Only in nomadsync-0.4.2.src: Makefile
Only in nomadsync-0.4.2.src: config.log
Only in nomadsync-0.4.2.src: config.status
Common subdirectories: nomadsync/cvs and nomadsync-0.4.2.src/cvs
Common subdirectories: nomadsync/debug and nomadsync-0.4.2.src/debug
Common subdirectories: nomadsync/doc and nomadsync-0.4.2.src/doc
Only in nomadsync-0.4.2.src: libtool
Common subdirectories: nomadsync/macros and nomadsync-0.4.2.src/macros
Common subdirectories: nomadsync/optimized and nomadsync-0.4.2.src/optimized
Common subdirectories: nomadsync/src and nomadsync-0.4.2.src/src
Common subdirectories: nomadsync/templates and nomadsync-0.4.2.src/templates
[mpeters@jerusalem delete_me]$ 

It looks like the source tarball you have had configure run in it before it was

Use the pristine upstream source tarball.

Comment 17 Linus Walleij 2006-03-08 19:38:53 UTC
Not strange since the upstream source was updated today (file dated 2005-03-08),
updated to latest upstream:
Spec Name or Url:
SRPM Name or Url:

Comment 18 Michael A. Peters 2006-03-09 01:08:03 UTC
Hey yeah - you're right.
Odd they did not version tarball ...

md5sum matches now.


Comment 19 Linus Walleij 2006-03-15 22:13:20 UTC
OK (after some patching on devel) it now builds on all archs.

Michael: THANK YOU for reviewing this RPM!