On Mon, Aug 7, 2023 at 12:01 PM Windl, Ulrich <u.windl@ukr.de> wrote:I think the question is somewhat off-topic here: Learn how to build an RPM package from elsewhere, maybe https://www.redhat.com/sysadmin/create-rpm-package or https://developers.redhat.com/blog/2019/03/18/rpm-packaging-guide-creating-rpm or https://linuxconfig.org/how-to-create-an-rpm-package
-----Original Message-----
From: Kaushal Shriyan <kaushalshriyan@gmail.com>
Sent: Sunday, August 6, 2023 3:51 AM
To: openldap-technical@openldap.org
Subject: [EXT] rhel8 OS rpm spec file
Hi,
Is there a way to generate openldap-servers.x86_64 rpm spec file from https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.5.15.tgz?
# ll
total 900
-rw-r--r-- 1 1001 1001 11109 Jul 10 21:59 aclocal.m4
-rw-r--r-- 1 1001 1001 6100 Jul 10 21:59 ANNOUNCEMENT
drwxr-xr-x 2 1001 1001 4096 Jul 10 21:59 build
-rw-r--r-- 1 1001 1001 14120 Jul 10 21:59 CHANGES
drwxr-xr-x 3 1001 1001 38 Jul 10 21:59 clients
-rwxr-xr-x 1 1001 1001 753489 Jul 10 21:59 configure
-rw-r--r-- 1 1001 1001 99724 Jul 10 21:59 configure.ac <http://configure.ac>
drwxr-xr-x 7 1001 1001 129 Jul 10 21:59 contrib
-rw-r--r-- 1 1001 1001 2345 Jul 10 21:59 COPYRIGHT
drwxr-xr-x 8 1001 1001 102 Jul 10 21:59 doc
drwxr-xr-x 3 1001 1001 4096 Jul 10 21:59 include
-rw-r--r-- 1 1001 1001 3793 Jul 10 21:59 INSTALL
drwxr-xr-x 8 1001 1001 123 Jul 10 21:59 libraries
-rw-r--r-- 1 1001 1001 2214 Jul 10 21:59 LICENSE
-rw-r--r-- 1 1001 1001 1029 Jul 10 21:59 Makefile.in
-rw-r--r-- 1 1001 1001 3594 Jul 10 21:59 README
drwxr-xr-x 4 1001 1001 52 Jul 10 21:59 servers
drwxr-xr-x 5 1001 1001 93 Jul 10 21:59 tests
# ./configure --help | grep spec
To assign environment variables (e.g., CC, CFLAGS...), specify them as
Defaults for the options are specified in brackets.
--help=short display options specific to this package
`/usr/local/bin', `/usr/local/lib' etc. You can specify
--with-odbc with specific ODBC support
compiler's sysroot if not specified).
#
Please guide me.
Thanks in Advance.
Best Regards,
Kaushal
Thanks Quanah and Ulrich for the quick email response. Much appreciated for guiding me. Thanks once again.Best Regards,Kaushal