WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

[taprobane] Packaging RPMs

View: New views
9 Messages — Rating Filter:   Alert me  

[taprobane] Packaging RPMs

by Anuradha Ratnaweera :: Rate this Message:

| View Threaded | Show Only this Message

Hi all,

Those who are working on building RPMs will find the following two
documents useful:

http://www-128.ibm.com/developerworks/library/l-rpm1/
http://www-128.ibm.com/developerworks/library/l-rpm2/

        Anuradha
--
http://www.linux.lk/~anuradha/
http://anuradha-ratnaweera.blogspot.com
N�HY޵隊X���'���u���[�������
ަ�k��!���W�~�鮆�zk��C� 塧m����@^ǚ��^��z�Z�f�z�j�!�x2�������ɫ,��� a{� �,�H��4�m�����Z��jY�w��ǥrg�y$��~7ٸ��}8�Z�׮6��k���z�z������x%��mj��m�ށ�ޭ�e��l���q���z�m��?�X���(��~��zw��X�����b��?��k���z�z��

[taprobane] Re: Packaging RPMs

by Anuradha Ratnaweera :: Rate this Message:

| View Threaded | Show Only this Message

On 2/9/06, Anuradha Ratnaweera <gnu.slash.linux@...> wrote:
> Hi all,
>
> Those who are working on building RPMs will find the following two
> documents useful:
>
> http://www-128.ibm.com/developerworks/library/l-rpm1/
> http://www-128.ibm.com/developerworks/library/l-rpm2/

... and part 3:

http://www-128.ibm.com/developerworks/library/l-rpm3/

        Anuradha
--
http://www.linux.lk/~anuradha/
http://anuradha-ratnaweera.blogspot.com
N�HY޵隊X���'���u���[�������
ަ�k��!���W�~�鮆�zk��C� 塧m����@^ǚ��^��z�Z�f�z�j�!�x2�������ɫ,��� a{� �,�H��4�m�����Z��jY�w��ǥrg�y$��~7ٸ��}8�Z�׮6��k���z�z������x%��mj��m�ށ�ޭ�e��l���q���z�m��?�X���(��~��zw��X�����b��?��k���z�z��

Parent Message unknown Re: [taprobane] Packaging RPMs

by Chamindra de Silva :: Rate this Message:

| View Threaded | Show Only this Message

Anuradha Ratnaweera wrote:
> Those who are working on building RPMs will find the following two
> documents useful:
>
> http://www-128.ibm.com/developerworks/library/l-rpm1/
> http://www-128.ibm.com/developerworks/library/l-rpm2/
>
BTW how will we be using RPMs in Taprobane? I thought we were going to
be more aligned to the Debian community or is this for something else.

--
chamindra
http://www.linux.lk/~chamindra


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
taprobane-general mailing list
taprobane-general@...
https://lists.sourceforge.net/lists/listinfo/taprobane-general

Parent Message unknown Re: [taprobane] Packaging RPMs

by Anuradha Ratnaweera :: Rate this Message:

| View Threaded | Show Only this Message

On 2/9/06, chamindra <chamindra@...> wrote:
> Anuradha Ratnaweera wrote:
> > Those who are working on building RPMs will find the following two
> > documents useful:
> >
> > http://www-128.ibm.com/developerworks/library/l-rpm1/
> > http://www-128.ibm.com/developerworks/library/l-rpm2/
> >
> How will we be using RPMs in Taprobane? I thought we were going to be
> more aligned to the Debian community.

Saegiri can run on ANY system.  Making RPMs of apt-cacher is something
Srimal has undertaken.

        Anuradha
--
http://www.linux.lk/~anuradha/
http://anuradha-ratnaweera.blogspot.com
N�HY޵隊X���'���u���[�������
ަ�k��!���W�~�鮆�zk��C� 塧m����@^ǚ��^��z�Z�f�z�j�!�x2�������ɫ,��� a{� �,�H��4�m�����Z��jY�w��ǥrg�y$��~7ٸ��}8�Z�׮6��k���z�z������x%��mj��m�ށ�ޭ�e��l���q���z�m��?�X���(��~��zw��X�����b��?��k���z�z��

Parent Message unknown RE: [taprobane] Packaging RPMs

by Kosala Atapattu :: Rate this Message:

| View Threaded | Show Only this Message

> > http://www-128.ibm.com/developerworks/library/l-rpm1/
> > http://www-128.ibm.com/developerworks/library/l-rpm2/
> >
> BTW how will we be using RPMs in Taprobane? I thought we were
> going to be more aligned to the Debian community or is this
> for something else.

Well not really...even I'm confused...

http://www.openpkg.org/
http://www.kolab.org/

Will give you an idea....I didn't understand (not really looked) how
this works. That's how kolab install on debian with RPMs (I've not tried
kolab yet...).

Kosala

[Kosala Atapattu.vcf]

BEGIN:VCARD
VERSION:2.1
N:Atapattu;Kosala
FN:Kosala Atapattu
ORG:Carsons Manaegement Services (Pvt) Ltd.
TITLE:Asst. Network Engineer
TEL;WORK;VOICE:94-11-2337665
TEL;WORK;FAX:94-11-2337685
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;20, Dinasiri Lane,=0D=0AEgodauyana,;Moratuwa;Western Province;10400;Sri La=
nka
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:20, Dinasiri Lane,=0D=0AEgodauyana,=0D=0AMoratuwa, Western Province 10400=
=0D=0ASri Lanka
EMAIL;PREF;INTERNET:kosalaa@...
REV:20051114T100658Z
END:VCARD


Re: [taprobane] Packaging RPMs

by Kamal Wickramanayake :: Rate this Message:

| View Threaded | Show Only this Message

Presently I don't simply care about writing spec files to create rpms thanks to 'checkinstall' which can also generate deb packages. You simply type:

1. ./configure
2. make
3. su
4. checkinstall (instead of 'make install' or 'checkinstall install.sh' instead of './install.sh')

Checkinstall: http://asic-linux.com.mx/~izto/checkinstall/

Anyway, in a deb based system one can do the following to get the software inside an rpm file and then proceed (may be use checkinstall...):

rpm2cpio mypkg-1.0.rpm | cpio -idv


On 2/9/06, Kosala Atapattu <kosalaa@...> wrote:
> > http://www-128.ibm.com/developerworks/library/l-rpm1/
> > http://www-128.ibm.com/developerworks/library/l-rpm2/
> >
> BTW how will we be using RPMs in Taprobane? I thought we were
> going to be more aligned to the Debian community or is this
> for something else.

Well not really...even I'm confused...

http://www.openpkg.org/
http://www.kolab.org/

Will give you an idea....I didn't understand (not really looked) how
this works. That's how kolab install on debian with RPMs (I've not tried
kolab yet...).

Kosala





--
Kamal Wickramanayake
Technical Trainer
Virtusa (Pvt) Ltd
http://sky.freeshell.org/

Parent Message unknown RE: [taprobane] Packaging RPMs

by Kosala Atapattu :: Rate this Message:

| View Threaded | Show Only this Message

In my Debian systems I simply do "rpm -i --nodeps ", for packages that
has only RPMs (like open office). I have a touch of LFS, so I tend to
compile most of the packages, but now as a guide line I have defined
what I'm gonna compile and what I'm not gonna compile.

For example, I compile apache + PHP but never openssl openldap and imap.
In simple terms it's ok to compile end nodes of the package trees. But
never compile X like packages, which other programs are depending on, if
you do your whole distribution is in a mess.

In that basis I simply install RPMs as well. I install openoffice from
RPMs by simply ignoring dependencies, but I make sure all the libraries
are in place (not broken).

Well this is yet another user comment from a frustrated user who is not
really appreciating multiple distribution concept :-).

