Bug 599316 - Review Request: input-pad - Input Pad
Summary: Review Request: input-pad - Input Pad
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Parag AN(पराग)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-03 05:53 UTC by fujiwara
Modified: 2010-07-01 18:57 UTC (History)
4 users (show)

Fixed In Version: input-pad-0.1.0.20100630-1.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-01 18:55:17 UTC
Type: ---
Embargoed:
panemade: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description fujiwara 2010-06-03 05:53:23 UTC
Spec URL: http://fujiwara.fedorapeople.org/ibus/input-pad/input-pad.spec
SRPM URL: http://fujiwara.fedorapeople.org/ibus/input-pad/srpms/input-pad-0.1.0.20100603-1.fc13.src.rpm
Description: Input Pad send characters to GUI clients

Comment 1 fujiwara 2010-06-07 01:43:38 UTC
Any sponsors?
http://koji.fedoraproject.org/koji/taskinfo?taskID=2234433

Comment 2 Parag AN(पराग) 2010-06-07 03:09:22 UTC
Hi fujiwara,
   You are already a member of packager group. So no need to set FE-NEEDSPONSOR. Only new contributors who have no access to packager cvs group need to set it.

Comment 3 fujiwara 2010-06-07 04:16:07 UTC
Thanks for your comment.

Comment 4 Parag AN(पराग) 2010-06-08 04:37:43 UTC
I think this package needs versioned .so and install .so in -devel.

Comment 6 Parag AN(पराग) 2010-06-08 08:07:02 UTC
Thanks for the update.

Can you fix following rpmlint messages?

input-pad.x86_64: E: library-without-ldconfig-postin /usr/lib64/libinput-pad.so.0.0.1
input-pad.x86_64: E: library-without-ldconfig-postun /usr/lib64/libinput-pad.so.0.0.1
input-pad-python.x86_64: W: summary-not-capitalized C input-pad for python
input-pad-xtest.x86_64: W: summary-not-capitalized C input-pad with XTEST extension

other messages looks ok

input-pad.x86_64: E: explicit-lib-dependency libX11
input-pad.x86_64: E: explicit-lib-dependency libxkbfile
input-pad.x86_64: W: invalid-url URL: http://code.google.com/p/input-pad/ HTTP Error 404: Not Found
input-pad.x86_64: W: shared-lib-calls-exit /usr/lib64/libinput-pad.so.0.0.1 exit.5
input-pad.x86_64: W: no-manual-page-for-binary input-pad
input-pad-devel.x86_64: W: invalid-url URL: http://code.google.com/p/input-pad/ HTTP Error 404: Not Found
input-pad-devel.x86_64: W: no-documentation
input-pad-python.x86_64: W: invalid-url URL: http://code.google.com/p/input-pad/ HTTP Error 404: Not Found
input-pad-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.6/site-packages/input-pad-0.1/_input_pad.so _input_pad.so()(64bit)
input-pad-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.6/site-packages/input-pad-0.1/_input_pad_window_gtk.so _input_pad_window_gtk.so()(64bit)
input-pad-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.6/site-packages/input-pad-0.1/_input_pad_group.so _input_pad_group.so()(64bit)
input-pad-python.x86_64: W: no-documentation
input-pad-xtest.x86_64: E: explicit-lib-dependency libXtst
input-pad-xtest.x86_64: W: invalid-url URL: http://code.google.com/p/input-pad/ HTTP Error 404: Not Found
input-pad-xtest.x86_64: W: no-documentation

Comment 8 Parag AN(पराग) 2010-06-10 09:44:42 UTC
Suggestions:
1) Please add more specific words of summary for this package. Like you can add "An on-screen input pad used to input symbols easily."


2) Before building in Fedora remove following un-necessary lines from SPEC
Requires:  glib2        >= %glib2_version
Requires:  gtk2
Requires:  libX11
Requires:  libxkbfile
Requires:  libxklavier  >= %libxklavier_version
Requires:  libxml2      >= %libxml2_version

