On Tue, 13 Sep 2005, James Knott wrote:-
Audrius wrote:
Hi,
where I could find info on how to make rpm for suse? Or maybe there is
another solution for my problem. I have one old SuSE Linux Standard Server
8.0. In another town there is another such server. I have to configure
support for APC Smart UPS 1500. I will use "apcupsd" package. I cannot find
"apcupsd" rpm package for SLSS8 on the net. I get sources and compiled it on
my server. How can I transfer it to another server? Any suggestions?
Try checkinstall, for making an RPM from source. You'll have to install
it with Yast. Also, you may have to install the C compiler etc.
If there's a spec file included in the source archive, using:
rpmbuild -ta
also works. Also, if you can find the source rpm, you can use:
rpm --rebuild
My preference when building an RPM is to first look for the source rpm
and build from that. If the source is only available as a .tar.gz or a
.tar.bz2, try using the -ta option. If neither of those work, and for
someone not familiar with writing your own spec files, checkinstall is a
good third way of building the binary rpm package.
Personally, I don't use checkinstall, preferring to write my own spec
file. This means that once I've written it, I can tweak the values for
updated versions, merge it with the new source and rebuild.
Regards,
David Bolt
--
Member of Team Acorn checking nodes at 63 Mnodes/s: http://www.distributed.net/
AMD 1800 1Gb WinXP/SuSE 9.3 | AMD 2400 160Mb SuSE 8.1 | AMD 2400 256Mb SuSE 9.0
AMD 1300 512Mb SuSE 9.0 | Falcon 14Mb TOS 4.02 | STE 4Mb TOS 1.62
RPC600 129Mb RISCOS 3.6 | A3010 4Mb RISCOS 3.11 | A4000 4Mb RISCOS 3.11