Bug 991376
| Summary: | RFE: convert wesnoth.spec file to use scons | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Tyler <stephent98> | ||||
| Component: | wesnoth | Assignee: | Gwyn Ciesla <gwync> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | bruno, gwync, stephent98 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-08-12 18:32:08 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Steve Tyler
2013-08-02 09:28:22 UTC
The INSTALL file from wesnoth-1.10.6.tar has this section: 3. SCons Build Created attachment 781959 [details]
scons build log for wesnoth-1.10.6
wesnoth-1.10.6 builds fine with scons. With the appropriate mandir option, the man pages are installed correctly.
$ sudo scons install mandir=/usr/share/man
$ less -N scons-install-3.txt
1 scons: Reading SConscript files ...
2 Saved options: default_targets = 'wesnoth,wesnothd', bindir = '/bin', mandir = '/usr/share/man'
3 Building Wesnoth version 1.10.6
...
$ cat scons-install-3.txt | grep 'Install file: "doc/man/' | wc -l
53
Tested with F19 in a VM:
$ qemu-kvm -m 4096 -hda f19-test-3.img -cdrom ~/xfr/fedora/F19/Fedora-19-x86_64-DVD.iso -vga std -boot menu=on
I completed an rpmbuild using Will's spec file, and it appears to have worked great. The log is ~500k, so I won't attach it. The wesnoth.spec file may need to incorporate these changes: Bug 850365 - Introduce new systemd-rpm macros in wesnoth spec file Packaging:ScriptletSnippets Systemd https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd Bug 850016 - (systemd/Presets) Tracker bug for conversion to new systemd-rpm macros Thanks for your work on this. I restored the font unbundling bits. |