RPM Creation for PHP Application

Greg_Swift at aotx.uscourts.gov Greg_Swift at aotx.uscourts.gov
Mon Jun 21 16:40:36 UTC 2010


It is as simple as a cp/mv.  Untar via setup, and then in the build section
create your directory structure under %{buildoot} (or $RPM_BUILD_ROOT
whichever variable you are already using), and then cp/mv all the files
into place.

-greg

-----rpm-list-bounces at lists.rpm.org wrote: -----

To: rpm-list at lists.rpm.org
From: toneeedavis at googlemail.com
Sent by: rpm-list-bounces at lists.rpm.org
Date: 14.06.2010 08:56
Subject: RPM Creation for PHP Application

Hi,

I am trying to create an RPM to distribute a php application I have
written, but am getting a little stuck on how to get the files to where i
want them to be...

so i have created a tar.gz with the source code in it, how to write in
the .spec file so that it moves it to the directory I want it to be in, is
it as simple as a cp or a mv?

Hope someone can help.

Kind Regards

Tony

_______________________________________________
Rpm-list mailing list
Rpm-list at lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-list




More information about the Rpm-list mailing list