Bug 518799 - Review Request: gtk-splitter - A file splitter
Summary: Review Request: gtk-splitter - A file splitter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gareth John
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-22 23:56 UTC by Fabian Affolter
Modified: 2009-10-01 00:06 UTC (History)
5 users (show)

Fixed In Version: 2.2.1-2.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-01 00:05:49 UTC
Type: ---
Embargoed:
gareth.l.john: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Fabian Affolter 2009-08-22 23:56:26 UTC
Spec URL: http://fab.fedorapeople.org/packages/SRPMS/gtk-splitter.spec
SRPM URL: http://fab.fedorapeople.org/packages/SRPMS/gtk-splitter-2.2.1-1.fc11.src.rpm

Project URL: http://gtk-splitter.sourceforge.net/

Description:
gtk-splitter can split files into smaller pieces and combine them back
together. It can also generate a DOS batch file so that the split
files can be combined on DOS/Windows systems. gtk-splitter is good for
working around file limitations with floppy disks, email attachments,
etc.

Koji scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=1626394

rpmlint output:
[fab@laptop016 SRPMS]$ rpmlint gtk-splitter-2.2.1-1.fc11.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

[fab@laptop016 x86_64]$ rpmlint gtk-splitter*
2 packages and 0 specfiles checked; 0 errors, 0 warnings.

Comment 1 Gareth John 2009-08-25 13:06:51 UTC
Need to update desktop db for the .desktop file. 
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database

%post
update-desktop-database %{_datadir}/applications

%postun
update-desktop-database %{_datadir}/applications

Comment 2 Susi Lehtola 2009-08-25 13:17:33 UTC
(In reply to comment #1)
> Need to update desktop db for the .desktop file. 
> http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database

"Use this when a desktop entry has a 'MimeType key."

This desktop file doesn't have MimeType key, so the desktop database update is not needed.

However, the categories GNOME and Application should be removed from the desktop file in %install.

**

I wouldn't use
 docdir=%{_defaultdocdir}/%{name}-%{version} \
in %install, I'd just run
 rm -rf %{buildroot}%{_docdir}
and list the necessary files in %doc.

Comment 3 Gareth John 2009-08-25 13:31:54 UTC
You could probably leave Hosts out of doc as well.

Comment 4 Tomasz Torcz 2009-08-26 22:09:42 UTC
I'm not a packager yet (just aspiring), here are my comments:
- package is named OK
- licensing is OK (GPL2 or later), file is included in %doc
- source file location is OK
- builds for me on x86_64
- package doesn't include locales nor shared libraries, no special actions needed
- package consist code, docs and icon, so it's OK
- it's a GUI app, has properly handled .desktop
- packaged program works

In short, eveyrthing looks OK.

Comment 5 Fabian Affolter 2009-08-26 23:02:13 UTC
(In reply to comment #2)
> However, the categories GNOME and Application should be removed from the
> desktop file in %install.

fixed
 
> I wouldn't use
>  docdir=%{_defaultdocdir}/%{name}-%{version} \
> in %install, I'd just run
>  rm -rf %{buildroot}%{_docdir}
> and list the necessary files in %doc.

changed  

Here are the updated files

Spec URL: http://fab.fedorapeople.org/packages/SRPMS/gtk-splitter.spec
SRPM URL:
http://fab.fedorapeople.org/packages/SRPMS/gtk-splitter-2.2.1-2.fc11.src.rpm

Comment 6 Gareth John 2009-09-11 15:03:08 UTC
* MUST: rpmlint must be run on every package. The output should be posted in the review....OK
* MUST: The package must be named according to the Package Naming Guidelines....OK
* MUST: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption....OK
* MUST: The package must meet the Packaging Guidelines....OK
* MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines....OK
* MUST: The License field in the package spec file must match the actual license....OK
* MUST: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %doc....OK
* MUST: The spec file must be written in American English....OK
* MUST: The spec file for the package MUST be legible.....OK
* MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use md5sum for this task. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this.....??
* MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture....OK
* MUST: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in ExcludeArch. Each architecture listed in ExcludeArch MUST have a bug filed in bugzilla, describing the reason that the package does not compile/build/work on that architecture. The bug number MUST be placed in a comment, next to the corresponding ExcludeArch line....N/A
* MUST: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines ; inclusion of those as BuildRequires is optional. Apply common sense....OK
* MUST: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden....N/A
* MUST: Every binary RPM package (or subpackage) which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun....N/A
* MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review, along with the rationalization for relocation of that specific package. Without this, use of Prefix: /usr is considered a blocker....OK
* MUST: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory....OK
* MUST: A Fedora package must not list a file more than once in the spec file's %files listings....OK
* MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example. Every %files section must include a %defattr(...) line....OK
* MUST: Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT)....OK
* MUST: Each package must consistently use macros....Each mention in description of {%name} could use the macro!!!
* MUST: The package must contain code, or permissable content....OK
* MUST: Large documentation files must go in a -doc subpackage. (The definition of large is left up to the packager's best judgement, but is not restricted to size. Large can refer to either size or quantity)....N/A
* MUST: If a package includes something as %doc, it must not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present....OK
* MUST: Header files must be in a -devel package....N/A
* MUST: Static libraries must be in a -static package....N/A
* MUST: Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig' (for directory ownership and usability)....N/A
* MUST: If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package....N/A
* MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release}....N/A
* MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built....OK
* MUST: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section. If you feel that your packaged GUI application does not need a .desktop file, you must put a comment in the spec file with your explanation....OK
* MUST: Packages must not own files or directories already owned by other packages. The rule of thumb here is that the first package to be installed should own the files or directories that other packages may rely upon. This means, for example, that no package in Fedora should ever share ownership with any of the files or directories owned by the filesystem or man package. If you feel that you have a good reason to own a file or directory that another package owns, then please present that at package review time....OK
* MUST: At the beginning of %install, each package MUST run rm -rf %{buildroot} (or $RPM_BUILD_ROOT)....OK
* MUST: All filenames in rpm packages must be valid UTF-8....OK


Approved

Comment 7 Fabian Affolter 2009-09-12 12:46:26 UTC
New Package CVS Request
=======================
Package Name: gtk-splitter
Short Description: A file splitter
Owners: fab
Branches: F-10 F-11
InitialCC:

Comment 8 Kevin Fenzi 2009-09-14 04:55:07 UTC
cvs done.

Comment 9 Fedora Update System 2009-09-14 22:21:24 UTC
gtk-splitter-2.2.1-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/gtk-splitter-2.2.1-2.fc11

Comment 10 Fedora Update System 2009-09-14 22:21:29 UTC
gtk-splitter-2.2.1-2.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/gtk-splitter-2.2.1-2.fc10

Comment 11 Fedora Update System 2009-09-15 21:01:15 UTC
gtk-splitter-2.2.1-2.fc10 has been pushed to the Fedora 10 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 gtk-splitter'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9645

Comment 12 Fedora Update System 2009-09-15 21:01:35 UTC
gtk-splitter-2.2.1-2.fc11 has been pushed to the Fedora 11 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 gtk-splitter'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9647

Comment 13 Fedora Update System 2009-10-01 00:05:43 UTC
gtk-splitter-2.2.1-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2009-10-01 00:06:07 UTC
gtk-splitter-2.2.1-2.fc10 has been pushed to the Fedora 10 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.