Work in progress on the mageia packaging mentoring.
archives : it will be use to import fedora or mandriva packages into mageia.
rpm : it my working directory.
Only zzuf and milkytracker 0.90.85 are buildable
Before you need to have a rpmbuild up to date and correctly configured for Mageia system. (cf the mageia wiki).
- Open archives directory :
cd archives
- Download the fedora package :
$ wget `cat zzuf-0.13-8.20100215.fc21.src.rpm.download-url`
$ sha512sum -c zzuf-0.13-8.20100215.fc21.src.rpm.download-url.sha512
zzuf-0.13-8.20100215.fc21.src.rpm: OK
- Install the fedora rpm in your packaging workspace :
$ rpm -Uvh zzuf-0.13-8.20100215.fc21.src.rpm
- Replace the fedora SPEC file by the one of this repository :
$ cd ../rpm
$ cp ./zzuf.spec $HOME/rpmbuild/SPEC
- Go to the rpmbuild SPEC directory :
$ cd $HOME/rpmbuild/SPEC
- Download the dependancies :
$ sudo urpmi zzuf.spec
- Build the package :
$ bm -l zzuf.spec
-
Open archives directory :
cd archives
-
Download the fedora package :
$ wget `cat milkytracker-0.90.85-8.fc21.src.rpm.download-url`
$ sha512sum -c milkytracker-0.90.85-8.fc21.src.rpm.download-url.sha512
milkytracker-0.90.85-8.fc21.src.rpm: OK
- Install the fedora rpm in your packaging workspace :
$ rpm -Uvh milkytracker-0.90.85-8.fc21.src.rpm
- Replace the fedora SPEC file by the one of this repository :
$ cd ../rpm
$ cp ./milkytracker.spec $HOME/rpmbuild/SPEC
- Go to the rpmbuild SPEC directory :
$ cd $HOME/rpmbuild/SPEC
- Download the dependancies :
$ sudo urpmi milkytracker.spec
- Build the package :
$ bm -l milkytracker.spec