Re: Creating RPMS from source without Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-10-15 at 15:35 +0200, Mertens, Bram wrote:
> Hi,
> 
> For several applications/tools I'd like to create an RPM to make
> maintenance easier.  However some of these come without a Makefile
> (usually just untar in the correct directory).  For others I'd like to
> add some additional (configuration) files and such.
> 
> According to the maximum rpm book it is recommended to keep patches and
> such separate from the original sources (pristine sources).  But so far
> I've been unable to find an explanation on how exactly to set this up.
> I've download the httpd source rpm and noticed that it contains some
> additional files in the SOURCES directory which have been added as
> additional "SourceX" lines in the spec file.  These are installed by
> additional "install" commands in the spec file.
> 
You may want to start with a package less complex than httpd to see how
things work.

> Is this the recommended approach?  Is there a way to group these files
> somehow?  After installing the httpd source rpm the SOURCE dir was
> filled with files with no way to determin which were related to the
> httpd package wand which not.
> 
You may also want to visit 

http://docs.fedoraproject.org/drafts/rpm-guide-en/ch-creating-rpms.html

for a simpler walkthrough.

-- 
Karl Latiss <karl.latiss@xxxxxxxxxxxxx>
Atvert Systems

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux