[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
packaging up a bunch of files
- From: Joe Van Dyk <joevandyk gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: packaging up a bunch of files
- Date: Wed, 1 Feb 2006 15:08:41 -0800
Hi,
I want to package up a bunch of files (pre-built binaries) that should
get installed to /usr/local/some/path.
Would the following spec snippet be ok?
BuildRoot: %{_tmpdir}/%{name}-%{version}-root
%description
Description here
%prep
%setup
%build
# Nothing, it's already built.
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/local/%{name}-%{version}
cp -R . $RPM_BUILD_ROOT%{_prefix}/local/%{name}-%{version}
%files
# What goes here? I just want all the files that were in the tar.gz
file to be installed to /usr/local/some/path.
Thanks,
Joe
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]