Bug 1051665

Summary: Review Request: vdr-skinnopacity - A highly customizable native true color skin for the VDR
Product: [Fedora] Fedora Reporter: MartinKG <mgansser>
Component: Package ReviewAssignee: Rahul Sundaram <metherid>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: anto.trande, besser82, leamas.alec, metherid, package-review
Target Milestone: ---Flags: metherid: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: vdr-skinnopacity-1.0.3-7.20131221git0b29805.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-15 19:10:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description MartinKG 2014-01-10 20:19:16 UTC
Description: "nOpacity" is a highly customizable native true color skin for the Video Disc Recorder

Requirements

  VDR version >= 1.7.34 needed

  Installed ImageMagick or GraphicsMagick for displaying png/jpg Icons, Channel Logos and EPG Images

  for scaling the video picture to fit into the VDR menu window please use
  softhddevice plugin revision 87c1c7be (2013-01-01) or newer.

  epgsearch Git since commit ba7c6277 (2013-01-03) to correctly replace the schedules menu with epgsearch

Fedora Account System Username: martinkg

Spec URL:
http://martinkg.fedorapeople.org/Review/SPECS/vdr-skinnopacity.spec

SRPM URL:
http://martinkg.fedorapeople.org/Review/SRPMS/vdr-skinnopacity-1.0.3-1.0b29805.fc20.src.rpm

rpmlint vdr-skinnopacity-1.0.3-1.0b29805.fc20.x86_64.rpm
vdr-skinnopacity.x86_64: W: spelling-error Summary(en_US) customizable -> customization
vdr-skinnopacity.x86_64: W: spelling-error %description -l en_US nOpacity -> n Opacity, opacity, capacity
vdr-skinnopacity.x86_64: W: spelling-error %description -l en_US customizable -> customization
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

rpmlint vdr-skinnopacity-1.0.3-1.0b29805.fc20.src.rpm
vdr-skinnopacity.src: W: spelling-error Summary(en_US) customizable -> customization
vdr-skinnopacity.src: W: spelling-error %description -l en_US nOpacity -> n Opacity, opacity, capacity
vdr-skinnopacity.src: W: spelling-error %description -l en_US customizable -> customization
1 packages and 0 specfiles checked; 0 errors, 3 warnings.

Comment 1 MartinKG 2014-01-11 15:50:32 UTC
Spec URL:
http://martinkg.fedorapeople.org/Review/SPECS/vdr-skinnopacity.spec

SRPM URL:
http://martinkg.fedorapeople.org/Review/SRPMS/vdr-skinnopacity-1.0.3-2.0b29805.fc20.src.rpm

%changelog
* Sat Jan 11 2014 Martin Gansser <martinkg> - 1.0.3-2.0b29805
- added themes and themeconfigs file
- added compiler flags in build section
- removed additional localization install section
- corrected path to README in skinnopacity.conf

Comment 2 MartinKG 2014-01-12 12:05:41 UTC
@rahul thank you for taking the review.

Comment 3 MartinKG 2014-01-12 17:34:19 UTC
Spec URL:
http://martinkg.fedorapeople.org/Review/SPECS/vdr-skinnopacity.spec

SRPM URL:
http://martinkg.fedorapeople.org/Review/SRPMS/vdr-skinnopacity-1.0.3-3.0b29805.fc20.src.rpm

%changelog
* Sun Jan 12 2014 Martin Gansser <martinkg> - 1.0.3-3.0b29805
- removed additional icons install section

Comment 4 Rahul Sundaram 2014-01-14 19:11:33 UTC
Cursory first look:

* Is there any particular reason the conf file is not part of upstream?
https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#All_patches_should_have_an_upstream_bug_link_or_comment

* I would use %make_install instead of make install DESTDIR=$RPM_BUILD_ROOT

* Might consider using %{buildroot} for consistency

Why is this noreplace? if it is not supposed to be edited by users, should it be in /etc?

%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/skinnopacity.conf