Kosala

________________________________

        From: Kamal Wickramanayake [mailto:manamalaya@...]
        Sent: Thursday, February 09, 2006 17:30
        To: Kosala Atapattu
        Cc: Chamindra de Silva; taprobane gnu/linux
        Subject: Re: [taprobane] Packaging RPMs
       
       
        Presently I don't simply care about writing spec files to create
rpms thanks to 'checkinstall' which can also generate deb packages. You
simply type:
       
        1. ./configure
        2. make
        3. su
        4. checkinstall (instead of 'make install' or 'checkinstall
install.sh' instead of './install.sh')
       
        Checkinstall: http://asic-linux.com.mx/~izto/checkinstall/
       
        Anyway, in a deb based system one can do the following to get
the software inside an rpm file and then proceed (may be use
checkinstall...):
       
        rpm2cpio mypkg-1.0.rpm | cpio -idv
       
       
       
        On 2/9/06, Kosala Atapattu <kosalaa@...> wrote:

                > >
http://www-128.ibm.com/developerworks/library/l-rpm1/
                > >
http://www-128.ibm.com/developerworks/library/l-rpm2/
<http://www-128.ibm.com/developerworks/library/l-rpm2/>
                > >
                > BTW how will we be using RPMs in Taprobane? I thought
we were
                > going to be more aligned to the Debian community or is
this
                > for something else.
               
                Well not really...even I'm confused...
               
                http://www.openpkg.org/
                http://www.kolab.org/
               
                Will give you an idea....I didn't understand (not really
looked) how
                this works. That's how kolab install on debian with RPMs
