Bug 249236
Summary: | Review Request: kde-style-domino - KDE style with a soft look | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kelly Miller <lightsolphoenix> |
Component: | Package Review | Assignee: | Chitlesh GOORAH <chitlesh> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | brcha, fedora-package-review, notting, rdieter, sereinity, thomas.moschny |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-18 20:30:05 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
Kelly Miller
2007-07-23 05:57:15 UTC
I'm taking this review. Can you update the spec in accordance to fedora packaging guidelines ? a quick look : #001 upstream naming convention fedora kde sig hasn't yet formalized the us of kde-style-XXX thus you can drop : -n domino-%{version} from %setup #002 correct License tag #003: >= 3.0.0 be removed from BuildRequires: As FC6 already has a KDE > 3. #004: remove qt-devel from the BuildRequires: As kdelibs-devel already requires qt-devel rpm -qR kdelibs-devel [..] qt-devel [..] ping kelly ? Sorry, back in school, you know. I'll make the adjustments this weekend. Just for the record, here is the amd64 package for the domino style: http://brcha.no-ip.org/repo/RPMS/x86_64/kde-style-domino-0.4-2.f7.x86_64.rpm Btw, Goorah, I think that kde-style-* and gnome-style-* are good and descriptive names for various styles. If that is the case, I can do a yum list 'kde-style-*' and get all styles for kde that are available. Otherwise, I would either have to know exactly what I am looking for (such as domino) or use some GUI package manager to find an appropriate group for the KDE styles. Brcha I think this package's name should be domino, like polyester style... Also in line below you could change domino with %{name} amd 0.4 with %{version}. Source0: http://www.kde-look.org/CONTENT/content-files/42804-domino-0.4.tar.bz2 OMG, next issue: doubled %changelog line. I really shouldn't. Spec URL: http://liviopl.fedorapeople.org/domino.spec SRPM URL: http://liviopl.fedorapeople.org/domino-0.4-3.fc8.src.rpm BR should be kdebase3-devel because during compilation it use an header from kdebase3, and kdebase-devel require kdelibs-devel Secondly, according to guidelines packages should do not have any *.la file http://fedoraproject.org/wiki/Packaging/Guidelines#head-2302ec1e1f44202c9cc4bcce24cb711266557ad7 And thirdly please use desktop-file-install to put the domino.desktop http://fedoraproject.org/wiki/Packaging/Guidelines#head-254ddf07aae20a23ced8cecc219d8f73926e9755 Benoît, kde window decorators are somehow special. They need *.la files and their *.desktop are not intended for KDE/Gnome menus. For a more complete, headache-inducing explanation of .la files and kde, see also: http://fedoraproject.org/wiki/PackagingDrafts/LibtoolArchives Please note that this package can only be available for the following branch: * F-7 * F-8 KDE4 will be in F-9. So, domino should be ported to KDE4 so that it could be approved for F-9. It doesn't build on mock. rpmlint are Ok. Some issues that should be fixed: - No pseudonyms. Use your real name and your personal/fedoraproject email. - Don't use empty file for the doc (NEWS & README) - Put all .la file on a -devel package (I have seen .la on -libs kde-packages, it's better ?) - Use "3" suffix to kde-packages (if possible) - Build require /usr/lib/libkdecorations.la (kdebase-libs) require /usr/include/kde/kcommondecoration.h (kdebase3-devel who require kdebase-libs, and kdelibs3-devel) - call ldconfig in %post & %postun Please note that + items are OK, - items should be fixed or justified, ~ items needs further investigation. * MUST items + Respect naming guidelines. + License: GPLv2 OK + The spec file must be written in American English. + The spec file for the package MUST be legible. + 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. + Compile on i386 and x86_64 at least. + locales are properly handled. - Every binary RPM package which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun. + Not relocatable. + A package must own all directories that it creates. + A package must not contain any duplicate files in the %files listing. + Permissions on files must be set properly. + Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT). + Each package must consistently use macros, as described in the macros section of Packaging Guidelines. + The package must contain code, or permissable content. + Large documentation files should 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) + If a package includes something as %doc, it must not affect the runtime of the application. + Header files must be in a -devel package. + Static libraries must be in a -static package. + Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig' (for directory ownership and usability). + 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. ~ In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release} ~ Packages must NOT contain any .la libtool archives, these should be removed in the spec. + 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. + Packages must not own files or directories already owned by other packages. + At the beginning of %install, each package MUST run rm -rf %{buildroot} (or $RPM_BUILD_ROOT). + All filenames in rpm packages must be valid UTF-8. SHOULD Items: + Includes licenses text. + The description and summary sections in the package spec file should contain translations for supported Non-English languages, if available. - Builds in mock ~ runs without segmentation faults + The placement of pkgconfig(.pc) files depends on their usecase, and this is usually for development purposes, so should be placed in a -devel pkg. A reasonable exception is that the main pkg itself is a devel tool not installed in a user runtime, e.g. gcc or gdb. + No scriptlets. ~ If the package has file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin consider requiring the package which provides the file instead of the file itself. Please see File Dependencies in the Guidelines for further information. ping kelly ! What's the status of this package? (In reply to comment #13) > It doesn't build on mock. rpmlint are Ok. Which spec/srpm are you referring to? The one made by Kelly or the the one made by http://liviopl.fedorapeople.org/domino.spec ? > Some issues that should be fixed: > - Put all .la file on a -devel package .la files are special and needed for kde addon packages. This has been explained earlier. Same for .desktop here. > - Use "3" suffix to kde-packages (if possible) Don't think so, as this package is going to be approved for F-7 and F-8 only. > - Build require /usr/lib/libkdecorations.la (kdebase-libs) > require /usr/include/kde/kcommondecoration.h (kdebase3-devel who require > kdebase-libs, and kdelibs3-devel) Should be "BuildRequires: kdebase-devel". > - call ldconfig in %post & %postun Not needed, as %{_libdir}/kde3 is not one of the dynamic linker's default paths. Ping ? Inactive. closing. |