Bug 457517 - Review Request: perl-Padre - Perl Application Development and Refactoring Environment
Summary: Review Request: perl-Padre - Perl Application Development and Refactoring Env...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 458653 458669 perl-ORLite 463763 463766 perl-PAR 463771
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-01 09:44 UTC by Marcela Mašláňová
Modified: 2008-10-15 11:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-15 11:01:44 UTC
Type: ---
Embargoed:
dan: fedora-review+
huzaifas: fedora-cvs+


Attachments (Terms of Use)
Warning (286 bytes, text/plain)
2008-08-01 09:49 UTC, Marcela Mašláňová
no flags Details

Description Marcela Mašláňová 2008-08-01 09:44:41 UTC
The application maintains its configuration information in a directory
called .padre

http://mmaslano.fedorapeople.org/Padre/

Comment 1 Marcela Mašláňová 2008-08-01 09:48:52 UTC
I can't pass test and the same problem appears after installation. The
application is running as I can say, but it should be removed before adding into
Fedora.


Comment 2 Marcela Mašláňová 2008-08-01 09:49:51 UTC
Created attachment 313173 [details]
Warning

Comment 3 Marcela Mašláňová 2008-09-02 08:04:59 UTC
Update to new version
http://mmaslano.fedorapeople.org/Padre/perl-Padre-0.06-1.fc9.src.rpm

Comment 4 Rakesh Pandit 2008-09-02 09:23:29 UTC
Same here.
Spec file, description of package ?
Thanks.

Comment 5 Marcela Mašláňová 2008-09-02 10:30:33 UTC
The spec
http://mmaslano.fedorapeople.org/Padre/perl-Padre.spec

Official description is quite short. Let's made up new one.

Description:
Padre is a text editor aimed to be an IDE for Perl. The application maintains its configuration information in a directory called .padre.

Comment 7 Marcela Mašláňová 2008-10-03 08:29:51 UTC
The tests should be switched off for inclusion, because it needs graphic. I've also problem with one test and I reported this into upstream.

Comment 8 Marcela Mašláňová 2008-10-08 11:56:21 UTC
This test should be ignored in the meantime, please review.

Comment 9 Dan Horák 2008-10-10 09:45:36 UTC
formal review is here, see the notes below:

OK	source files match upstream:
	    d810f98c2b56bb54d89d1a41596d8fbddfdf699c  Padre-0.10.tar.gz
OK	package meets naming and versioning guidelines.
OK	specfile is properly named, is cleanly written and uses macros consistently.
OK	dist tag is present.
OK	build root is correct.
OK	license field matches the actual license.
OK	license is open source-compatible. License text not included upstream.
OK	latest version is being packaged.
OK	BuildRequires are proper.
N/A	compiler flags are appropriate.
OK	%clean is present.
OK	package builds in mock (Rawhide/x86_64).
N/A	debuginfo package looks complete.
BAD	rpmlint is silent.
OK	final provides and requires look sane.
N/A*	%check is present and all tests pass.
OK	no shared libraries are added to the regular linker search paths.
OK	owns the directories it creates.
BAD*	doesn't own any directories it shouldn't.
OK	no duplicates in %files.
OK	file permissions are appropriate.
OK	no scriptlets present.
OK	code, not content.
OK	documentation is small, so no -docs subpackage is necessary.
OK	%docs are not necessary for the proper functioning of the package.
OK	no headers.
OK	no pkgconfig files.
OK	no libtool .la droppings.
BAD	is a GUI app, desktop file is missing

- rpmlint complains
perl-Padre.noarch: E: script-without-shebang /usr/lib/perl5/vendor_perl/5.10.0/Padre/Wx/Ack.pm
    remove the executable bits
perl-Padre.noarch: E: non-executable-script /usr/lib/perl5/vendor_perl/5.10.0/auto/share/dist/Padre/templates/template.pl 0644
perl-Padre.noarch: E: non-executable-script /usr/lib/perl5/vendor_perl/5.10.0/auto/share/dist/Padre/templates/template.t 0644
    when /auto/share/dist/Padre/templates/* must be packaged (it is required for Padre to work correctly), then you should package 2 dirs
    %{perl_vendorlib}/Padre + %{perl_vendorlib}/auto/share/dist/Padre, but not the whole %{perl_vendorlib}/* hierarchy
- tests requires running X, so the check section is disabled, but the proper BR: can exist in the spec (commented out)
- it is a GUI application, but desktop file is missing
- when running Padre in mock/Rawhide I got an error "libwx_gtk2u_stc-2.8.so: cannot open shared object file: No such file or directory", window title "Padre::Wx::App Error" - looks like something wants to open development version of this library even when the runtime lib is installed

Comment 10 Marcela Mašláňová 2008-10-10 11:29:23 UTC
This example and test should have permission 644
/usr/lib/perl5/vendor_perl/5.10.0/auto/share/dist/Padre/templates/template.pl
/usr/lib/perl5/vendor_perl/5.10.0/auto/share/dist/Padre/templates/template.pl

Desktop file wasn't included in upstream source. Should I create it or file a bug to upstream?

The error "libwx_gtk2u_stc-2.8.so:..." wasn't resolved by upstream till now, but he's working on solution.

http://mmaslano.fedorapeople.org/Padre/perl-Padre.spec
http://mmaslano.fedorapeople.org/Padre/perl-Padre-0.10-2.fc9.src.rpm

Comment 11 Dan Horák 2008-10-10 11:39:55 UTC
(In reply to comment #10)
> This example and test should have permission 644
> /usr/lib/perl5/vendor_perl/5.10.0/auto/share/dist/Padre/templates/template.pl
> /usr/lib/perl5/vendor_perl/5.10.0/auto/share/dist/Padre/templates/template.pl

ok

> 
> Desktop file wasn't included in upstream source. Should I create it or file a
> bug to upstream?

please create one - https://fedoraproject.org/wiki/Packaging/Guidelines#Desktop_files 

> The error "libwx_gtk2u_stc-2.8.so:..." wasn't resolved by upstream till now,
> but he's working on solution.

ok

Comment 14 Dan Horák 2008-10-15 06:46:04 UTC
All issues fixed, package is APPROVED. But remove the "--add-category" parameter when calling desktop-file-install (category is already set in the dekstop file itself) before import.

Comment 15 Marcela Mašláňová 2008-10-15 06:54:06 UTC
New Package CVS Request
=======================
Package Name: perl-Padre
Short Description: text editor aimed to be an IDE for Perl
Owners: mmaslano
Branches: F-10 rawhide
InitialCC: fedora-perl-devel-list

Comment 16 Huzaifa S. Sidhpurwala 2008-10-15 09:59:32 UTC
cvs done

Comment 17 Marcela Mašláňová 2008-10-15 11:01:44 UTC
Should be in F-10 perl-Padre-0.10-4.fc10.


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