(I've not tried
                kolab yet...).
               
                Kosala
               
               
               




        --
        Kamal Wickramanayake
        Technical Trainer
        Virtusa (Pvt) Ltd
        http://sky.freeshell.org/ 


[Kosala Atapattu.vcf]

BEGIN:VCARD
VERSION:2.1
N:Atapattu;Kosala
FN:Kosala Atapattu
ORG:Carsons Manaegement Services (Pvt) Ltd.
TITLE:Asst. Network Engineer
TEL;WORK;VOICE:94-11-2337665
TEL;WORK;FAX:94-11-2337685
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;20, Dinasiri Lane,=0D=0AEgodauyana,;Moratuwa;Western Province;10400;Sri La=
nka
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:20, Dinasiri Lane,=0D=0AEgodauyana,=0D=0AMoratuwa, Western Province 10400=
=0D=0ASri Lanka
EMAIL;PREF;INTERNET:kosalaa@...
REV:20051114T100658Z
END:VCARD


Re: [taprobane] Packaging RPMs

by Chamindra de Silva :: Rate this Message:

| View Threaded | Show Only this Message

Kosala Atapattu wrote:
> In my Debian systems I simply do "rpm -i --nodeps ", for packages that
> has only RPMs (like open office). I have a touch of LFS, so I tend to
> compile most of the packages, but now as a guide line I have defined
> what I'm gonna compile and what I'm not gonna compile.

AFAIK having Saegiri in RPM form does not mean you mix distros
dependencies in Taprobane. All it means is that you can build Debian
based Taprobane within an RPM based distro.

BTW checkinstall and alien might be a better way to install RPMs into
Debian.


--
chamindra
http://www.linux.lk/~chamindra


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
taprobane-general mailing list
taprobane-general@...
https://lists.sourceforge.net/lists/listinfo/taprobane-general

Re: [taprobane] Packaging RPMs

by Chamindra de Silva :: Rate this Message:

| View Threaded | Show Only this Message

Kamal Wickramanayake wrote:

> Presently I don't simply care about writing spec files to create rpms
> thanks to 'checkinstall' which can also generate deb packages. You
> simply type:
>
> 1. ./configure
> 2. make
> 3. su
> 4. checkinstall (instead of 'make install' or 'checkinstall install.sh'
> instead of './install.sh')
>
> Checkinstall: http://asic-linux.com.mx/~izto/checkinstall/
>
> Anyway, in a deb based system one can do the following to get the
> software inside an rpm file and then proceed (may be use checkinstall...):
>
BTW checkinstall uses a package called installwatch and it is pretty
cool how it works.

"  Installwatch is an extremely simple utility I wrote to keep track of
    created and modified files during the installation of a new program.

    It's fast and easy to use. It doesn't require a ``pre-install'' phase
    because it monitors processes while they run.

    Installwatch works with every dynamically linked ELF program,
    overriding system calls that cause file system alterations. Some of
    such system calls are open(2) and unlink(2). "

Ref: http://asic-linux.com.mx/~izto/checkinstall/installwatch.html

--
chamindra
http://www.linux.lk/~chamindra


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
taprobane-general mailing list
taprobane-general@...
https://lists.sourceforge.net/lists/listinfo/taprobane-general