Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-10-13 09:01:42

ggstone
Member
Registered: 2011-10-12
Posts: 12

How to make rpm package for xfce?

hi,
I can complie and operate the xfce4-4.6.1 in my host pc now,
but I need to make the rpm package of xfce4-4.6.1 in order to install it to another system.
How can I make it? any idea?

thanks very much!

Last edited by ggstone (2011-10-13 09:02:31)

Offline

#2 2011-10-13 10:50:30

rijnsma
Member
From: NL
Registered: 2011-09-05
Posts: 38

Re: How to make rpm package for xfce?

It will not always succeed, but maybe 'alien'?

Offline

#3 2011-10-13 10:54:13

mmassonnet
Member
From: the milky way galaxy
Registered: 2006-07-30
Posts: 99
Website

Re: How to make rpm package for xfce?

I once had to build RPMs, I hope this can get you started:
http://blog.mmassonnet.info/2009/10/rpm … oblin.html


Mike

Offline

#4 2011-10-14 05:29:47

ggstone
Member
Registered: 2011-10-12
Posts: 12

Re: How to make rpm package for xfce?

thanks for your reply:
I find that there is spec file in xfdesktop dir, named xfdesktop.spec,
I think I can use it to build rpm. right?

Offline

#5 2011-10-14 13:03:17

angstrom
Member
Registered: 2011-08-13
Posts: 267

Re: How to make rpm package for xfce?

A suggestion :
- Find a similar package in Fedora or Opensuse (that use rpm system)
- Download and install the source rpm
- Then adapt the .spec generated to your system
- Build your xfce rpm with the hacked .spec


Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...

Offline

#6 2011-10-16 15:31:05

ggstone
Member
Registered: 2011-10-12
Posts: 12

Re: How to make rpm package for xfce?

Thanks angstrom,
Do you mean I install the xfce.rpm package to my RHEL6,and then copy the spec to the xfce dir to creat the new spec?
all of the other xfce applications should do like this?

Last edited by ggstone (2011-10-16 15:32:57)

Offline

#7 2011-10-16 17:34:24

angstrom
Member
Registered: 2011-08-13
Posts: 267

Re: How to make rpm package for xfce?

I don't know why you have to build rpm file.
For me, I do it sometime when there is new version a package (for example thunar.0.5) and the new rpm is not yet available. So I download an old version source rpm (thunar.0.4.src.rpm) . Installed it. Save the thunar.0.4.spec file to thunar.0.5.spec. Adapt the thunar.0.5.spec file : change the source tar ball used to compile to the new source version (thunar.0.5.tar.gz), edit the name of the new rpm package (thunar.0.5.rpm), required packages, patches, etc ... Then build the new rpm package like in the link mmassonnet gave previously with the adapted thunar.0.5.spec

As Xfce is composed by several packages, you will have to do it for each of them.

Usually, there are mails of people that build rpm in the .spec file. Try to ask them for advices, how they do, etc ...

Last edited by angstrom (2011-10-16 17:37:43)


Xfce is NOT Xubuntu. Bugs in Xubuntu don't mean that Xfce is buggy ...

Offline

#8 2011-10-17 03:18:53

ggstone
Member
Registered: 2011-10-12
Posts: 12

Re: How to make rpm package for xfce?

angstrom ,thank you very much!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 536.52 KiB (Peak: 537.36 KiB) ]