Bug 440373
Summary: | Review Request: smc-fonts - malayalam opentype fonts | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pravin Satpute <psatpute> |
Component: | Package Review | Assignee: | Rahul Bhalerao <b.rahul.pm> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | eng-i18n-bugs, fedora-package-review, fonts-bugs, notting, petersen |
Target Milestone: | --- | Flags: | b.rahul.pm:
fedora-review+
petersen: fedora-cvs+ |
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-29 05:55:18 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
Pravin Satpute
2008-04-03 06:35:26 UTC
All subpackages owning /usr/share/fonts/smc-fonts folder since these all fonts are for malayalam script only and no need different folder for each subpackage 1.The variable name for font directory is better be used as fontdir instead of xfontdir. 2. "%{_datadir}/fonts" should not be defined as fontdir, since %{_datadir}/fonts/smc-fonts is anyway being used as a common font directory for all packages, it should be the fontdir. Another problem with this is, the fc-cache in %post section is being run on %{_datadir}/fonts, resulting caching of all the fonts in /usr/share/fonts. Thus take care that the fc-cache runs on the intended directory only. 3. 'Source' should have been the direct download link to the upstream archive. 4. 'URL' should point to the projects homepage. In this case the savanna homepage for the smc project should be ok. 5. The installed font directory should have proper permissions defined as per given in the Font SIG's spec template. http://fedoraproject.org/wiki/SIGs/Fonts/Packaging/SpecTemplate done the changes as suggested :) please see the updated files Please update the release number as well and give the links for updated files. Rahul, if you're reviewing this, please set the fedora-cvs flag to '?'. updated release number links for updated files http://pravins.fedorapeople.org/smc-fonts/smc-fonts-04-2.fc9.src.rpm http://pravins.fedorapeople.org/smc-fonts/smc-fonts.spec A few comments: Please use a capital M for the English name Malayalam in the spec file in various places: ie s/malayalam/Malayalam/ where it makes sense. %fontdir should just be %{_datadir}/fonts/%{fontname}. %defattr(-,root,root,-) should come right after %files. thanks jensp for comments modified spec file as per suggestions links for updates files: http://pravins.fedorapeople.org/smc-fonts/smc-fonts-04-3.fc9.src.rpm http://pravins.fedorapeople.org/smc-fonts/smc-fonts.spec Thanks. The install directory should be just %fontsdir: ie please remove the "-fonts" suffix from the dir in %install and %files. Well the version number is a little funny: dunno if they really mean 0.4, but maybe it is ok. Putting a comment about the shared dir in the spec file would be good. done the modification as per suggestions see the changelog for modifications link for updated files http://pravins.fedorapeople.org/smc-fonts/smc-fonts.spec http://pravins.fedorapeople.org/smc-fonts/smc-fonts-04-4.fc9.src.rpm Review: + scratch build in koji works fine + rpmlint is silent for SRPM and for RPM. + source files match upstream url a88a77e6b22ac077c729234c15671908 malayalam-fonts-04.zip + 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. + build root is correct. + font is open source-compatible. + License text is included in package. + %clean is present. + package installed properly. + Macro use appears rather consistent. + Package contains content. + no headers or static libraries. + no .pc file present. + no -devel subpackage + no .la files. + no translations are available + Does owns the directories it creates. + fonts scriptlets present. + no duplicates in %files. + file permissions are appropriate. + Not a GUI App. APPROVED Pravin, you may continue with the CVSAdmin procedure now. New Package CVS Request ======================= Package Name: smc-fonts Short Description: Open Type Fonts for Malayalam script Owners: pravins Branches: F-9 InitialCC: fonts-sig Cvsextras Commits: yes I suggest simplifying the spec file with the replacement s/-n %{fontname}-fonts-//g before importing to cvs. Jens, done it is working nice :) http://pravins.fedorapeople.org/smc-fonts/smc-fonts.spec http://pravins.fedorapeople.org/smc-fonts/smc-fonts-04-5.fc9.src.rpm cvs admin done |