3) You can remove redundant BuildRequires
BuildRequires:  glib2-devel             >= %glib2_version
BuildRequires:  libX11-devel
as gtk2-devel will install them.
However, I see gtk2-devel specifies glib2 version 2.23.6 and you specified 2.8

4) for have_python_devel, you should be using macros
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif

5) You should actually use following in %build to preserve upstream file's timestamps. Not mandatory by reviewguidelines but suggested a good fix by packaging guidelines.

make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

6) Make sure each change,if no new upstream version used then you bump the release and provide new SPEC and SRPM.

Comment 9 fujiwara 2010-06-10 11:32:59 UTC
Revised spec file:
http://github.com/fujiwarat/input-pad/commit/188f838f1ce0a8beb259c9df59dcd92b7e5a8eb4

Spec URL:
http://fujiwara.fedorapeople.org/ibus/input-pad/input-pad.spec
SRPM URL:
http://fujiwara.fedorapeople.org/ibus/input-pad/srpms/input-pad-0.1.0.20100608-2.fc13.src.rpm    

(In reply to comment #8)
> 1) Please add more specific words of summary for this package. Like you can add
> "An on-screen input pad used to input symbols easily."

I accept this in this time since other issues are also reported.

> 2) Before building in Fedora remove following un-necessary lines from SPEC
> Requires:  glib2        >= %glib2_version
> Requires:  gtk2
> Requires:  libX11
> Requires:  libxkbfile
> Requires:  libxklavier  >= %libxklavier_version
> Requires:  libxml2      >= %libxml2_version
> 

I didn't notice Linux rpmbuild has the feature of auto-dependency.
I accept this useful suggestion now.
Thanks.

> 5) You should actually use following in %build to preserve upstream file's
> timestamps. Not mandatory by reviewguidelines but suggested a good fix by
> packaging guidelines.
> 
> make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

Cool. -p is useful.

> 6) Make sure each change,if no new upstream version used then you bump the
> release and provide new SPEC and SRPM.    

OK, I will remember the Fedora policy.

Comment 10 Parag AN(पराग) 2010-06-11 05:44:12 UTC
Review:
+ package builds in mock (rawhide i686).
koji Build =>http://koji.fedoraproject.org/koji/taskinfo?taskID=2242129
+ rpmlint outputs
input-pad.x86_64: W: incoherent-version-in-changelog 0.1.0.20100608-1 ['0.1.0.20100608-2.fc13', '0.1.0.20100608-2']
input-pad.x86_64: W: shared-lib-calls-exit /usr/lib64/libinput-pad.so.0.0.1 exit.5
input-pad.x86_64: W: no-manual-page-for-binary input-pad
input-pad-devel.x86_64: W: no-documentation
input-pad-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.6/site-packages/input-pad-0.1/_input_pad.so _input_pad.so()(64bit)
input-pad-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.6/site-packages/input-pad-0.1/_input_pad_window_gtk.so _input_pad_window_gtk.so()(64bit)
input-pad-python.x86_64: W: private-shared-object-provides /usr/lib64/python2.6/site-packages/input-pad-0.1/_input_pad_group.so _input_pad_group.so()(64bit)
input-pad-python.x86_64: W: no-documentation
input-pad-xtest.x86_64: E: explicit-lib-dependency libXtst
input-pad-xtest.x86_64: W: no-documentation
6 packages and 0 specfiles checked; 1 errors, 9 warnings.

+ source files match upstream url (sha1sum)
11b4c1c69c5bf4a7d8abfe7172a72b75caab8c2a  input-pad-0.1.0.20100608.tar.gz.srpm
11b4c1c69c5bf4a7d8abfe7172a72b75caab8c2a  input-pad-0.1.0.20100608.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ license is open source-compatible.
+ License text is included in package.
+ %doc is present.
+ BuildRequires are proper.
+ %clean is present which is not required for F-13 and above builds.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no headers or static libraries.
+ input-pad.pc file present.
+ -devel, -python, -xtest subpackage exists
+ no .la files.
+ translations are available
+ Does owns the directories it creates.
+ ldconfig scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Package input-pad-0.1.0.20100608-2.fc13.x86_64 =>
Provides: libinput-pad.so.0()(64bit)
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 
Requires: libX11.so.6()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libinput-pad.so.0()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) libxkbfile.so.1()(64bit) libxklavier.so.16()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH)

