Paul Smith wrote:
On 5/10/06, Paul Howarth <paul@xxxxxxxxxxxx> wrote:
>> > I have got the source of a program, which consists of a bunch of
.cpp
>> > and .h files. I would like to create a rpm from those files. Could
>> > someone here please give me some directions in case it is
possible and
>> > easy? Usually, one only has to run ./configure and then make and
>> > checkinstall, but in this case there is no configure file.
>>
>> Now's the time to learn to make real packages instead of using
>> checkinstall :-)
>>
>> Some useful references:
>> http://freshrpms.net/docs/fight/
>> http://www.gurulabs.com/goodies/guru+guides.php
>> http://rpm.org/max-rpm-snapshot/
>
> Thanks, Paul. I will try to learn that, but in the mentioned case,
> there is no configure file, contrarily to what seems to be expected to
> begin the rpm creation.
The configure step is not used by all packages. The general approach to
package building is to follow the steps needed to build the package
manually (as described in the software's documentation), and capture
those steps in the RPM spec file. If a package doesn't need a configure
step, don't try doing it. If it needs some other step(s) doing, do those
steps, etc.
> Please, notice that the last two links are directed to empty pages.
They weren't when I tried them a minute before I posted. Sure you're not
having problems at your end?
Thanks again, Paul. The problem is that the source file has no
documentation; I am trying to create a rpm of pdftoipe:
http://ipe.compgeom.org/pdftoipe-20051114.tar.gz
Instructions for building the package are in the readme.txt file. It
uses qmake, from the qt-devel package.
Paul.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list