2014-02-11, 00:22
I currently have the following configuration of Gotham building and running on Fedora 19:
You can clone my spec file and mock configuration from https://github.com/javanix-seven/xbmc-fedora
Is there any interest in merging some sort of rpm build process support into the source tree so that users could check out XBMC and build an rpm from source? I could provide a spec file and a mock configuration to this end (though the mock config would not be strictly necessary, it just makes validating and testing builds easier).
I will be maintaining this for my own use as I run a Fedora 19 HTPC, but if there is interest I would be willing to work on merging a "make rpm" target into the build process.
Quick guide to building for Fedora 19:
1) Install mock - available for CentOS, Fedora through EPEL, other distros as well
2) Download xbmc-fedora-19-i386.cfg and xbmc-fedora-19-x86_64.cfg to /etc/mock/
3) Download xbmc.spec
4) Make a "sources" directory.
5) Git clone https://github.com/xbmc/xbmc.git inside "sources"
6) Create an RPM-friendly source archive:6a) 7) Build SRPM: 8) Compile i686: 9) Compile x86_64:
Code:
./configure --disable-dvdcss --disable-afpclient --disable-mysql --disable-webserver --disable-optical-drive --disable-rsxs
You can clone my spec file and mock configuration from https://github.com/javanix-seven/xbmc-fedora
Is there any interest in merging some sort of rpm build process support into the source tree so that users could check out XBMC and build an rpm from source? I could provide a spec file and a mock configuration to this end (though the mock config would not be strictly necessary, it just makes validating and testing builds easier).
I will be maintaining this for my own use as I run a Fedora 19 HTPC, but if there is interest I would be willing to work on merging a "make rpm" target into the build process.
Quick guide to building for Fedora 19:
1) Install mock - available for CentOS, Fedora through EPEL, other distros as well
2) Download xbmc-fedora-19-i386.cfg and xbmc-fedora-19-x86_64.cfg to /etc/mock/
3) Download xbmc.spec
4) Make a "sources" directory.
5) Git clone https://github.com/xbmc/xbmc.git inside "sources"
6) Create an RPM-friendly source archive:
Code:
mv sources/xbmc sources/xbmc-13.0
Code:
cd sources ; tar -czf xbmc-13.0.tar.gz xbmc-13.0
Code:
mock -r xbmc-fedora-19-i386 --resultdir=./srpm --buildsrpm --sources=./sources --spec=./xbmc.spec
Code:
mock -r xbmc-fedora-19-i386 --resultdir=./ ./srpm/*.src.rpm
Code:
mock -r xbmc-fedora-19-x86_64 --resultdir=./ ./srpm/*.src.rpm