Author Topic: Easy RPM Builder  (Read 579 times)

Online tele

  • Full Member
  • ***
  • Posts: 197
Easy RPM Builder
« on: June 27, 2012, 03:29:23 AM »

How I can use "Easy RPM Builder"  ?

http://kde-apps.org/content/show.php?content=114271

1. Open source like tar.bz ,write name, version, group, choose distribution,
and what now?
---
Sorry, if my language is wrong,
you please write notice where I do mistakes, I will try to learn.

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 723
Re: Easy RPM Builder
« Reply #1 on: June 27, 2012, 05:02:46 AM »
How I can use "Easy RPM Builder"  ?

Are you asking with regard to packaging for PCLinuxOS (the topic of this board)?

If so, the answer is "you don't"  ;)  ;D

Packaging for a distro involves more than just "producing an RPM file".  Dependencies have to be carefully managed (relative to the repository as whole not just the host system), the configs have to be integrated correctly into the system including taking account of the (various) Desktop Environment.  That is why most distros (including this one) have packaging guidelines which MUST be followed in order to produce suitable RPMs.

For the simplest packages, these automatic RPM roller applications MAY produce an RPM which will install and run correctly on YOUR system with YOUR configuration but will certainly not produce anything that could be accepted into a distro repository without extensive modification.

If you are looking for something to produce "template" spec files then you are better off looking at the existing SRPMS in the PCLinuxOS repository.

Hope that helps
Terry.
« Last Edit: June 27, 2012, 05:08:30 AM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Online tele

  • Full Member
  • ***
  • Posts: 197
Re: Easy RPM Builder
« Reply #2 on: June 27, 2012, 05:28:27 AM »
Quote
If so, the answer is "you don't"

I wanted to quickly and easily make rpm from source code :(
program looks interesting, but I do not know how to use it.
I don't have CheckInstall, so
I go back to
How to build rpm packages from source.avi

and  www.montanalinux.org/files/RPM_Build_Manual_Rev2.pdf
---
Sorry, if my language is wrong,
you please write notice where I do mistakes, I will try to learn.

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Easy RPM Builder
« Reply #3 on: June 27, 2012, 05:47:28 AM »
The Rev2.pdf is an old document but can still be used as a base for learning to package for PCLinuxOS.

Piece of advice: if you are learning, choose an easy RPM ... maybe one of the themes - icon, font, wallpaper, etc. Once you've extracted the specfile and inspected it, you can ask questions on portions you do not understand.

The only way to package for PCLinuxOS is to try (at least) to understand what the specfile does. There is no easy way but once you get the hang of it, you won't think it's that hard ... well, it still is a little hard.

You will have build fails and you will be confused ... we're here to help but looking for an easy way to do things, is like saying I just wanna create something but don't want to learn how ... then count me out.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Easy RPM Builder
« Reply #4 on: June 27, 2012, 06:24:35 AM »
Easy to package RPMs? Not really, though some are not at all difficult. Rewarding? Absolutely.     

tele,
What Leiche said applies to your video. If you want to package for PCLinuxOS, you will want to learn to do it the PCLinuxOS way. Packaging for PCLinuxOS using instructions from and the standards of another distro will lead to problems. Best to learn the PCLinxOS way and avoid the problems.