You are not logged in.

#1 2015-10-07 06:38:41

stackoverflow
Member
Registered: 2015-09-23
Posts: 43

spec2arch in pkgtools

hi every body..
i have trouble to install oracle-xe 11g on my arch system.
after a very long search i found this package:pkgtools
and i try to use spec2arch to convert .rpm spec to PKGBUILD..but unfortunatly no wiki to help me..
any body no idea to do this great job and explain it clear?
thanks in advance..

Offline

#2 2015-10-07 10:31:09

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,396

Re: spec2arch in pkgtools

I know nothing about pkgtools or spec2arch, but i can tell you it's not going to be easy.

For the aur cndrvcups-common-lb & cndrvcups-lb (drivers for canon printers) i had to 'translate' the .spec file into PKGBUILD , so do have some xp  .

Is oracle-xe 11g source code available for download ?

if not, please post the .spec file .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-10-07 11:08:00

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: spec2arch in pkgtools

More info on your problem! Here is a minimal checklist you should work with, before asking for help. Practice brings competence.

1. Have you read the makepkg and PKGBUILD relevant wiki articles. If not, start there.
2. Provide the source of your software. Don't let us pluck the bogus out of your nose. Links!
3. Have you started writing a PKGBUILD? Where is your draft? Post it here.
4. What exact problems do you encounter with your PKGBUILD? Post error messages, if you got any.
5. Why would you need converted RPM specs? What does the documentation of the software tell you about dependencies? Where is the link to that documentation, so we don't have to do your legwork.

Offline

#4 2015-10-07 11:12:37

stackoverflow
Member
Registered: 2015-09-23
Posts: 43

Re: spec2arch in pkgtools

yes i download it and available for me.but i dont have any ideat to install .rpm package through pacman!!!
all my treasure is a .rpm file and i want your help to install it through pacman ..

Offline

#5 2015-10-07 14:08:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: spec2arch in pkgtools

We'll be happy to help.  But you will find archers much prefer to actually help you do what you want rather than doing it for you.

It seems you were first considering using a tool to convert a .spec file to a PKGBUILD.  I'd advise against this.  If you read up just a little on how to write PKGBUILDs, you'll find that converting a .spec file to a PKGBUILD should be trivially easy without any conversion tool.  A .spec file provides all the instructions to build the software - a PKGBUILD requires the instructions to build the software: they have the same ingredients.

The difference, as alluded to above, is that the specific package names of dependencies may be completely different.  So the work will be in finding arch-equivalents of the rpm dependencies, this might not be a trivial task, and I doubt any automated tool could do this for you.


But you do have another option.  There are tools to convert build rpm packages to arch packages.  These tools tend to work pretty well.  But I'd still advise working on a PKGBUILD.

Follow the steps outlined by Awebb, and feel free to ask for input here along the way.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB