From kde-doc-english Mon May 17 18:09:16 2010 From: Steve Linehan Date: Mon, 17 May 2010 18:09:16 +0000 To: kde-doc-english Subject: [kde-doc-english] Using rpmbuild Message-Id: X-MARC-Message: https://marc.info/?l=kde-doc-english&m=127412103009340 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0076427557==" This is a multipart message in MIME format. --===============0076427557== Content-Type: multipart/alternative; boundary="=_alternative 0063BCFC85257726_=" This is a multipart message in MIME format. --=_alternative 0063BCFC85257726_= Content-Type: text/plain; charset="US-ASCII" Refer to http://kwave.sourceforge.net/doc/en/building_rpm_from_targz.html....CAN YOU HELP ME? There is something missing in this procedure: I am not building kwave, but this is a prototype - I wish to build rpms of a variety of tar.gz files that are needed to install gnumeric. 1. Go to your RPM "topdir". This normally is /usr/src/redhat for the redhat distribution or /usr/src/packages if you have the SuSE distribution. %cd /usr/src/redhat 2. Put the tar.gz archive into the SOURCES subdirectory (you have to replace "somewhere" with the real directory where the files are, of course). %cp /somewhere/kwave-XXX.tar.gzSOURCES 3. Extract the spec file from the archives and put it into the SPEC subdirectory. %tar -xOzf SOURCES/kwave-XXX.tar.gz\*.spec>SPECS/kwave.spec 4. Let rpm do the compile job and generate the rpm of Kwave. If you only want to make a binary package, you can specify -bb instead of -ba, or just -bs to build only a source package. %rpmbuild -bb SPECS/kwave.spec 5. If everything was ok, you can install the binary rpm of Kwave, it will be in the BUILD directory. If you already have a version of Kwave installed, please remove it first or use the parameter -U instead of -i for upgrading instead of installing. %rpm -ivh BUILD/[arch]/kwave-XXX.[arch].rpm The "arch" string should be specified earlier I think and the arch string does not exist as a dir under BUILD. These steps created /usr/src/redhat/RPMS/noarch/intltool-0.37.1-1.noarch.rpm What's Missing?? Steve Linehan --=_alternative 0063BCFC85257726_= Content-Type: text/html; charset="US-ASCII"
Refer to http://kwave.sourceforge.net/doc/en/building_rpm_from_targz.html....CAN YOU HELP ME?

There is something missing in this procedure:  I am not building kwave, but this is a prototype - I wish to build rpms of a variety of tar.gz files that are needed to install gnumeric.


1.        Go to your RPM "topdir". This normally is /usr/src/redhat for the redhat distribution or /usr/src/packages if you have the SuSE distribution.
%cd /usr/src/redhat

2.  Put the tar.gz archive into the SOURCES subdirectory (you have to replace "somewhere" with the real directory where the files are, of course).
%cp        /somewhere/kwave-XXX.tar.gzSOURCES

3.        Extract the spec file from the archives and put it into the SPEC subdirectory.
%tar        -xOzf        SOURCES/kwave-XXX.tar.gz\*.spec>SPECS/kwave.spec

4.        Let rpm do the compile job and generate the rpm of Kwave. If you only want to make a binary package, you can specify -bb instead of -ba, or just -bs to build only a source package.
%rpmbuild        -bb        SPECS/kwave.spec


5.  If everything was ok, you can install the binary rpm of Kwave, it will be in the BUILD directory. If you already have a version of Kwave installed, please remove it first or use the parameter -U instead of -i for upgrading instead of installing.
%rpm        -ivh        BUILD/[arch]/kwave-XXX.[arch].rpm

The "arch" string should be specified earlier I think
and the arch string does not exist as a dir under BUILD.  These
steps created /usr/src/redhat/RPMS/noarch/intltool-0.37.1-1.noarch.rpm

What's Missing??

Steve Linehan
--=_alternative 0063BCFC85257726_=-- --===============0076427557== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-doc-english mailing list kde-doc-english@kde.org https://mail.kde.org/mailman/listinfo/kde-doc-english --===============0076427557==--