Navigation Menu

Skip to content

btuduri/MgaPackageMentoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MgaPackageMentoring

Work in progress on the mageia packaging mentoring.

Directories :

archives : it will be use to import fedora or mandriva packages into mageia.

rpm : it my working directory.

How build a package :

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).

zzuf 0.13 :

  1. Open archives directory :
    cd archives
  1. 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
  1. Install the fedora rpm in your packaging workspace :
    $ rpm -Uvh zzuf-0.13-8.20100215.fc21.src.rpm
  1. Replace the fedora SPEC file by the one of this repository :
    $ cd ../rpm
    $ cp ./zzuf.spec $HOME/rpmbuild/SPEC
  1. Go to the rpmbuild SPEC directory :
    $ cd $HOME/rpmbuild/SPEC
  1. Download the dependancies :
    $ sudo urpmi zzuf.spec
  1. Build the package :
    $ bm -l zzuf.spec

Milkytracker 0.90.85 :

  1. Open archives directory :

    cd archives

  2. 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
  1. Install the fedora rpm in your packaging workspace :
    $ rpm -Uvh milkytracker-0.90.85-8.fc21.src.rpm
  1. Replace the fedora SPEC file by the one of this repository :
    $ cd ../rpm
    $ cp ./milkytracker.spec $HOME/rpmbuild/SPEC
  1. Go to the rpmbuild SPEC directory :
    $ cd $HOME/rpmbuild/SPEC
  1. Download the dependancies :
    $ sudo urpmi milkytracker.spec
  1. Build the package :
    $ bm -l milkytracker.spec

About

Work in progress on the mageia packaging mentoring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published