[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: turn a tarball into RPM
- From: Stephen Mah <steve mah oracle com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: turn a tarball into RPM
- Date: Tue, 31 Aug 2004 15:04:02 -0700
thanks for the tip:
Now, I'm getting a weird error:
+ umask 022
+ cd /home/skmah/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cp -r /home/skmah/rpmbuild/BUILD/its-enhancer /opt
+ install -m 644 /home/skmah/rpmbuild/SOURCES/its_enhancer.png
/usr/share/icons/foobar_enhancer.png
+ install -m 644 /home/skmah/rpmbuild/SOURCES/its_enhancer.png
/usr/share/icons/foobar_enhancer.png
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
Processing files: its-11-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
getOutputFrom(): Broken pipe
It only happens when I have these 2 lines: install -m 644 %{SOURCE1}
/usr/share/icons/foobar_enhancer.png, &
/usr/share/icons/foobar_enhancer.png (under %files)
%install
cp -r ${RPM_BUILD_DIR}/foobar-enhancer /opt
install -m 644 %{SOURCE1} /usr/share/icons/foobar_enhancer.png
%files
%defattr(-,root,desktop, 0775)
/opt/foobar-enhancer/*
/usr/share/icons/foobar_enhancer.png
Matthew Miller wrote:
On Tue, Aug 31, 2004 at 11:32:28AM -0700, Stephen Mah wrote:
I'm trying to create an rpm that does not need to compile any code. I
just need it to extract the tar-ball into a directory and create a few
icons. Is this possible?
Sure. Skip the %build step.
When I tried, it tried to find the configure file.
/var/tmp/rpm-tmp.67234: line 47: ./configure: No such file or directory
There must be a line in your spec file that calls configure. Remove it. :)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]