Bug 714543
| Summary: | Review Request: maze5 - A program for generating mazes of miscellaneous styles and sizes | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | W. Michael Petullo <mike> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | fedora-package-review, notting, veeti.paananen, volker27, ycnian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | Stalled review | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-09 20:39:59 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 201449 | ||
|
Description
W. Michael Petullo
2011-06-20 02:18:47 UTC
Just commenting: wouldn't it make sense to split the GIMP plugin into a subpackage? Oh, and you need to add scons as a build requirement. 1.xmltoman is another missed build requiresment
2.maze5.1 should goes to a subdir of %{_mandir},maybe man/man1/maze5.1
3.INSTALL file can be removed from %doc as it is a irrelevant documentation.
https://fedoraproject.org/wiki/Packaging/Guidelines#Documentation
Spec URL: http://www.flyn.org/SRPMS/maze5.spec SRPM URL: http://www.flyn.org/SRPMS/maze5-0.8.1-2.fc15.src.rpm This release addresses comments #1, #2 and #3. License is GPLv3+ -- not GPLv3, according to the files. You can replace the "maze5" in Source0 with the name macro. The Requires doesn't make sense: The main-package doesn't require itself. You can drop "rm -rf $RPM_BUILD_ROOT". It's not needed. The files section should be aggregated just before the changelog. %doc is usually in the first line. The GIMP plug-in directory is called "plug-ins", not "plugins", as far as I can see. The suffix "gimp", the plug-in has, seems somewhat strange to me. This sub-package should also require GIMP, I guess. Your sub-packages requires the main package, I suppose: http://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package Put the BR for gimp-devel-tools next to the other BRs. It doesn't make sense to split that. I think putting each BR on a separate line is more legible. "%{_mandir}/man1/maze5.1.gz" -- Rather make that "%{_mandir}/man1/maze5.1.*" Use -p with "install" to preserve timestamps. You're not using the proper compiler flags: http://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags Besides that: [makerpm@fedora15 SRPMS]$ rpmlint ../RPMS/x86_64/maze5-* maze5.x86_64: W: manual-page-warning /usr/share/man/man1/maze5.1.gz 80: a space character is not allowed in an escape name maze5.x86_64: W: manual-page-warning /usr/share/man/man1/maze5.1.gz 83: a space character is not allowed in an escape name maze5.x86_64: W: manual-page-warning /usr/share/man/man1/maze5.1.gz 83: a space character is not allowed in an escape name maze5.x86_64: W: manual-page-warning /usr/share/man/man1/maze5.1.gz 83: a space character is not allowed in an escape name maze5-gimp.x86_64: W: unstripped-binary-or-object /usr/lib64/gimp/2.0/plugins/maze5gimp Spec URL: http://www.flyn.org/SRPMS/maze5.spec SRPM URL: http://www.flyn.org/SRPMS/maze5-0.8.1-3.fc15.src.rpm Changes: - License is GPLv3+ - Use name macro in Source0 definition - GIMP package requires main package - Don't remove RPM_BUILD_ROOT - plugin-ins, not plugins - Consolidate build requirements - Use -p with install to preserve timestamps I have not yet implemented the compiler flags; I am trying to figure out the best way to do this due to the project's use of scons. Try "env" in SConstrust!
You forgot to require GIMP for the Plug-in.
Please put each BuildRequires on a separate line.
"%{_mandir}/man1/maze5.1.gz" -- Rather make that "%{_mandir}/man1/maze5.1.*"
The rpmlint issues are still there, I suppose. chmod +x on the plug-in .so may solve the stripping problem.
You could take a look at how the Blender package handles (or handled, they're using CMake now) scons:
- You can actually add %{?_smp_mflags} after the scons command since scons uses the same syntax as make for the number of jobs.
- You'll probably have to patch the SConstruct file to read the RPM environment variable "RPM_OPT_FLAGS" and append its contents to CCFLAGS and CXXFLAGS in the scons "Environment" object.
Oh, and the require for the base package has to be in the format "%{name}%{?_isa} = %{version}-%{release}".
Are you still interested in this package? I guess this review is stalled. If you are still interested, please respond! Otherwise I'll close this bug as described in http://fedoraproject.org/wiki/Policy_for_stalled_package_reviews Feel free to re-open it any time though. |