Comment 5 MartinKG 2014-01-14 20:17:11 UTC
(In reply to Rahul Sundaram from comment #4)
> Cursory first look:
> 
> * Is there any particular reason the conf file is not part of upstream?
> https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/
> Guidelines#All_patches_should_have_an_upstream_bug_link_or_comment

Configuration files for plugin parameters. These are Fedora specific and not in upstream. In all other vdr plugins the conf-file is also not in the upstream,
and it's not a blocker.
 
> * I would use %make_install instead of make install DESTDIR=$RPM_BUILD_ROOT
agreed, done.
 
> * Might consider using %{buildroot} for consistency
agreed, done.

> Why is this noreplace? if it is not supposed to be edited by users, should
> it be in /etc?
no, it must be in /etc/sysconfig/vdr-plugins.d/ which is required by vdr
and it must not be overwritten.
> 
> %config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/skinnopacity.conf


Spec URL:
http://martinkg.fedorapeople.org/Review/SPECS/vdr-skinnopacity.spec

SRPM URL:
http://martinkg.fedorapeople.org/Review/SRPMS/vdr-skinnopacity-1.0.3-4.0b29805.fc20.src.rpm

%changelog
* Tue Jan 14 2014 Martin Gansser <martinkg> - 1.0.3-4.0b29805
- used %%make_install instead of make install DESTDIR...
- using %{buildroot} for consistency

Comment 6 Rahul Sundaram 2014-01-14 22:25:21 UTC
rpmlint complains about the use of macro in the changelog.  so you might want to drop % or use %%

license according to the README is GPLv2+ and not GPL+

/etc/vdr/themes/ doesn't seem to be appropriate location for themes or any non user modifiable configuration files.

Comment 7 Rahul Sundaram 2014-01-14 22:26:53 UTC
Also Fedora licensing guideline recommend that source files should have copyright headers clearly stating the author and licensing detail although this isn't a blocker, I would recommend getting in touch with upstream to get this updated

Comment 8 MartinKG 2014-01-15 08:32:05 UTC
(In reply to Rahul Sundaram from comment #6)
> rpmlint complains about the use of macro in the changelog.  so you might
> want to drop % or use %%

done
> license according to the README is GPLv2+ and not GPL+

done
> /etc/vdr/themes/ doesn't seem to be appropriate location for themes or any
> non user modifiable configuration files.

changed in %install section, as it has already been made in both vdr repo packets.

vdr-skinsoppalusikka.spec: install -pm 644 themes/*.theme $RPM_BUILD_ROOT%{vdr_vardir}/themes/
vdr-skinenigmang.spec: install -pm 644 themes/*.theme $RPM_BUILD_ROOT%{vdr_vardir}/themes

%install
# make install would install the themes under /etc, let's not use that
make install-lib install-i18n install-icons DESTDIR=$RPM_BUILD_ROOT
# install the themes to the custom location used in Fedora
install -dm 755 $RPM_BUILD_ROOT%{vdr_vardir}/themes
install -dm 755 $RPM_BUILD_ROOT%{vdr_vardir}/plugins/skinnopacity/themeconfigs
install -pm 644 themes/*.theme $RPM_BUILD_ROOT%{vdr_vardir}/themes/
install -pm 644 conf/theme-* $RPM_BUILD_ROOT%{vdr_vardir}/plugins/skinnopacity/themeconfigs/

https://dl.dropboxusercontent.com/s/ta395xq9iv9hary/vdr-skinnopacity.spec
https://dl.dropboxusercontent.com/s/ibzot9jb63cgc1p/vdr-skinnopacity-1.0.3-5.0b29805.fc20.src.rpm

%changelog
* Wed Jan 15 2014 Martin Gansser <martinkg> - 1.0.3-5.0b29805
- removed macro in changelog
- corrected license type to GPLv2+
- installed themes and themeconfigs to the custom location used in Fedora

Comment 9 MartinKG 2014-01-15 08:33:06 UTC
(In reply to Rahul Sundaram from comment #7)
> Also Fedora licensing guideline recommend that source files should have
> copyright headers clearly stating the author and licensing detail although
> this isn't a blocker, I would recommend getting in touch with upstream to
> get this updated

# informed upstream to put copyright and licensing details in source files
# http://projects.vdr-developer.org/issues/1679

Comment 10 Rahul Sundaram 2014-01-15 09:07:30 UTC
Please add explicit instructions on generating the tarball

https://fedoraproject.org/wiki/Packaging:SourceURL#Using_Revision_Control

Do this change before checking in the latest spec file but I will approve this as it is a minor change.  


======  APPROVED =====

Comment 11 Rahul Sundaram 2014-01-15 09:09:45 UTC
Also make sure you are following the naming guidelines for snapshots

https://fedoraproject.org/wiki/Packaging:NamingGuidelines#SnapshotPackages

Comment 12 MartinKG 2014-01-15 09:35:10 UTC
New Package SCM Request
=======================
Package Name: vdr-skinnopacity
Short Description: A highly customizable native true color skin for the VDR 
Owners: martinkg
Branches: f20 f21
InitialCC:

Comment 13 Gwyn Ciesla 2014-01-15 12:47:54 UTC
Git done (by process-git-requests).

f21 not branched yet, devel is automatic.

Comment 14 MartinKG 2014-01-15 19:10:57 UTC
vdr-skinnopacity has been built successfully on fc20 and fc21.

Comment 15 Fedora Update System 2014-01-15 19:15:13 UTC
vdr-skinnopacity-1.0.3-5.20131221git0b29805.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/vdr-skinnopacity-1.0.3-5.20131221git0b29805.fc20

Comment 16 Fedora Update System 2014-01-19 11:48:42 UTC
vdr-skinnopacity-1.0.3-6.20131221git0b29805.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/vdr-skinnopacity-1.0.3-6.20131221git0b29805.fc20

Comment 17 Fedora Update System 2014-01-20 18:53:20 UTC
vdr-skinnopacity-1.0.3-7.20131221git0b29805.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/vdr-skinnopacity-1.0.3-7.20131221git0b29805.fc20

Comment 18 Fedora Update System 2014-01-29 03:07:12 UTC
vdr-skinnopacity-1.0.3-7.20131221git0b29805.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.