Here is an SRPM for netpipes.
In all it took about 15 minutes to find the source and a simple spec file.

you can unpack the rpm using "rpm -ivh netpipes-4.2.3.src.rpm"
you can go into ~/rpmbuild/SPEC and then build the rpm using "rpmbuild -ba netpipes.spec"




On 2022-06-12 12:35, William Park via talk wrote:
I gave up.  I installed it to /usr/local.  I'll need to keep the tarball around, so that I'll know what files to remove.

On 2022-06-12 00:44, Kevin Cozens via talk wrote:
On 2022-06-11 18:09, William Park via talk wrote:
I have a directory tree, created from "make install DESTDIR=...".  Now, I want to make RPM package from the tree.  Online docs are too verbose and confusing.
[snip]
I use "netpipes-4.2" a lot.  Debian and Slackware have it, but Redhat variants don't.
[snip]
So, I downloaded the source, compiled it, and installed to a directory. Now what?

I used to build and update .rpm packages back when I was using a distro that used RPM for package management. If you aren't creating your own package from scratch the simplest approach is to download and use the .src.rpm file for the package you want to update. You can modify the .spec file with the name of the newer source code file.

You will also want a .rpmmacros file which sets the packager name, the build directory, and the temporary directory that will be used by rpmbuild.

---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

--
Alvin Starr                   ||   land:  (647)478-6285
Netvel Inc.                   ||   Cell:  (416)806-0133
al...@netvel.net              ||

Attachment: netpipes-4.2-3.src.rpm
Description: application/rpm

---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to