[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Building an RPM from a compiled application
- From: Tim Mooney <mooney dogbert cc ndsu NoDak edu>
- To: rpm-list redhat com
- Subject: Re: Building an RPM from a compiled application
- Date: Tue, 12 Sep 2000 19:06:05 -0500 (CDT)
In regard to: Building an RPM from a compiled application, Bill Woodward...:
>1) Create a spec file that builds the source, installs into
>RPM_BUILD_ROOT, and packages up the files. This seems to be more how
>rpm is expected to work, but it requires us to rework an automated build
>environment, only for Linux (yes, we're not going to ship rpms on other
>platforms)
This is the preferable way. I've giving you rope by answering part 2. :-)
>2) Build normally, and just use rpm for the packaging. This seems to
>make more sense from our build environment, but I can't figure out how
>to do it.
This can be done by making %prep, %build, %install, and %clean
just
exit 0
and then listing the necessary files (built and installed outside of rpm's
control, previous to running rpm to do the packaging) in the %files
section.
Tim
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J1, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]