Author Topic: New Packagers - How to get Started  (Read 1189 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
New Packagers - How to get Started
« on: July 04, 2012, 12:20:59 AM »
Go to ---     
http://distro.ibiblio.org/pub/linux/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/     
and scroll down to the SRPMS.(*) sections. Clicking any of those links will open that section, where you will find SRPMs for PCLinuxOS.     
These are the best src.rpms to start out with to learn to package to PCLinuxOS standards. Study them. Look closely at how the spec files are written.     

You should not start with an SRPM from another distro, as these will require changes you may be unaware of. They often use different naming conventions, so that the BuildRequires and Requires in their spec files will call for something that has a different name in PCLinuxOS. They may install to different directories, which will cause difficulties, also.     

The point is that you should start with learning to rebuild PCLinuxOS packages, proceed to learning how to upgrade our packages and only after learning how to create a PCLinuxOS package should you attempt to convert an SRPM from elsewhere.     

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15316
  • ┌∩┐(◕_◕)┌∩┐
Re: New Packagers - How to get Started
« Reply #1 on: July 06, 2012, 06:38:19 AM »
Neal, can SRPMS.(*) section folders from other repo mirrors be used in place of Ibiblio ?
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: New Packagers - How to get Started
« Reply #2 on: July 07, 2012, 03:28:36 AM »
Neal, can SRPMS.(*) section folders from other repo mirrors be used in place of Ibiblio ?
     
Yes, of course they can.