+ PAckage input-pad-devel-0.1.0.20100608-2.fc13.x86_64=>
Provides: pkgconfig(input-pad) = 0.1.0.20100608
Requires: /usr/bin/pkg-config libinput-pad.so.0()(64bit) pkgconfig(glib-2.0) pkgconfig(libxml-2.0) >= 2.0

+ Package input-pad-python-0.1.0.20100608-2.fc13.x86_64 =>
Provides: _input_pad.so()(64bit) _input_pad_group.so()(64bit) _input_pad_window_gtk.so()(64bit)
Requires: libX11.so.6()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcairo.so.2()(64bit) libdl.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libinput-pad.so.0()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpython2.6.so.1.0()(64bit) librt.so.1()(64bit) libutil.so.1()(64bit) libxkbfile.so.1()(64bit) libxklavier.so.16()(64bit) libxml2.so.2()(64bit) python(abi) = 2.6 rtld(GNU_HASH)

+ Package input-pad-xtest-0.1.0.20100608-2.fc13.x86_64 =>
Provides: libinput-pad-xtest-gdk.so()(64bit)
Requires: libX11.so.6()(64bit) libXtst.so.6()(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libinput-pad.so.0()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) librt.so.1()(64bit) libxkbfile.so.1()(64bit) libxklavier.so.16()(64bit) libxml2.so.2()(64bit) rtld(GNU_HASH)

+ Not a GUI application

Suggestions:
1) Please add changelog entry for each release bump. You have wrong changelog entry with -1 as release whereas you have Release tag saying its -2 release.

2) you also don't need
Requires:   libXtst
please remove it before you build in cvs.

Comment 11 fujiwara 2010-06-11 06:41:47 UTC
New Package CVS Request
=======================
Package Name: input-pad
Short Description: On-screen Input Pad to Send Characters with Mouse
Owners: fujiwara
Branches: F-14, F-13, F-12
InitialCC: i18n-team

Comment 12 Kevin Fenzi 2010-06-14 04:45:03 UTC
CVS done (by process-cvs-requests.py).

We aren't doing F-14 branches yet.

Comment 13 fujiwara 2010-06-14 08:58:40 UTC
Integrated in rawhide:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2248480

Comment 14 Fedora Update System 2010-06-14 09:25:23 UTC
input-pad-0.1.0.20100614-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100614-1.fc13

Comment 15 Fedora Update System 2010-06-14 09:28:36 UTC
input-pad-0.1.0.20100614-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100614-1.fc12

Comment 16 Fedora Update System 2010-06-14 17:17:01 UTC
input-pad-0.1.0.20100614-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update input-pad'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100614-1.fc12

Comment 17 Fedora Update System 2010-06-14 17:17:50 UTC
input-pad-0.1.0.20100614-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update input-pad'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100614-1.fc13

Comment 18 Fedora Update System 2010-06-22 17:12:44 UTC
input-pad-0.1.0.20100622-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update input-pad'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100622-1.fc13

Comment 19 Fedora Update System 2010-06-22 17:15:32 UTC
input-pad-0.1.0.20100622-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update input-pad'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100622-1.fc12

Comment 20 Fedora Update System 2010-06-30 15:10:13 UTC
input-pad-0.1.0.20100630-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update input-pad'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100630-1.fc13

Comment 21 Fedora Update System 2010-06-30 15:10:23 UTC
input-pad-0.1.0.20100630-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update input-pad'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/input-pad-0.1.0.20100630-1.fc12

Comment 22 Fedora Update System 2010-07-01 18:55:10 UTC
input-pad-0.1.0.20100630-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2010-07-01 18:57:39 UTC
input-pad-0.1.0.20100630-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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